Name | CVE-2025-54572 |
Description | The Ruby SAML library is for implementing the client side of a SAML authorization. In versions 1.18.0 and below, a denial-of-service vulnerability exists in ruby-saml even with the message_max_bytesize setting configured. The vulnerability occurs because the SAML response is validated for Base64 format prior to checking the message size, leading to potential resource exhaustion. This is fixed in version 1.18.1. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-4288-1 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
ruby-saml (PTS) | bullseye | 1.11.0-1 | vulnerable |
bullseye (security) | 1.11.0-1+deb11u3 | fixed | |
bookworm, bookworm (security) | 1.13.0-1+deb12u1 | vulnerable |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
ruby-saml | source | bullseye | 1.11.0-1+deb11u3 | DLA-4288-1 | ||
ruby-saml | source | (unstable) | (unfixed) |
https://github.com/SAML-Toolkits/ruby-saml/security/advisories/GHSA-rrqh-93c8-j966
https://github.com/SAML-Toolkits/ruby-saml/pull/770
Fixed by: https://github.com/SAML-Toolkits/ruby-saml/commit/fd2f532862b6453069d69d07a541e668609c2bbc
This is a continuation/fix of CVE-2025-25293 that added the max_bytesize check too late:
https://github.com/SAML-Toolkits/ruby-saml/commit/533c84ebfc40f8cbac645b6c76ce4949f95d27d6 (v1.12.0)