github.com/russellhaering/gosaml2
Affected
- introduced
0, fixed0.7.0(semver)
Fixed versions
0.7.0
Fix
- Fixed version
0.7.0go get github.com/russellhaering/[email protected]
Advisory
Also known as: CVE-2020-7711, CVE-2020-7731, GHSA-gq5r-cc4w-g8xf, GHSA-mqqv-chpx-vq25, GO-2020-0046, SNYK-GOLANG-GITHUBCOMRUSSELLHAERINGGOSAML2-608302
github.com/russellhaering/gosaml2 is vulnerable to NULL Pointer Dereference
Impact
In versions prior to v0.7.0 it was possible for an attacker to supply an invalid assertion which would trigger a panic due to a nil-pointer dereference.
Patches
The issue was patched in v0.7.0, released on March 2, 2022.
Workarounds
Callers to gosaml2 can use recover() to handle panics to mitigate a potential DoS.
References
See issue #59 for details.
High Basis: The source's own band: HIGH
0, fixed 0.7.0 (semver)0.7.0
0.7.0go get github.com/russellhaering/[email protected]0, fixed 1.1.1 (semver)1.1.1
1.1.1go 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