NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
🐹
🐹 Go
Not in CISA KEV
HIGH severity

CVE-2020-7711 — gosaml2

HIGHFix: russellhaering/gosaml2#90

CVE-2020-7711 is a high-severity (CVSS 7.5) NULL Pointer Dereference vulnerability in github.com/russellhaering/gosaml2. 1 public exploit or proof-of-concept reference is indexed, so weaponization risk is real. A fix is available for github.com/russellhaering/gosaml2 — see the affected versions and patch details below.

Duplicate Advisory: gosaml2 is vulnerable to NULL Pointer Dereference from malformed XML signatures

Also known asCVE-2020-7731GHSA-gq5r-cc4w-g8xfGHSA-mqqv-chpx-vq25GHSA-prjq-f4q3-fvfrGO-2020-0046SNYK-GOLANG-GITHUBCOMRUSSELLHAERINGGOSAML2-608302
Published
Updated
Affected
2 pkgs
Patched
2 / 2
Exploits
1 known
Exploitation data as of Nov 6, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
1.8%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs79th percentile — riskier than 79% of all scored CVEsHighest risk
0.00%0.77%1.54%2.30%0.4%1.8%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

2 pkgs affected
🐹github.com/russellhaering/gosaml2🐹github.com/russellhaering/goxmldsig

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.

Description

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.

Affected Packages

2 total 2 fixed
EcosystemPackageVulnerable rangeFix
🐹Gogithub.com/russellhaering/gosaml2all versions0.7.0go get github.com/russellhaering/gosaml2@v0.7.0
🐹Gogithub.com/russellhaering/goxmldsigall versions1.1.1go get github.com/russellhaering/goxmldsig@v1.1.1

Affected Products

1 product · 1 configurations
Application
goxmldsiggoxmldsig_project
all
Exploits & PoCs
1

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/russellhaering/gosaml2, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update github.com/russellhaering/gosaml2 to 0.7.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2020-7711 is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

Frequently Asked Questions

## 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.
O3 Security · Impact-Aware SCA

Is CVE-2020-7711 in your dependencies?

Find it across Go, including transitive dependencies.

CVE-2020-7711: gosaml2 — Fixed in 0.7.0