Advisory

GHSA-5684-g483-2249

Also known as: None

Summary

Signature Validation Bypass

Details

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 for more details.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2021-05-24 16:59 UTC
Modified
2021-10-05 17:07 UTC

Affected packages and fixes

github.com/russellhaering/gosaml2

Go · All systems

Affected

  • introduced 0, fixed 0.5.0 (semver)

Fixed versions

0.5.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences