CVE-2020-29509
published critical CVSS 3.1 · 9.8go: encoding/xml: XML attribute instability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Golang | — | GoAll versions | Affected | Not stated | Mattermost |
| Alpine Linux | edge | go | Fixed | 1.17-r0 | Package fix record |
| Alpine Linux | v3.18 | go | Fixed | 1.17-r0 | Package fix record |
| Alpine Linux | v3.19 | go | Fixed | 1.17-r0 | Package fix record |
| Alpine Linux | v3.20 | go | Fixed | 1.17-r0 | Package fix record |
| Alpine Linux | v3.21 | go | Fixed | 1.17-r0 | Package fix record |
| Alpine Linux | v3.22 | go | Fixed | 1.17-r0 | Package fix record |
| Alpine Linux | v3.23 | go | Fixed | 1.17-r0 | Package fix record |
Show 1 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.24 | go | Fixed | 1.17-r0 | Package fix record |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- Mattermost · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Golang | Go | All versions (affected) | Mattermost · cna |
Weaknesses
1- CWE-115 CWE-115 Misinterpretation of Input
References
2Provider assertions
2Mattermost · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 6a7828c53f3325ec51e114c02435a9f38addec3c3c444f98566d01e8a691640d
- Ingested
- 23 Sep 2026, 07:50:07 UTC
- Source record
- Official CVE record