Critical severity · published May 27, 2023
CVE-2015-20108
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
9.8
CVSS
1.3%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.3% · higher than 71% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
RU
Ruby-saml · Onelogin
before 1.0.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2015-20108
CVE.org
https://www.cve.org/CVERecord?id=CVE-2015-20108
Patch
https://github.com/SAML-Toolkits/ruby-saml/commit/9853651b96b99653ea8627d757d46bfe62ab6448
Patch
https://github.com/SAML-Toolkits/ruby-saml/compare/v0.9.2...v1.0.0
Issue Tracking
https://github.com/SAML-Toolkits/ruby-saml/pull/225
Third Party Advisory
https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ruby-saml/OSVDB-124991.yml
security.netapp.com
https://security.netapp.com/advisory/ntap-20230703-0003/
More from Ruby-saml
9.8
CVE-2025-25292
ruby-saml provides security assertion markup language (SAML) single sign-on (SSO) for Ruby
9.8
CVE-2025-25291
ruby-saml provides security assertion markup language (SAML) single sign-on (SSO) for Ruby
9.8
CVE-2024-45409
The Ruby SAML library vulnerable to a SAML authentication bypass via Incorrect XPath selector
9.8
CVE-2017-11428
OneLogin Ruby-SAML 1.6.0 and earlier may incorrectly utilize the results of XML DOM traversal and canonicalization APIs in such a way that an attacker may be able to manipulate…
9.1
CVE-2025-66568
The ruby-saml library implements the client side of an SAML authorization
