# GHSA-5684-g483-2249: Signature Validation Bypass

- Severity: Critical (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2021-05-24T16:59:47.000Z
- Modified: 2021-10-05T17:07:09.000Z
- Weaknesses: CWE-347

## Description

### Impact
Given a valid SAML Response, an attacker can potentially modify the document, bypassing signature validation in order to pass off the altered document as a signed one.

This enables a variety of attacks, including users accessing accounts other than the one to which they authenticated in the identity provider, or full authentication bypass if an external attacker can obtain an expired, signed SAML Response.

### Patches
A patch is available, users of gosaml2 should upgrade to v0.5.0 or higher.

### References
See the [underlying advisory on goxmldsig](https://github.com/russellhaering/goxmldsig/security/advisories/GHSA-q547-gmf8-8jr7) for more details.

(As written by GitHub Advisory Database.)

## Affected

- github.com/russellhaering/gosaml2 (Go): before 0.5.0

## References

- <https://github.com/russellhaering/gosaml2/security/advisories/GHSA-5684-g483-2249> (web)
- <https://github.com/russellhaering/gosaml2> (package)

## Sources

- GitHub Advisory Database: [GHSA-5684-g483-2249](https://github.com/advisories/GHSA-5684-g483-2249), CC-BY-4.0, modified 2021-10-05

---

Page: https://cve.day/GHSA-5684-g483-2249 · Whole record: https://cve.day/GHSA-5684-g483-2249.json · Rebuilt by cve.day 2026-11-25T22:56:20.491Z
