Ubuntu Security Notice
USN-7409-1
ruby-saml vulnerabilities
Details
It was discovered that ruby-saml did not correctly handle XML parsing. An attacker could possibly use this issue to perform a signature wrapping attack and bypass authentication. (CVE-2025-25291 and CVE-2025-25292)
It was discovered that ruby-saml did not correctly handle decompressing SAML responses. An attacker could possibly use this issue to cause a denial of service. (CVE-2025-25293)
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:16.04:LTS | ruby-saml | All versions before 1.1.2-1ubuntu1+esm2 (fixed in 1.1.2-1ubuntu1+esm2) |
| Ubuntu:Pro:18.04:LTS | ruby-saml | All versions before 1.7.2-1ubuntu0.1~esm2 (fixed in 1.7.2-1ubuntu0.1~esm2) |
| Ubuntu:Pro:20.04:LTS | ruby-saml | All versions before 1.11.0-1ubuntu0.1+esm1 (fixed in 1.11.0-1ubuntu0.1+esm1) |
| Ubuntu:Pro:22.04:LTS | ruby-saml | All versions before 1.13.0-1ubuntu0.1+esm1 (fixed in 1.13.0-1ubuntu0.1+esm1) |
| Ubuntu:Pro:24.04:LTS | ruby-saml | All versions before 1.15.0-1ubuntu0.24.04.1+esm1 (fixed in 1.15.0-1ubuntu0.24.04.1+esm1) |