Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.8
CVE-2015-20108: Ruby-SAML XML Parsing Allows Malicious Code Execution
CVE-2015-20108 · published 3 years ago
Summary
A security issue in the Ruby-SAML library can allow attackers to inject malicious code and execute it, potentially leading to data theft or system compromise. This vulnerability affects Ruby applications using the ruby-saml gem before version 1.0.0. Update to the latest version to fix this issue.
What to do
- Update saml toolkit ruby-saml to version 1.0.0.
- Update onelogin ruby-saml to version 1.0.0 or later.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| rubygems | saml toolkit | ruby-saml |
< 1.0.0 Fix: upgrade to 1.0.0
|
| – | onelogin | ruby-saml |
< 1.0.0 cpe:2.3:a:onelogin:ruby-saml:*:*:*:*:*:*:*:* |
Original advisory text
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.
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.
References
- https://security.netapp.com/advisory/ntap-20230703-0003/
- https://nvd.nist.gov/vuln/detail/CVE-2015-20108
- https://github.com/SAML-Toolkits/ruby-saml/pull/225
- https://github.com/SAML-Toolkits/ruby-saml/commit/9853651b96b99653ea8627d757d46b...
- https://github.com/SAML-Toolkits/ruby-saml/compare/v0.9.2...v1.0.0
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ruby-saml/OSVDB-124...
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ruby-saml/CVE-2015-...
- https://security.snyk.io/vuln/SNYK-RUBY-RUBYSAML-20217
- https://security.netapp.com/advisory/ntap-20230703-0003
- https://github.com/advisories/GHSA-r364-2pj4-pf7f
Internet-facing
3 days
Internal
60 days
- Not known to be exploited
- Can be exploited automatically
- Gives an attacker full control
Type
CWE-77Command Injection
Timeline
Published27 May 2023
Updated4 Nov 2026
First seen6 Mar 2026
Track software like this
Free during beta