CVE-2020-29509Golang Go
Medium 5.6 No auth needed
Follow: this CVE · Golang · Golang Go We alert you by email or Slack (account required).
- Priority
- 49
- CVSS 3.1
- 5.6
- EPSS
- 2.1% probability of exploitation in 30 days · percentile 82
- Auth required
- No
- Published
- Dec 14, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-115
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
What happens
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.
What to do
- Apply the vendor's security update for Go.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/russellhaering/gosaml2 |
< 0.6.0 |
0.6.0 |
go get github.com/russellhaering/gosaml2@v0.6.0 |
| Go | github.com/russellhaering/gosaml2 |
< 0.6.0 |
0.6.0 |
go get github.com/russellhaering/gosaml2@v0.6.0 |
Per OSV / GitHub Advisories (GHSA-xhqq-x44f-9fgg, GO-2021-0060). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| golang | go | < 1.17 |
| netapp | trident | all |
Official sources
References
Links published by the sources. Open them with care.
- github.com Third Party Advisory
- security.netapp.com Third Party Advisory