CVE-2020-7731: github.com/russellhaering/gosaml2 - Null Pointer Dereference
- Cve: CVE-2020-7731
- Name: github.com/russellhaering/gosaml2 - Null Pointer Dereference
- 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.
- Impact: Attackers can cause application crashes or denial of service by sending malformed XML signatures.
- Remediation: Update to version 0.7.0 or later.
- Vulnerability type: null_pointer_dereference
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.01662
- Epss percentile: 0.77316
- Assignee: [email protected]
- Published at: 2021-04-30T16:15:07Z
- Age in days: 2034
- Modified at: 2026-06-17T03:25:20Z
- Patch available: yes
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-7731
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-476 | NULL Pointer Dereference |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/russellhaering/gosaml2/issues/59 | Patch, Third Party Advisory |
| https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMRUSSELLHAERINGGOSAML2-608302 | Third Party Advisory |
| https://github.com/russellhaering/gosaml2/releases/tag/v0.7.0 |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| gosaml2_project:gosaml2 | all versions | no | nvd | /v1/products/gosaml2_project/gosaml2 |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| russellhaering/gosaml2 | commit, issues, package, pull, releases, security_advisory | yes | /v1/repositories/russellhaering/gosaml2 |
| russellhaering/goxmldsig | issues | yes | /v1/repositories/russellhaering/goxmldsig |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts