Improper Verification of Cryptographic Signature in gosaml2 - CVE-2020-15216

 

Improper Verification of Cryptographic Signature in gosaml2 - CVE-2020-15216

Published: September 29, 2020 / Updated: April 28, 2026


Vulnerability identifier: #VU128388
CSH Severity: High
CVSS v4: 8.8 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-15216
CWE-ID: CWE-347
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to bypass authentication.

The vulnerability exists due to improper signature verification in SAML response validation when processing a valid signed SAML response. A remote attacker can modify the document to bypass authentication.

An expired signed SAML response may be sufficient for exploitation.


Affected software

gosaml2
Fedora
golang-github-russellhaering-goxmldsig

How to mitigate CVE-2020-15216

Install security update from vendor's website.

gosaml2 - update to 0.5.0
golang-github-russellhaering-goxmldsig - addressed in versions 1.1.0-1.fc32, 1.1.0-1.fc33

External References

Related Security Bulletins