CVE-2015-20108
xml_security.rb in the ruby-saml gem before 1.0.0 for Ruby allows XPat ...
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA, Ruby Advisory DB.
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 and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| rubygems::GitHub Security Advisory RubyGems | ruby-saml | 1.0.0 |
| rubygems::Ruby Advisory Database | ruby-saml | >= 1.0.0 |
| debian 11 | ruby-saml | 1.0.0-1 |
| debian 12 | ruby-saml | 1.0.0-1 |
| echo | ruby-saml | 1.0.0-1 |
References
- https://github.com/SAML-Toolkits/ruby-saml
- https://github.com/SAML-Toolkits/ruby-saml/commit/9853651b96b99653ea8627d757d46bfe62ab6448
- https://github.com/SAML-Toolkits/ruby-saml/compare/v0.9.2...v1.0.0
- https://github.com/SAML-Toolkits/ruby-saml/pull/225
- https://github.com/SAML-Toolkits/ruby-saml/releases/tag/v1.0.0
- https://github.com/advisories/GHSA-r364-2pj4-pf7f
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ruby-saml/CVE-2015-20108.yml
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ruby-saml/OSVDB-124991.yml