CVE-2015-20108
CRITICAL9.8EPSS 0.40%ruby-saml vulnerable to XPath injection
Published: 5/27/2023Modified: 4/28/2026
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.
Affected packages (2)
- Debian/ruby-samlfrom 0, < 1.0.0-1
- RubyGems/ruby-samlfrom 0, < 1.0.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
References (10)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2015-20108
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2015-20108
- PATCHhttps://github.com/SAML-Toolkits/ruby-saml
- WEBhttps://github.com/rubysec/ruby-advisory-db/blob/master/gems/ruby-saml/CVE-2015-20108.yml
- WEBhttps://github.com/rubysec/ruby-advisory-db/blob/master/gems/ruby-saml/OSVDB-124991.yml
- WEBhttps://github.com/SAML-Toolkits/ruby-saml/commit/9853651b96b99653ea8627d757d46bfe62ab6448
- WEBhttps://github.com/SAML-Toolkits/ruby-saml/compare/v0.9.2...v1.0.0
- WEBhttps://github.com/SAML-Toolkits/ruby-saml/pull/225
- WEBhttps://security.netapp.com/advisory/ntap-20230703-0003
- WEBhttps://security.snyk.io/vuln/SNYK-RUBY-RUBYSAML-20217