CVE-2015-20108
CRITICAL 9.8CVSS 3.1ruby-saml vulnerable to XPath injection
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.
- Published
- 27 May 2023
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-77
- Also known as
- GHSA-r364-2pj4-pf7f
- Sources
- NVDJSONOSV GHSA-r364-2pj4-pf7fJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | onelogin | ruby-samlcpe:2.3:a:onelogin:ruby-saml:*:*:*:*:*:*:*:* |
< 1.0.0 | 1.0.0 |
| OSV | RubyGems | ruby-saml | < 1.0.0 | 1.0.0 |
References
- https://github.com/SAML-Toolkits/ruby-saml/commit/9853651b96b99653ea8627d757d46bfe62ab6448 · Patch, WEB
- https://github.com/SAML-Toolkits/ruby-saml/compare/v0.9.2...v1.0.0 · Patch, WEB
- https://github.com/SAML-Toolkits/ruby-saml/pull/225 · Issue Tracking, WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ruby-saml/OSVDB-124991.yml · Third Party Advisory, WEB
- https://security.netapp.com/advisory/ntap-20230703-0003/ · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2015-20108 · ADVISORY
- https://github.com/SAML-Toolkits/ruby-saml · PACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ruby-saml/CVE-2015-20108.yml · WEB
- https://security.snyk.io/vuln/SNYK-RUBY-RUBYSAML-20217 · WEB
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 27 May 2023)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 27 May 2023)