{"id":"GHSA-prjq-f4q3-fvfr","summary":"github.com/russellhaering/gosaml2 is vulnerable to NULL Pointer Dereference","details":"### 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.","aliases":["CVE-2020-7711","CVE-2020-7731","GHSA-gq5r-cc4w-g8xf","GHSA-mqqv-chpx-vq25","GO-2020-0046","SNYK-GOLANG-GITHUBCOMRUSSELLHAERINGGOSAML2-608302"],"modified":"2026-07-08T06:49:53.037130195Z","published":"2022-11-15T19:05:07Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2022-11-15T19:05:07Z","nvd_published_at":null,"cwe_ids":["CWE-476"]},"references":[{"type":"WEB","url":"https://github.com/russellhaering/gosaml2/security/advisories/GHSA-prjq-f4q3-fvfr"},{"type":"WEB","url":"https://github.com/russellhaering/gosaml2/issues/59"},{"type":"WEB","url":"https://github.com/russellhaering/goxmldsig/issues/48"},{"type":"WEB","url":"https://github.com/russellhaering/gosaml2/pull/90"},{"type":"WEB","url":"https://github.com/russellhaering/gosaml2/commit/66e3b7affd622b8b24ea1e18845f045e46b23424"},{"type":"PACKAGE","url":"https://github.com/russellhaering/gosaml2"},{"type":"WEB","url":"https://github.com/russellhaering/gosaml2/releases/tag/v0.7.0"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMRUSSELLHAERINGGOSAML2-608302"}],"affected":[{"package":{"name":"github.com/russellhaering/gosaml2","ecosystem":"Go","purl":"pkg:golang/github.com/russellhaering/gosaml2"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.7.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/11/GHSA-prjq-f4q3-fvfr/GHSA-prjq-f4q3-fvfr.json"}},{"package":{"name":"github.com/russellhaering/goxmldsig","ecosystem":"Go","purl":"pkg:golang/github.com/russellhaering/goxmldsig"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.1.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/11/GHSA-prjq-f4q3-fvfr/GHSA-prjq-f4q3-fvfr.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}