VDB
CVE-2015-20108
CVE-2015-20108
PUBLISHED
CVSS 9.300000190734863 CRITICAL
ruby-saml vulnerable to XPath injection
Reported by mitre · Published May 27, 2023
ruby-saml is fixed in 1.0.0 (RubyGems)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| ruby-saml | RubyGems | 1.0.0 |
| ruby-saml | Ubuntu:18.04:LTS | 1.7.2-1 |
| ruby-saml | onelogin | 1.0.0 |
Risk scores
CVSS 4.0
9.300000190734863
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
| RubyGems | ruby-saml | 0 |
Timeline
- May 27, 2023 CVE Published
- May 28, 2023 EPSS Score (30 in total, the first dated here)
- Jan 14, 2025 CVE Updated
- Mar 17, 2026 Security Advisory
- Oct 15, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2015-20108
vulnetix vdb fixes CVE-2015-20108
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2015-20108/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://nvd.nist.gov/vuln/detail/CVE-2015-20108 advisory
- https://github.com/advisories/GHSA-r364-2pj4-pf7f advisory
- https://github.com/SAML-Toolkits/ruby-saml url
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ruby-saml/CVE-2015-20108.yml advisory
- https://security.netapp.com/advisory/ntap-20230703-0003 advisory
- https://security.snyk.io/vuln/SNYK-RUBY-RUBYSAML-20217 url