CVE-2020-7731

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.

Severity
HIGH
CVSS v3
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P · source cna
Exploit chance (EPSS)
1.662%
chance of exploitation in the next 30 days
higher than 77.1% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0

Weakness

Timeline

  1. 2021-04-30Published by the CNA16:10 UTC
  2. 2022-10-07GitHub advisory published (GHSA-mqqv-chpx-vq25)525 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-mqqv-chpx-vq25, affected packages:

PackageVulnerable versionsFixed in
Go github.com/russellhaering/gosaml2before 0.7.00.7.0
Go github.com/russellhaering/goxmldsigbefore 1.1.11.1.1

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
gosaml2_project gosaml2

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources