CVE-2015-20108
Ruby vulnerability analysis and mitigation

Overview

CVE-2015-20108 affects the xml_security.rb component in the ruby-saml gem versions prior to 1.0.0. The vulnerability was discovered in 2015 and allows XPath injection and code execution due to the lack of prepared statements (GitHub Commit, NVD).

Technical details

The vulnerability has been assigned a CVSS v3.1 base score of 9.8 (CRITICAL) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. The issue stems from improper neutralization of special elements used in a command, classified as CWE-77. The vulnerability specifically affects the handling of XML documents where prepared statements are not used in XPath queries (NVD, NetApp Advisory).

Impact

Successful exploitation of this vulnerability could lead to disclosure of sensitive information, addition or modification of data, or Denial of Service (DoS). The critical CVSS score indicates that the vulnerability can result in complete compromise of system confidentiality, integrity, and availability (NetApp Advisory).

Exploitability

The vulnerability is remotely exploitable and requires no privileges or user interaction. The attack complexity is low, making it relatively straightforward to exploit. Public discussion of this vulnerability has been acknowledged by security researchers (NetApp Advisory).

Mitigation and workarounds

The vulnerability was fixed in ruby-saml version 1.0.0. Users should upgrade to this version or later to address the security issue. The fix involves proper handling of XPath queries using prepared statements (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related Ruby vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-71847HIGH8.7
  • Ruby logoRuby
  • ruby3.4-json
NoYesAug 07, 2026
CVE-2026-45414HIGH8.5
  • Ruby logoRuby
  • decidim
NoYesAug 06, 2026
CVE-2026-45573MEDIUM6.4
  • Ruby logoRuby
  • decidim-core
NoYesAug 06, 2026
CVE-2026-45415MEDIUM6
  • Ruby logoRuby
  • decidim-verifications
NoYesAug 06, 2026
CVE-2026-45572MEDIUM4.8
  • Ruby logoRuby
  • decidim-core
NoYesAug 06, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management