CVE-2020-29509
MEDIUM 5.6CVSS 3.1Authentication Bypass in github.com/russellhaering/gosaml2
The encoding/xml package in Go (all versions) does not correctly preserve the semantics of attribute namespace prefixes during tokenization round-trips, which allows an attacker to craft inputs that behave in conflicting ways during different stages of processing in affected downstream applications.
- Published
- 14 Dec 2020
- Last modified
- 10 Sep 2026
- Assigned by
- responsibledisclosure@mattermost.com
- NVD status
- Modified
- Weakness
- CWE-115
- Also known as
- BIT-golang-2020-29509GHSA-xhqq-x44f-9fggGO-2021-0060
- Sources
- NVDJSONOSV GHSA-xhqq-x44f-9fggJSONOSV GO-2021-0060JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | responsibledisclosure@mattermost.com (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.6 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | golang | gocpe:2.3:a:golang:go:*:*:*:*:*:*:*:* |
< 1.17 | 1.17 |
| NVD | netapp | tridentcpe:2.3:a:netapp:trident:-:*:*:*:*:*:*:* |
(no version) | |
| OSV | Go | github.com/russellhaering/gosaml2 | < 0.6.0 | 0.6.0 |
References
- https://github.com/mattermost/xml-roundtrip-validator/blob/master/advisories/unstable-attributes.md · Third Party Advisory, WEB
- https://security.netapp.com/advisory/ntap-20210129-0006/ · Third Party Advisory, WEB
- https://github.com/russellhaering/gosaml2/security/advisories/GHSA-xhqq-x44f-9fgg · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-29509 · ADVISORY
- https://github.com/russellhaering/gosaml2/commit/42606dafba60c58c458f14f75c4c230459672ab9 · WEB, FIX
- https://pkg.go.dev/vuln/GO-2021-0060 · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 14 Dec 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 11 Feb 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 14 Apr 2021)