{"schemaVersion":3,"id":"CVE-2015-20108","aliases":["UBUNTU-CVE-2015-20108","DEBIAN-CVE-2015-20108","GHSA-r364-2pj4-pf7f"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2023-05-27T00:00:00.000Z","modified":"2025-01-14T18:39:03.440Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Rubygems","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true}]},"epss":{"probability":0.01332,"percentile":0.7067,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01332},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01332,"percentile":0.7067}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01332,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01332,"percentile":0.7067}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command ('Command Injection')","description":"The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/77.html"}],"affected":[{"vendor":"debian","product":"ruby-saml","name":"ruby-saml","label":"ruby-saml","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/ruby-saml","purlType":"deb","versions":[{"text":"< 1.0.0-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.0.0-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"ruby-saml","name":"ruby-saml","label":"ruby-saml","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/ruby-saml","purlType":"deb","versions":[{"text":"< 1.7.2-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.7.2-1","eol":null,"hubHref":null},{"vendor":"RubyGems","product":"ruby-saml","name":"ruby-saml","label":"ruby-saml","ecosystem":"RubyGems","cpePart":null,"purl":"pkg:gem/ruby-saml","purlType":"gem","versions":[{"text":"< 1.0.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.0.0","eol":null,"hubHref":null},{"vendor":"onelogin","product":"ruby-saml","name":"ruby-saml","label":"ruby-saml","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.0.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.0.0","eol":null,"hubHref":"/vendor/onelogin/ruby-saml"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/SAML-Toolkits/ruby-saml/pull/225","label":"github.com/SAML-Toolkits/ruby-saml/pull/225","hostname":"github.com","tags":["Issue Tracking","REPORT","WEB"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ruby-saml/OSVDB-124991.yml","label":"github.com/rubysec/ruby-advisory-db/blob/master/gems/ruby-saml/OSVDB-124991.yml","hostname":"github.com","tags":["Third Party Advisory","REPORT","WEB"]},{"url":"https://github.com/SAML-Toolkits/ruby-saml/compare/v0.9.2...v1.0.0","label":"github.com/SAML-Toolkits/ruby-saml/compare/v0.9.2...v1.0.0","hostname":"github.com","tags":["Patch","REPORT","WEB"]},{"url":"https://github.com/SAML-Toolkits/ruby-saml/commit/9853651b96b99653ea8627d757d46bfe62ab6448","label":"github.com/SAML-Toolkits/ruby-saml/commit/9853651b96b99653ea8627d757d46bfe62ab6448","hostname":"github.com","tags":["Patch","REPORT","WEB"]},{"url":"https://security.netapp.com/advisory/ntap-20230703-0003/","label":"security.netapp.com/advisory/ntap-20230703-0003/","hostname":"security.netapp.com","tags":[]},{"url":"https://ubuntu.com/security/CVE-2015-20108","label":"ubuntu.com/security/CVE-2015-20108","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2015-20108","label":"www.cve.org/CVERecord?id=CVE-2015-20108","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2015-20108","label":"security-tracker.debian.org/tracker/CVE-2015-20108","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2015-20108","label":"nvd.nist.gov/vuln/detail/CVE-2015-20108","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/SAML-Toolkits/ruby-saml","label":"github.com/SAML-Toolkits/ruby-saml","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ruby-saml/CVE-2015-20108.yml","label":"github.com/rubysec/ruby-advisory-db/blob/master/gems/ruby-saml/CVE-2015-20108.yml","hostname":"github.com","tags":["WEB"]},{"url":"https://security.netapp.com/advisory/ntap-20230703-0003","label":"security.netapp.com/advisory/ntap-20230703-0003","hostname":"security.netapp.com","tags":["WEB"]},{"url":"https://security.snyk.io/vuln/SNYK-RUBY-RUBYSAML-20217","label":"security.snyk.io/vuln/SNYK-RUBY-RUBYSAML-20217","hostname":"security.snyk.io","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2023-05-27T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-01-14T18:39:03.440Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T08:23:01.127Z","stale":false,"partial":false}}