{"schema_version":"1.3.1","id":"GO-2021-0060","modified":"2024-05-20T16:03:47Z","published":"2021-04-14T20:04:52Z","aliases":["CVE-2020-29509","GHSA-xhqq-x44f-9fgg"],"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.","affected":[{"package":{"name":"github.com/russellhaering/gosaml2","ecosystem":"Go"},"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"]}]}}],"references":[{"type":"FIX","url":"https://github.com/russellhaering/gosaml2/commit/42606dafba60c58c458f14f75c4c230459672ab9"}],"credits":[{"name":"Juho Nurminen"}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2021-0060","review_status":"REVIEWED"}}