Security Digest · Vulnerability record

CVE-2024-45409: SAML authentication bypass via Incorrect XPath selector

The Ruby SAML library is for implementing the client side of a SAML authorization.

CVSS 9.9 Critical EPSS 10.7% · p96

Should you act?

High exploit likelihood

EPSS ranks it in the top 5% of all CVEs for likely exploitation in the next 30 days. This signal is computed from CISA KEV, EPSS and CVSS data; it is not an editorial verdict.

  • Not in CISA KEV, but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
  • EPSS 10.7%, percentile 96: FIRST’s model estimates a 10.7% chance of exploitation activity in the next 30 days, higher than 96% of all scored CVEs (very high). EPSS is a probability, not a verdict.
  • Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
  • Only applies if your dependency tree includes ruby-saml (RubyGems) < 1.12.3, fixed in 1.12.3; ruby-saml (RubyGems) >= 1.13.0, < 1.17.0, fixed in 1.17.0. Check your lockfile, including transitive dependencies.

What it is

The Ruby SAML library is for implementing the client side of a SAML authorization. Ruby-SAML in

From the GitHub advisory

Ruby-SAML in

This vulnerability was reported by ahacker1 of SecureSAML (ahacker1@securesaml.com)

Weakness type: CWE-347.

Product: ruby-saml (RubyGems) · Assigned by: GitHub_M · Published: 2024-09-10

Affected and fixed versions

EcosystemPackageVulnerableFirst fixed
RubyGemsruby-saml< 1.12.31.12.3
RubyGemsruby-saml>= 1.13.0, < 1.17.01.17.0
VendorProductAffected versions (per CVE record)
SAML-Toolkitsruby-saml< 1.12.3, >= 1.13.0, < 1.17.0

Severity scores

Scored byCVSSScoreVector
GitHub_M3.110 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
GitHub4.09.9 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N
  • Attack vector: network (remotely reachable)
  • Attack complexity: low
  • Attack requirements: none
  • Privileges required: none (no login)
  • User interaction: none

CVSS measures how bad a flaw is if exploited, not how likely exploitation is. Read it next to the exploitation data below.

Exploitation and urgency

  • CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
  • CISA SSVC assessment: exploitation poc, automatable yes, technical impact total.
  • FIRST EPSS (model of 2026-10-21): 10.68% probability of exploitation activity in the next 30 days; percentile 96.

Timeline

  • — CVE record published by GitHub_M
  • — GitHub-reviewed advisory GHSA-jw9c-mfg7-9rx2 published (critical)
  • — CVE record last updated

Sources and references

Original sources first. Version and fix details should always be confirmed against the vendor or project advisory.

Vulnerability records

  1. GitHub Advisory GHSA-jw9c-mfg7-9rx2 github.com
  2. CVE.org record CVE-2024-45409 cve.org
  3. NVD entry CVE-2024-45409 nvd.nist.gov

Other references from the CVE record and advisory

  1. github.com github.com
  2. github.com github.com
  3. github.com github.com
  4. github.com github.com
  5. ssoready.com ssoready.com
  6. news.ycombinator.com news.ycombinator.com
  7. security.netapp.com security.netapp.com
  8. lists.debian.org lists.debian.org
  9. github.com github.com
  10. github.com github.com
  11. github.com github.com
  12. github.com github.com

Critical RubyGems advisories · Today’s Security Digest