USN-7409-1: RubySAML vulnerabilities

Publication date

2 April 2025

Overview

Several security issues were fixed in ruby-saml.


Packages

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)

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)

Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
24.10 oracular ruby-saml –  1.15.0-1ubuntu0.24.10.2
24.04 noble ruby-saml –  1.15.0-1ubuntu0.24.04.1+esm1  
22.04 jammy ruby-saml –  1.13.0-1ubuntu0.1+esm1  
20.04 focal ruby-saml –  1.11.0-1ubuntu0.1+esm1  
18.04 bionic ruby-saml –  1.7.2-1ubuntu0.1~esm2  
16.04 xenial ruby-saml –  1.1.2-1ubuntu1+esm2  

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›