7.5high
Denial of Service (DoS)
- Severity
- 7.5high CVSS:3.1 by snyk
- Exploit likelihood
- 1.80% (higher than 79% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-gq5r-cc4w-g8xfGHSA-mqqv-chpx-vq25GHSA-prjq-f4q3-fvfrGO-2020-0046SNYK-GOLANG-GITHUBCOMRUSSELLHAERINGGOSAML2-608302
Description
This affects all versions of package github.com/russellhaering/goxmldsig. There is a crash on nil-pointer dereference caused by sending malformed XML signatures.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| github.com/russellhaering/goxmldsig | before unspecified | CVE List |
| github.com/russellhaering/gosaml2 (Go) | before 0.7.0 | GitHub Advisory Database, Go Vulnerability Database |
| github.com/russellhaering/goxmldsig (Go) | before 1.1.1 | GitHub Advisory Database, Go Vulnerability Database |
| goxmldsig_project goxmldsig | Not specified | NVD |
All scores
| snyk | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
What each source says
CVE List
This affects all versions of package github.com/russellhaering/goxmldsig. There is a crash on nil-pointer dereference caused by sending malformed XML signatures.
GitHub Advisory Database
Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-prjq-f4q3-fvfr. This link is maintained to preserve external references.
Original Description
This affects all versions less than 0.7.0 of package github.com/russellhaering/gosaml2. There is a crash on null pointer dereference caused by sending malformed XML signatures.
GitHub Advisory Database
This affects all versions of package github.com/russellhaering/goxmldsig prior to 1.1.1. There is a crash on nil-pointer dereference caused by sending malformed XML signatures. This issue is patched in version 1.1.1.
GitHub Advisory Database
Impact
In versions prior to v0.7.0 it was possible for an attacker to supply an invalid assertion which would trigger a panic due to a nil-pointer dereference.
Patches
The issue was patched in v0.7.0, released on March 2, 2022.
Workarounds
Callers to gosaml2 can use recover() to handle panics to mitigate a potential DoS.
References
See issue #59 for details.
Go Vulnerability Database
Due to a nil pointer dereference, a malformed XML Digital Signature can cause a panic during validation. If user supplied signatures are being validated, this may be used as a denial of service vector.
NVD (es)
Esto afecta a todas las versiones del paquete github.com/russellhaering/goxmldsig. Se presenta un bloqueo en una desreferencia del puntero nil causado por el envío de firmas XML malformadas.
References
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-7711 changed 2024-09-17 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-gq5r-cc4w-g8xf changed 2026-07-08 | CC-BY-4.0 |
| GitHub Advisory Database | GHSA-mqqv-chpx-vq25 changed 2026-07-08 | CC-BY-4.0 |
| GitHub Advisory Database | GHSA-prjq-f4q3-fvfr changed 2026-07-08 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2020-0046 changed 2026-07-08 | CC-BY-4.0 |
| NVD | CVE-2020-7711 changed 2026-06-17 | Public domain |