UBUNTU-CVE-2025-54572

Source
https://ubuntu.com/security/CVE-2025-54572
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-54572.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2025-54572
Upstream
Published
2025-07-31T00:00:00Z
Modified
2025-08-01T07:03:20.393291Z
Severity
  • 6.9 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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 messagemaxbytesize 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.

References

Affected packages

Ubuntu:Pro:16.04:LTS / ruby-saml

Package

Name
ruby-saml
Purl
pkg:deb/ubuntu/ruby-saml@1.1.2-1ubuntu1+esm2?arch=source&distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.9.2-1

1.*

1.0.0-1
1.1.2-1ubuntu1
1.1.2-1ubuntu1+esm1
1.1.2-1ubuntu1+esm2

Ubuntu:Pro:18.04:LTS / ruby-saml

Package

Name
ruby-saml
Purl
pkg:deb/ubuntu/ruby-saml@1.7.2-1ubuntu0.1~esm2?arch=source&distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.4.1-1
1.7.2-1
1.7.2-1ubuntu0.1~esm1
1.7.2-1ubuntu0.1~esm2

Ubuntu:Pro:20.04:LTS / ruby-saml

Package

Name
ruby-saml
Purl
pkg:deb/ubuntu/ruby-saml@1.11.0-1ubuntu0.1+esm1?arch=source&distro=esm-apps/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.7.2-1
1.11.0-1
1.11.0-1ubuntu0.1
1.11.0-1ubuntu0.1+esm1

Ubuntu:22.04:LTS / ruby-saml

Package

Name
ruby-saml
Purl
pkg:deb/ubuntu/ruby-saml@1.13.0-1ubuntu0.1?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.11.0-1
1.13.0-1
1.13.0-1ubuntu0.1

Ubuntu:24.04:LTS / ruby-saml

Package

Name
ruby-saml
Purl
pkg:deb/ubuntu/ruby-saml@1.15.0-1ubuntu0.24.04.1?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.15.0-1
1.15.0-1ubuntu0.24.04.1

Ubuntu:25.04 / ruby-saml

Package

Name
ruby-saml
Purl
pkg:deb/ubuntu/ruby-saml@1.17.0-1?arch=source&distro=plucky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.15.0-1
1.17.0-1