# CVE-2020-7731: Denial of Service (DoS)

- Severity: High 7.5 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.66%, higher than 77% of CVEs (2026-12-01)
- Published: 2021-04-14T20:04:52.000Z
- Modified: 2026-07-08T06:49:53.037Z
- Also known as: GHSA-gq5r-cc4w-g8xf, GHSA-mqqv-chpx-vq25, GHSA-prjq-f4q3-fvfr, GO-2020-0046, SNYK-GOLANG-GITHUBCOMRUSSELLHAERINGGOSAML2-608302
- Related: CVE-2020-7711
- Weaknesses: CWE-476
- Assigned by: snyk

## 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.

(As written by CVE List.)

## Affected

- github.com/russellhaering/gosaml2: before unspecified
- github.com/russellhaering/gosaml2 (Go): before 0.7.0
- github.com/russellhaering/goxmldsig (Go): before 1.1.1
- gosaml2_project gosaml2: no versions given

## Every score

- snyk: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMRUSSELLHAERINGGOSAML2-608302> (third-party-advisory, web)
- <https://github.com/russellhaering/gosaml2/issues/59> (patch, third-party-advisory, web)
- <https://github.com/russellhaering/gosaml2/releases/tag/v0.7.0> (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)

## Sources

- CVE List: [CVE-2020-7731](https://www.cve.org/CVERecord?id=CVE-2020-7731), CVE Terms of Use, modified 2024-09-17
- GitHub Advisory Database: [GHSA-gq5r-cc4w-g8xf](https://github.com/advisories/GHSA-gq5r-cc4w-g8xf), CC-BY-4.0, modified 2026-07-08
- GitHub Advisory Database: [GHSA-mqqv-chpx-vq25](https://github.com/advisories/GHSA-mqqv-chpx-vq25), CC-BY-4.0, modified 2026-07-08
- GitHub Advisory Database: [GHSA-prjq-f4q3-fvfr](https://github.com/advisories/GHSA-prjq-f4q3-fvfr), CC-BY-4.0, modified 2026-07-08
- Go Vulnerability Database: [GO-2020-0046](https://pkg.go.dev/vuln/GO-2020-0046), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2020-7731](https://nvd.nist.gov/vuln/detail/CVE-2020-7731), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-7731 · Whole record: https://cve.day/CVE-2020-7731.json · Rebuilt by cve.day 2026-11-25T22:57:57.823Z
