CVE Vulnerabilities

CVE-2020-29511

Misinterpretation of Input

Published: Dec 14, 2020 | Modified: Jun 17, 2026
CVSS 3.x
5.6
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
CVSS 2.x
6.8 MEDIUM
AV:N/AC:M/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
5.6 LOW
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Ubuntu
MEDIUM

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.

Weakness

The product misinterprets an input, whether from an attacker or another product, in a security-relevant fashion.

Affected Software

NameVendorStart VersionEnd Version
GoGolang*1.17 (excluding)
GolangUbuntutrusty*
Golang-1.10Ubuntubionic*
Golang-1.10Ubuntuesm-infra/xenial*
Golang-1.10Ubuntutrusty*
Golang-1.10Ubuntutrusty/esm*
Golang-1.10Ubuntuxenial*
Golang-1.13Ubuntubionic*
Golang-1.13Ubuntuesm-apps/xenial*
Golang-1.13Ubuntufocal*
Golang-1.13Ubuntugroovy*
Golang-1.13Ubuntuhirsute*
Golang-1.13Ubuntuimpish*
Golang-1.13Ubuntukinetic*
Golang-1.13Ubuntuxenial*
Golang-1.14Ubuntufocal*
Golang-1.14Ubuntugroovy*
Golang-1.14Ubuntuhirsute*
Golang-1.15Ubuntugroovy*
Golang-1.15Ubuntuhirsute*
Golang-1.15Ubuntuimpish*
Golang-1.6Ubuntuesm-infra/xenial*
Golang-1.6Ubuntutrusty*
Golang-1.6Ubuntuxenial*
Golang-1.8Ubuntubionic*
Golang-1.9Ubuntubionic*

References