{"id":"UBUNTU-CVE-2015-20108","details":"xml_security.rb in the ruby-saml gem before 1.0.0 for Ruby allows XPath injection and code execution because prepared statements are not used.","modified":"2025-07-16T07:32:42.771243Z","published":"2023-05-27T19:15:00Z","withdrawn":"2025-07-18T16:43:21Z","upstream":["CVE-2015-20108"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2015-20108"},{"type":"REPORT","url":"https://github.com/SAML-Toolkits/ruby-saml/commit/9853651b96b99653ea8627d757d46bfe62ab6448"},{"type":"REPORT","url":"https://github.com/SAML-Toolkits/ruby-saml/pull/225"},{"type":"REPORT","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ruby-saml/OSVDB-124991.yml"},{"type":"REPORT","url":"https://github.com/SAML-Toolkits/ruby-saml/compare/v0.9.2...v1.0.0"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2015-20108"}],"affected":[{"package":{"name":"ruby-saml","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/ruby-saml@1.7.2-1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.2-1"}]}],"versions":["1.4.1-1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"ruby-saml","binary_version":"1.7.2-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2015/UBUNTU-CVE-2015-20108.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}