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](https://github.com/russellhaering/gosaml2/issues/59) for details.
beschreibt (2)
Zugehörige CVEs.
| ID | Schweregrad | ausnutzbar | ||
|---|---|---|---|---|
| CVE-2020-7731US | high7.5 | — | ||
This affects all versions <0.7.0 of package github.com/russellhaering/gosaml2. There is a crash on nil-pointer dereference caused by sending malformed XML signatures. | ||||
| CVE-2020-7711US | high7.5 | — | ||
This affects all versions of package github.com/russellhaering/goxmldsig. There is a crash on nil-pointer dereference caused by sending malformed XML signatures. | ||||
Referenzen
Externe Belege — Patches, Meldungen, Analysen.
- https://github.com/russellhaering/gosaml2PACKAGE
- https://github.com/russellhaering/gosaml2/commit/66e3b7affd622b8b24ea1e18845f045e46b23424WEB
- https://github.com/russellhaering/gosaml2/issues/59WEB
- https://github.com/russellhaering/gosaml2/pull/90WEB
- https://github.com/russellhaering/gosaml2/releases/tag/v0.7.0WEB
- https://github.com/russellhaering/gosaml2/security/advisories/GHSA-prjq-f4q3-fvfrWEB
- https://github.com/russellhaering/goxmldsig/issues/48WEB
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMRUSSELLHAERINGGOSAML2-608302WEB
Advisories wie diese benennen die exponierten Produkte, die Angreifer auf Ihrer Angriffsfläche ins Visier nehmen. Sehen Sie mit einem kostenlosen Passiv-Scan, was exponiert ist.
Kostenloser Scan