High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-7711, CVE-2020-7731
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:30 UTC · Revision 1
Source evidence
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.
osv:CVE-2020-7731
Complete source record
{
"id": "7291a801506c4c036246dc94d5ec948f97aa5fa5a9c0d3bd095baf53829dbfa4",
"url": "https://osv.dev/vulnerability/CVE-2020-7731",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-7731",
"summary": "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.",
"evidence": "osv:CVE-2020-7731",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2020-7731",
"aliases": [
"CVE-2020-7711",
"CVE-2020-7731",
"GHSA-gq5r-cc4w-g8xf",
"GHSA-mqqv-chpx-vq25",
"GHSA-prjq-f4q3-fvfr",
"GO-2020-0046",
"SNYK-GOLANG-GITHUBCOMRUSSELLHAERINGGOSAML2-608302"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/russellhaering/gosaml2",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "66e3b7affd622b8b24ea1e18845f045e46b23424"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"fixed": "66e3b7affd622b8b24ea1e18845f045e46b23424"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v0.7.0"
}
]
}
}
],
"versions": [
"v0.6.0",
"v0.5.0",
"v0.4.0",
"v0.3.1",
"v0.3.0",
"v0.2.0",
"v0.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-7731.json"
}
}
],
"modified": "2026-10-20T10:54:24.803431465Z",
"provider": "osv",
"references": [
"https://github.com/russellhaering/gosaml2/releases/tag/v0.7.0",
"https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMRUSSELLHAERINGGOSAML2-608302",
"https://github.com/russellhaering/gosaml2/issues/59"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2020-7711",
"evidence": "/aliases"
},
{
"value": "CVE-2020-7731",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 385320,
"published_at": "2021-04-30T16:15:07.547+00:00"
}