{"id":"GHSA-prjq-f4q3-fvfr","revision":"6f2e12c700da4494805875163295eeaf","records":[{"revision":"6f2e12c700da4494805875163295eeaf","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-prjq-f4q3-fvfr","aliases":["CVE-2020-7711","CVE-2020-7731","GHSA-gq5r-cc4w-g8xf","GHSA-mqqv-chpx-vq25","GO-2020-0046","SNYK-GOLANG-GITHUBCOMRUSSELLHAERINGGOSAML2-608302"],"title":"github.com/russellhaering/gosaml2 is vulnerable to NULL Pointer Dereference","description":"### Impact\nIn 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.\n\n### Patches\nThe issue was patched in v0.7.0, released on March 2, 2022.\n\n### Workarounds\nCallers to `gosaml2` can use `recover()` to handle panics to mitigate a potential DoS.\n\n### References\nSee issue [#59](https://github.com/russellhaering/gosaml2/issues/59) for details.","state":0,"publishedAt":"2022-11-15T19:05:07+00:00","modifiedAt":"2026-07-08T06:49:53.0371302+00:00","affected":[{"ecosystem":"Go","name":"github.com/russellhaering/gosaml2","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.7.0"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/russellhaering/goxmldsig","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.1.1"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/russellhaering/gosaml2/security/advisories/GHSA-prjq-f4q3-fvfr","https://github.com/russellhaering/gosaml2/issues/59","https://github.com/russellhaering/goxmldsig/issues/48","https://github.com/russellhaering/gosaml2/pull/90","https://github.com/russellhaering/gosaml2/commit/66e3b7affd622b8b24ea1e18845f045e46b23424","https://github.com/russellhaering/gosaml2","https://github.com/russellhaering/gosaml2/releases/tag/v0.7.0","https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMRUSSELLHAERINGGOSAML2-608302"],"sourceUrl":"https://github.com/advisories/GHSA-prjq-f4q3-fvfr","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-prjq-f4q3-fvfr","identifiers":["GHSA-prjq-f4q3-fvfr","CVE-2020-7711","CVE-2020-7731","GHSA-gq5r-cc4w-g8xf","GHSA-mqqv-chpx-vq25","GO-2020-0046","SNYK-GOLANG-GITHUBCOMRUSSELLHAERINGGOSAML2-608302"]},"retained":false,"historicalAffected":[]}],"coverage":[]}