Vulnerability · Published Dec 14, 2020 · Assigned by Mattermost
CVE-2020-29509
Critical 9.8
In plain English
A critical-severity security flaw in Go from Golang. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.1% (higher than 82% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)2.1%top 18.2% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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 & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | go | 1.17-r0 | ALPINE-CVE-2020-29509 |
| Alpine:v3.21 | go | 1.17-r0 | ALPINE-CVE-2020-29509 |
| Alpine:v3.22 | go | 1.17-r0 | ALPINE-CVE-2020-29509 |
| Alpine:v3.23 | go | 1.17-r0 | ALPINE-CVE-2020-29509 |
| Alpine:v3.24 | go | 1.17-r0 | ALPINE-CVE-2020-29509 |
| Go | github.com/russellhaering/gosaml2 | 0.6.0 | GHSA-xhqq-x44f-9fgg |
| Go | github.com/russellhaering/gosaml2 | 0.6.0 | GO-2021-0060 |
Affected products (as reported)
Weakness: CWE-115 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H