github.com/russellhaering/gosaml2
Affected
- introduced
0, fixed0.6.0(semver)
Fixed versions
0.6.0
Fix
- Fixed version
0.6.0go get github.com/russellhaering/[email protected]
Advisory
Also known as: BIT-golang-2020-29509, CVE-2020-29509, GO-2021-0060
Authentication Bypass in github.com/russellhaering/gosaml2
Impact
Given a valid SAML Response, it may be possible for an attacker to mutate the XML document in such a way that gosaml2 will trust a different portion of the document than was signed.
Depending on the implementation of the Service Provider 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.
Patches
Service Providers utilizing gosaml2 should upgrade to v0.6.0 or greater.
Critical Basis: The source's own band: CRITICAL
0, fixed 0.6.0 (semver)0.6.0
0.6.0go get github.com/russellhaering/[email protected]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
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0