9.8critical
The encoding/xml package in Go (all versions) does not correctly preserve the semantics of element namespace prefixes during tokenization r…
- Severity
- 9.8critical CVSS:3.1 by Mattermost
- Exploit likelihood
- 1.97% (higher than 80% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Mattermost
- Also known as
- BIT-GOLANG-2020-29511
Description
The encoding/xml package in Go (all versions) does not correctly preserve the semantics of element 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
| Product or package | Versions | Reported by |
|---|---|---|
| Golang Go | All versions, before 1.17 | CVE List, NVD |
| netapp trident | Not specified | NVD |
| golang (Bitnami) | before 1.17.0 | Bitnami Vulnerability Database |
All scores
| Mattermost | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 5.6medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | 6.8medium CVSS:2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| Bitnami Vulnerability Database | critical rating |
Classification
What each source says
CVE List
The encoding/xml package in Go (all versions) does not correctly preserve the semantics of element 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.
NVD (es)
El paquete encoding/xml en Go (todas las versiones) no conserva correctamente la semántica de los prefijos del espacio de nombres de los elementos durante los viajes de ida por vuelta del proceso de generación de token, que permite a un atacante diseñar entradas que se comportan de manera conflictiva durante las diferentes etapas de procesamiento en las aplicaciones previas afectadas
References
| https://github.com/mattermost/xml-roundtrip-validator/blob/master/advisories/unstable-elements.md | advisory, third-party-advisory | |
| https://security.netapp.com/advisory/ntap-20210129-0006/ | advisory, third-party-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2020-29511 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-29511 changed 2024-09-17 | CVE Terms of Use |
| NVD | CVE-2020-29511 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-GOLANG-2020-29511 changed 2026-09-10 | Apache-2.0 |