CVE-2015-20108 json
ruby-saml vulnerable to XPath injection
published 2023-05-27 3 y ago modified 2026-06-17 4 mo ago also GHSA-r364-2pj4-pf7f , EUVD-2023-1617
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 71%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- rubygems ruby-saml 1.0.0
- onelogin ruby-saml 1.0.0
- ruby-saml Debian 12 1.0.0-1
debian advisories DEBIAN-CVE-2015-20108
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 21 mo ago
Exploit prediction
1.33% chance of exploitation in the next 30 days, higher than 71% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | ruby-saml | <1.0.0 |
1.0.0 |
Classification
- Weakness
-
- CWE-77 Improper Neutralization of Special Elements used in a Command
References
-
github.com
/SAML-Toolkits/ruby-saml/pull/225
web, issue-tracking
-
github.com
/SAML-Toolkits/ruby-saml/commit/9853651b96b99653ea8627d757d46bfe62ab6448
web, patch
-
github.com
/SAML-Toolkits/ruby-saml/compare/v0.9.2...v1.0.0
web, patch
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/ruby-saml/OSVDB-124991.yml
web, third-party-advisory
- security.netapp.com /advisory/ntap-20230703-0003/
-
nvd.nist.gov
/vuln/detail/CVE-2015-20108
advisory
-
github.com
/SAML-Toolkits/ruby-saml
package
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/ruby-saml/CVE-2015-20108.yml
web
-
security.netapp.com
/advisory/ntap-20230703-0003
web
-
security.snyk.io
/vuln/SNYK-RUBY-RUBYSAML-20217
web
Sources
- CVE List CVE-2015-20108
- GitHub Advisory GHSA-r364-2pj4-pf7f
- NVD CVE-2015-20108
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.