CVE-2020-29509
CRITICAL9.8EPSS 0.19%Authentication bypass in github.com/russellhaering/gosaml2
Published: 2/11/2022Modified: 4/28/2026
Description
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.
Affected packages (4)
- Bitnami/golangfrom 0, < 1.17.0
- Debian/golang-1.15from 0
- Go/github.com/russellhaering/gosaml2from 0, < 0.6.0
- Go/github.com/russellhaering/gosaml2from 0, < 0.6.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
References (8)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2020-29509
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2020-29509
- WEBhttps://github.com/mattermost/xml-roundtrip-validator/blob/master/advisories/unstable-attributes.md
- WEBhttps://github.com/russellhaering/gosaml2/commit/42606dafba60c58c458f14f75c4c230459672ab9
- WEBhttps://github.com/russellhaering/gosaml2/security/advisories/GHSA-xhqq-x44f-9fgg
- WEBhttps://pkg.go.dev/vuln/GO-2021-0060
- WEBhttps://security.netapp.com/advisory/ntap-20210129-0006
- WEBhttps://security.netapp.com/advisory/ntap-20210129-0006/