CVE-2020-7731
HIGH 7.5CVSS 3.1Duplicate Advisory: gosaml2 is vulnerable to NULL Pointer Dereference from malformed XML signatures
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.
- Published
- 30 Apr 2021
- Last modified
- 8 Jul 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-476
- Also known as
- CVE-2020-7711GHSA-gq5r-cc4w-g8xfGHSA-mqqv-chpx-vq25GHSA-prjq-f4q3-fvfrGO-2020-0046SNYK-GOLANG-GITHUBCOMRUSSELLHAERINGGOSAML2-608302
- Sources
- NVDJSONOSV GHSA-gq5r-cc4w-g8xfJSONOSV GHSA-mqqv-chpx-vq25JSONOSV GHSA-prjq-f4q3-fvfrJSONOSV GO-2020-0046JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | gosaml2_project | gosaml2cpe:2.3:a:gosaml2_project:gosaml2:*:*:*:*:*:*:*:* |
all versions | |
| OSV | Go | github.com/russellhaering/gosaml2 | < 0.7.0 | 0.7.0 |
| OSV | Go | github.com/russellhaering/goxmldsig | < 1.1.1 | 1.1.1 |
References
- https://github.com/russellhaering/gosaml2/issues/59 · Patch, Third Party Advisory, WEB
- https://github.com/russellhaering/gosaml2/releases/tag/v0.7.0 · WEB
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMRUSSELLHAERINGGOSAML2-608302 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-7731 · ADVISORY
- https://github.com/russellhaering/goxmldsig/issues/48 · WEB
- https://github.com/russellhaering/gosaml2/pull/90 · WEB
- https://github.com/russellhaering/gosaml2/commit/66e3b7affd622b8b24ea1e18845f045e46b23424 · WEB
- https://github.com/russellhaering/gosaml2 · PACKAGE
- https://nvd.nist.gov/vuln/detail/CVE-2020-7711 · ADVISORY
- https://github.com/russellhaering/goxmldsig · PACKAGE
- https://pkg.go.dev/vuln/GO-2020-0046 · WEB
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMRUSSELLHAERINGGOXMLDSIG-608301 · WEB
- https://github.com/russellhaering/gosaml2/security/advisories/GHSA-prjq-f4q3-fvfr · WEB
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 30 Apr 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 14 Apr 2021)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 7 Oct 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 15 Nov 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 23 Jun 2021)