{"cve":"CVE-2020-7731","nvd":{"published":"2021-04-30T16:15:07.547","modified":"2026-06-17T03:25:20.687","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-476"],"references":["https://github.com/russellhaering/gosaml2/issues/59","https://github.com/russellhaering/gosaml2/releases/tag/v0.7.0","https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMRUSSELLHAERINGGOSAML2-608302","https://github.com/russellhaering/gosaml2/issues/59","https://github.com/russellhaering/gosaml2/releases/tag/v0.7.0"],"products":["gosaml2_project:gosaml2"],"source":"nvd","synced_at":"2026-10-19T21:18:09.669877188+00:00"},"epss":{"cve":"CVE-2020-7731","score":0.01662,"percentile":0.76698,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-mqqv-chpx-vq25","url":"https://osv.dev/vulnerability/GHSA-mqqv-chpx-vq25","summary":"goxmldsig vulnerable to crash on nil-pointer dereference caused by sending malformed XML signatures","modified":"2026-07-08T06:49:53.037130195Z","packages":[{"ecosystem":"Go","name":"github.com/russellhaering/goxmldsig","purl":"pkg:golang/github.com/russellhaering/goxmldsig","ranges":["<1.1.1"],"fixed":["1.1.1"]},{"ecosystem":"Go","name":"github.com/russellhaering/gosaml2","purl":"pkg:golang/github.com/russellhaering/gosaml2","ranges":["<0.7.0"],"fixed":["0.7.0"]}]},{"id":"GHSA-prjq-f4q3-fvfr","url":"https://osv.dev/vulnerability/GHSA-prjq-f4q3-fvfr","summary":"github.com/russellhaering/gosaml2 is vulnerable to NULL Pointer Dereference","modified":"2026-07-08T06:49:53.037130195Z","packages":[{"ecosystem":"Go","name":"github.com/russellhaering/gosaml2","purl":"pkg:golang/github.com/russellhaering/gosaml2","ranges":["<0.7.0"],"fixed":["0.7.0"]},{"ecosystem":"Go","name":"github.com/russellhaering/goxmldsig","purl":"pkg:golang/github.com/russellhaering/goxmldsig","ranges":["<1.1.1"],"fixed":["1.1.1"]}]},{"id":"GO-2020-0046","url":"https://osv.dev/vulnerability/GO-2020-0046","summary":"Panic due to malformed XML digital signature in github.com/russellhaering/goxmldsig","modified":"2026-07-08T06:49:53.037130195Z","packages":[{"ecosystem":"Go","name":"github.com/russellhaering/goxmldsig","purl":"pkg:golang/github.com/russellhaering/goxmldsig","ranges":["<1.1.1"],"fixed":["1.1.1"]},{"ecosystem":"Go","name":"github.com/russellhaering/gosaml2","purl":"pkg:golang/github.com/russellhaering/gosaml2","ranges":["<0.7.0"],"fixed":["0.7.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}