VDB
Sign up
CRITICAL

GHSA-5684-g483-2249

Signature Validation Bypass

Quick fix

GHSA-5684-g483-2249 — github.com/russellhaering/gosaml2: upgrade to the fixed version with the command below.

go get github.com/russellhaering/gosaml2@v0.5.0

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](https://github.com/russellhaering/goxmldsig/security/advisories/GHSA-q547-gmf8-8jr7) for more details.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/russellhaering/gosaml2
Introduced in: 0Fixed in: 0.5.0
Fixgo get github.com/russellhaering/gosaml2@v0.5.0

References