Vulnerabilities / CVE-2025-25291

critical

CVE-2025-25291

ruby-saml provides security assertion markup language (SAML) single si ...

Published Modified CWE 347, 436
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GHSA9.3CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Bitnami9.3CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Trivy's own label is CRITICAL. Rated critical by NVD, GHSA, Bitnami, Ruby Advisory DB. Rated lower by Ubuntu (medium).

Description

ruby-saml provides security assertion markup language (SAML) single sign-on (SSO) for Ruby. An authentication bypass vulnerability was found in ruby-saml prior to versions 1.12.4 and 1.18.0 due to a parser differential. ReXML and Nokogiri parse XML differently; the parsers can generate entirely different document structures from the same XML input. That allows an attacker to be able to execute a Signature Wrapping attack. This issue may lead to authentication bypass. Versions 1.12.4 and 1.18.0 fix the issue.

Affected packages and fixed versions

SourcePackageFixed in
bitnami::Bitnami Vulnerability Databasegitlab17.9.2
rubygems::GitHub Security Advisory RubyGemsruby-saml1.12.4, 1.18.0
rubygems::Ruby Advisory Databaseruby-saml~> 1.12.4, >= 1.18.0
debian 11ruby-saml1.11.0-1+deb11u2
debian 12ruby-samlno fix listed
echoruby-samlno fix listed
rapidfort debian 12ruby-saml0:1.17.0-1
rapidfort debian 13ruby-saml0:1.17.0-1
rapidfort ubuntu 20.04ruby-saml0:1.15.0-1ubuntu0.24.10.2
rapidfort ubuntu 22.04ruby-saml0:1.15.0-1ubuntu0.24.10.2
rapidfort ubuntu 24.04ruby-saml0:1.15.0-1ubuntu0.24.10.2
ubuntu 18.04-ESMruby-saml1.7.2-1ubuntu0.1~esm2
Show all 16 entries from 16 sources
SourcePackageFixed in
bitnami::Bitnami Vulnerability Databasegitlab17.9.2
rubygems::GitHub Security Advisory RubyGemsruby-saml1.12.4, 1.18.0
rubygems::Ruby Advisory Databaseruby-saml~> 1.12.4, >= 1.18.0
debian 11ruby-saml1.11.0-1+deb11u2
debian 12ruby-samlno fix listed
echoruby-samlno fix listed
rapidfort debian 12ruby-saml0:1.17.0-1
rapidfort debian 13ruby-saml0:1.17.0-1
rapidfort ubuntu 20.04ruby-saml0:1.15.0-1ubuntu0.24.10.2
rapidfort ubuntu 22.04ruby-saml0:1.15.0-1ubuntu0.24.10.2
rapidfort ubuntu 24.04ruby-saml0:1.15.0-1ubuntu0.24.10.2
ubuntu 18.04-ESMruby-saml1.7.2-1ubuntu0.1~esm2
ubuntu 20.04-ESMruby-saml1.11.0-1ubuntu0.1+esm1
ubuntu 22.04ruby-samlno fix listed
ubuntu 24.04ruby-samlno fix listed
ubuntu 24.10ruby-saml1.15.0-1ubuntu0.24.10.2

References

All 20 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.