{"id":"GO-2021-0060","summary":"Authentication bypass in github.com/russellhaering/gosaml2","details":"Due to the behavior of encoding/xml, a crafted XML document may cause XML Digital Signature validation to be entirely bypassed, causing an unsigned document to appear signed.","aliases":["BIT-golang-2020-29509","CVE-2020-29509","GHSA-xhqq-x44f-9fgg"],"modified":"2026-02-04T04:13:59.892554Z","published":"2021-04-14T20:04:52Z","related":["CGA-46wr-83r4-2h45"],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2021-0060","review_status":"REVIEWED"},"references":[{"type":"FIX","url":"https://github.com/russellhaering/gosaml2/commit/42606dafba60c58c458f14f75c4c230459672ab9"}],"affected":[{"package":{"name":"github.com/russellhaering/gosaml2","ecosystem":"Go","purl":"pkg:golang/github.com/russellhaering/gosaml2"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.6.0"}]}],"ecosystem_specific":{"imports":[{"path":"github.com/russellhaering/gosaml2","symbols":["SAMLServiceProvider.RetrieveAssertionInfo","SAMLServiceProvider.ValidateEncodedLogoutRequestPOST","SAMLServiceProvider.ValidateEncodedLogoutResponsePOST","SAMLServiceProvider.ValidateEncodedResponse","parseResponse"]}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2021-0060.json"}}],"schema_version":"1.7.3","credits":[{"name":"Juho Nurminen"}]}