Improper Verification of Cryptographic Signature in OpenSAML - CVE-2025-31335

 

Improper Verification of Cryptographic Signature in OpenSAML - CVE-2025-31335

Published: April 28, 2025


Vulnerability identifier: #VU107998
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-31335
CWE-ID: CWE-347
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform spoofing attack.

The vulnerability exists due to improper validation of signed SAML messages. A remote attacker can manipulate SAML parameters and fool the library's signature verification of non-XML based signed messages.


Affected software

OpenSAML
SUSE Linux Enterprise Server 12 SP5 LTSS Extended
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
Server Applications Module
openSUSE Leap
libsaml8
opensaml-bin
libsaml8-debuginfo
libsaml-devel
opensaml-schemas
opensaml-debugsource
opensaml-bin-debuginfo
libsaml11
opensaml-debuginfo
libsaml11-debuginfo

How to mitigate CVE-2025-31335

Install updates from vendor's website.

OpenSAML - update to 3.3.1
libsaml8 - update to 2.5.5-3.6.1
opensaml-bin - addressed in versions 2.5.5-3.6.1, 3.1.0-150300.3.3.1
libsaml8-debuginfo - update to 2.5.5-3.6.1
libsaml-devel - addressed in versions 2.5.5-3.6.1, 3.1.0-150300.3.3.1
opensaml-schemas - addressed in versions 2.5.5-3.6.1, 3.1.0-150300.3.3.1
opensaml-debugsource - addressed in versions 2.5.5-3.6.1, 3.1.0-150300.3.3.1
opensaml-bin-debuginfo - addressed in versions 2.5.5-3.6.1, 3.1.0-150300.3.3.1
libsaml11 - update to 3.1.0-150300.3.3.1
opensaml-debuginfo - update to 3.1.0-150300.3.3.1
libsaml11-debuginfo - update to 3.1.0-150300.3.3.1

External References

Related Security Bulletins