CVE-2020-7711
Denial of Service (DoS)
This affects all versions of package github.com/russellhaering/goxmldsig. There is a crash on nil-pointer dereference caused by sending malformed XML signatures.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
7.5
Denial of Service (DoS)
This affects all versions of package github.com/russellhaering/goxmldsig. There is a crash on nil-pointer dereference caused by sending malformed XML signatures.
- Record
CVE-2020-7711- 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 - Updated
- 2026-11-02
EUVDEUVD-2022-7133
7.5
This affects all versions of package github.com/russellhaering/goxmldsig. There is a crash on nil-pointer dereference caused by sending malformed XML signatures.
- Record
EUVD-2022-7133- 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 - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-gq5r-cc4w-g8xf
7.5
Duplicate Advisory: gosaml2 is vulnerable to NULL Pointer Dereference from malformed XML signatures
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.
- Record
GHSA-gq5r-cc4w-g8xf- 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 - Weakness
- CWE-476
- Updated
- 2026-11-02
GitHub AdvisoriesGHSA-mqqv-chpx-vq25
7.5
goxmldsig vulnerable to crash on nil-pointer dereference caused by sending malformed XML signatures
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.
- Record
GHSA-mqqv-chpx-vq25- 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 - Weakness
- CWE-476
- Updated
- 2026-11-02
NVD
7.5
This affects all versions of package github.com/russellhaering/goxmldsig. There is a crash on nil-pointer dereference caused by sending malformed XML signatures.
- Record
CVE-2020-7711- 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 - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-476
- Updated
- 2026-11-02
OSV
7.5
This affects all versions of package github.com/russellhaering/goxmldsig. There is a crash on nil-pointer dereference caused by sending malformed XML signatures.
- Record
CVE-2020-7711- 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 - Updated
- 2026-11-02
Show 7 moreShow less
OSVCVE-2020-7731
7.5
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.
- Record
CVE-2020-7731- 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 - Updated
- 2026-11-02
OSVDEBIAN-CVE-2020-7711
7.5
This affects all versions of package github.com/russellhaering/goxmldsig. There is a crash on nil-pointer dereference caused by sending malformed XML signatures.
- Record
DEBIAN-CVE-2020-7711- 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 - Updated
- 2026-11-02
OSVGHSA-gq5r-cc4w-g8xf
7.5
Duplicate Advisory: gosaml2 is vulnerable to NULL Pointer Dereference from malformed XML signatures
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.
- Record
GHSA-gq5r-cc4w-g8xf- 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 - Weakness
- CWE-476
- Updated
- 2026-11-02
OSVGHSA-mqqv-chpx-vq25
7.5
goxmldsig vulnerable to crash on nil-pointer dereference caused by sending malformed XML signatures
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.
- Record
GHSA-mqqv-chpx-vq25- 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 - Weakness
- CWE-476
- Updated
- 2026-11-02
OSVGHSA-prjq-f4q3-fvfr
7.5
github.com/russellhaering/gosaml2 is vulnerable to NULL Pointer Dereference
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.
- Record
GHSA-prjq-f4q3-fvfr- 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 - Weakness
- CWE-476
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2020-7711
7.5
This affects all versions of package github.com/russellhaering/goxmldsig. There is a crash on nil-pointer dereference caused by sending malformed XML signatures.
- Record
UBUNTU-CVE-2020-7711- 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 - Updated
- 2026-11-02
OSVGO-2020-0046 No score
Panic due to malformed XML digital signature in github.com/russellhaering/goxmldsig
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.
- Record
GO-2020-0046- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
github.com/russellhaering/goxmldsigGo |
before 1.1.1 | 1.1.1 |
github.com/russellhaering/gosaml2Go |
before 0.7.0 | 0.7.0 |
golang-github-russellhaering-goxmldsigDebian:12 |
before 1.1.1-1 | 1.1.1-1 |
github.com/russellhaering/goxmldsigGo From an advisory covering 2 CVEs |
before 1.1.1 | 1.1.1 |
github.com/russellhaering/gosaml2Go From an advisory covering 2 CVEs |
before 0.7.0 | 0.7.0 |
golang-github-russellhaering-goxmldsigUbuntu:18.04:LTS |
All versions, plus listed versions 0.0~git20170911.b7efc62-1 |
None known |
golang-github-russellhaering-goxmldsigUbuntu:20.04:LTS |
All versions, plus listed versions 0.0~git20170911.b7efc62-10.0~git20180430.7acd5e4-1 |
None known |
golang-github-russellhaering-goxmldsigUbuntu:22.04:LTS |
All versions, plus listed versions 1.1.0-11.1.1-1 |
None known |
golang-github-russellhaering-goxmldsigUbuntu:24.04:LTS |
All versions, plus listed versions 1.2.0-1 |
None known |
golang-github-russellhaering-goxmldsigUbuntu:25.10 |
All versions, plus listed versions 1.2.0-1 |
None known |
golang-github-russellhaering-goxmldsigUbuntu:26.10 |
All versions, plus listed versions 1.2.0-1 |
None known |
golang-github-russellhaering-goxmldsigUbuntu:26.04:LTS |
All versions, plus listed versions 1.2.0-1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| affected | ||
| aliases, published | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2020-7711 is a high vulnerability (CVSS 7.5) in Goxmldsig Project Goxmldsig, published August 23, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.80%, the 78th percentile. Fixed in github.com/russellhaering/goxmldsig 1.1.1.
References
snyk.io/vuln/SNYK-GOLANG-GITHUBCOMRUSSELLHAERINGGOXMLDSIG-608301
github.com/russellhaering/goxmldsig/issues/48
nvd.nist.gov/vuln/detail/CVE-2020-7731
github.com/russellhaering/gosaml2/issues/59
snyk.io/vuln/SNYK-GOLANG-GITHUBCOMRUSSELLHAERINGGOSAML2-608302
github.com/russellhaering/gosaml2/pull/90
Show 13 moreShow less
github.com/russellhaering/gosaml2/commit/66e3b7affd622b8b24ea1e18845f045e46b23424
github.com/russellhaering/gosaml2/releases/tag/v0.7.0
github.com/advisories/GHSA-gq5r-cc4w-g8xf
nvd.nist.gov/vuln/detail/CVE-2020-7711
pkg.go.dev/vuln/GO-2020-0046
github.com/advisories/GHSA-mqqv-chpx-vq25
security-tracker.debian.org/tracker/CVE-2020-7711
github.com/russellhaering/gosaml2
github.com/russellhaering/goxmldsig
github.com/russellhaering/gosaml2/security/advisories/GHSA-prjq-f4q3-fvfr
ubuntu.com/security/CVE-2020-7711
cve.org/CVERecord?id=CVE-2020-7711
github.com/russellhaering/goxmldsig/pull/71