Summary
It was discovered that Ruby SAML validated the Base64 encoding of SAML
messages before checking their size. A remote attacker could possibly use
this issue to cause Ruby SAML to consume excessive resources, leading to a
denial of service.
Fixed packages 5
| Release | Package | Fixed in |
|---|---|---|
| Ubuntu · Pro 16.04 LTS Pro:16.04:LTS | ruby-saml | 1.1.2-1ubuntu1+esm3 |
| Ubuntu · Pro 18.04 LTS Pro:18.04:LTS | ruby-saml | 1.7.2-1ubuntu0.1~esm3 |
| Ubuntu · Pro 20.04 LTS Pro:20.04:LTS | ruby-saml | 1.11.0-1ubuntu0.1+esm2 |
| Ubuntu · Pro 22.04 LTS Pro:22.04:LTS | ruby-saml | 1.13.0-1ubuntu0.1+esm2 |
| Ubuntu · Pro 24.04 LTS Pro:24.04:LTS | ruby-saml | 1.15.0-1ubuntu0.24.04.1+esm2 |
Vulnerabilities 1
-
Medium 6.9
Ruby SAML DOS vulnerability with large SAML response
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 …
References
-
report
https://ubuntu.com/security/CVE-2025-54572