{"id":"GO-2020-0046","summary":"Panic due to malformed XML digital signature in github.com/russellhaering/goxmldsig","details":"Due to a nil pointer dereference, a malformed XML Digital Signature can cause a panic during validation. If user supplied signatures are being validated, this may be used as a denial of service vector.","aliases":["CVE-2020-7711","CVE-2020-7731","GHSA-gq5r-cc4w-g8xf","GHSA-mqqv-chpx-vq25","GHSA-prjq-f4q3-fvfr","SNYK-GOLANG-GITHUBCOMRUSSELLHAERINGGOSAML2-608302"],"modified":"2026-07-08T06:49:53.037130195Z","published":"2021-04-14T20:04:52Z","database_specific":{"review_status":"REVIEWED","url":"https://pkg.go.dev/vuln/GO-2020-0046"},"references":[{"type":"WEB","url":"https://github.com/russellhaering/goxmldsig/issues/48"},{"type":"WEB","url":"https://github.com/russellhaering/gosaml2/issues/59"}],"affected":[{"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"}]}],"ecosystem_specific":{"imports":[{"path":"github.com/russellhaering/goxmldsig","symbols":["ValidationContext.Validate","ValidationContext.validateSignature"]}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2020-0046.json"}},{"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"}]}],"ecosystem_specific":{"imports":[{"symbols":["SAMLServiceProvider.RetrieveAssertionInfo","SAMLServiceProvider.ValidateEncodedLogoutRequestPOST","SAMLServiceProvider.ValidateEncodedLogoutResponsePOST","SAMLServiceProvider.ValidateEncodedResponse","SAMLServiceProvider.validateAssertionSignatures"],"path":"github.com/russellhaering/gosaml2"}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2020-0046.json"}}],"schema_version":"1.7.5","credits":[{"name":"@stevenjohnstone"}]}