{"id":"CVE-2020-7731","published":"2021-04-30T16:10:13Z","modified":"2024-09-17T03:07:42Z","title":"Denial of Service (DoS)","vendor":null,"product":null,"tier":"tail","description":{"text":"This affects all versions <0.7.0 of package github.com/russellhaering/gosaml2. There is a crash on nil-pointer dereference caused by sending malformed XML signatures.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01662,"percentile":0.77281,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMRUSSELLHAERINGGOSAML2-608302","tags":[]},{"url":"https://github.com/russellhaering/gosaml2/issues/59","tags":[]},{"url":"https://github.com/russellhaering/gosaml2/releases/tag/v0.7.0","tags":[]}],"priority":{"score":20.7,"factors":[{"name":"EPSS percentile","points":15.46},{"name":"CVSS severity","points":5.25}]},"affectedVersions":[{"vendor":"n/a","product":"github.com/russellhaering/gosaml2","versions":["< unspecified"]}],"affected":[{"ecosystem":"Go","package":"github.com/russellhaering/gosaml2","vulnerableRanges":["<0.7.0"],"patched":["0.7.0"],"from":["GHSA-prjq-f4q3-fvfr","GO-2020-0046"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/russellhaering/goxmldsig","vulnerableRanges":["<1.1.1"],"patched":["1.1.1"],"from":["GHSA-prjq-f4q3-fvfr","GO-2020-0046"],"provenance":"source"}],"summary":{"text":"The flaw is a nil-pointer dereference in the gosaml2 Go package (github.com/russellhaering/gosaml2) affecting all versions before 0.7.0, which causes a crash. An attacker who can send a SAML response containing malformed XML signatures can trigger this crash to cause a denial of service, and no authentication or user interaction is required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:13:53Z"},"euvd":{"id":"EUVD-2022-7403","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-golang-go-cve-2020-7711","parents":[{"from":"CVE-2020-7711","to":"CVE-2020-7731","relation":"related","confidence":"high","kind":"lineage","evidence":[{"kind":"osv-related","provenance":"source","id":"GHSA-prjq-f4q3-fvfr","via":"reference","url":"https://github.com/russellhaering/gosaml2/security/advisories/GHSA-prjq-f4q3-fvfr"},{"kind":"similar","provenance":"machine","score":0.86,"basis":"same package + description similarity"}]},{"from":"CVE-2020-29509","to":"CVE-2020-7731","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["decode_response.go"],"commits":["https://github.com/russellhaering/gosaml2/commit/42606dafba60c58c458f14f75c4c230459672ab9","https://github.com/russellhaering/gosaml2/commit/66e3b7affd622b8b24ea1e18845f045e46b23424"],"basis":"rarely changed file"}]}],"children":[{"from":"CVE-2020-7731","to":"CVE-2023-26483","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["decode_response.go"],"commits":["https://github.com/russellhaering/gosaml2/commit/66e3b7affd622b8b24ea1e18845f045e46b23424","https://github.com/russellhaering/gosaml2/commit/f9d66040241093e8702649baff50cc70d2c683c0"],"basis":"shared function","functions":["validateAssertionSignatures"]}]}],"packageHistory":[{"cve":"CVE-2020-15216","published":"2020-09-29","fixed":"1.1.0","kev":false},{"cve":"CVE-2020-26290","published":"2020-12-28","fixed":"1.1.0","kev":false,"link":{"from":"CVE-2020-26290","to":"CVE-2020-7731","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/russellhaering/goxmldsig","fromFixed":"1.1.0","toFixed":"1.1.1","daysApart":123}]}},{"cve":"CVE-2020-7711","published":"2020-08-23","fixed":"1.1.1","kev":false},{"cve":"CVE-2020-7731","published":"2021-04-30","fixed":"1.1.1","kev":false},{"cve":"CVE-2026-33487","published":"2026-03-26","fixed":"1.6.0","kev":false}],"package":"Go:github.com/russellhaering/goxmldsig"}}