Skip to content
OpenAdvisories
Critical · 9.8 CVE-2020-29511 EUVD-2020-21878GHSA-g7v2-7v9m-q9j4

The encoding/xml package in Go (all versions) does not correctly preserve the semantics of element namespace prefixes during tokenization r…

Published Dec 14, 2020 · Updated Sep 17, 2024 · Assigned by Mattermost

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 products

VendorProductAffectedFixed
Golang Go All versions —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 11 golang-1.15 No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS golang-1.13 +1 No fix yet —
Ubuntu 18.04 LTS golang-1.8 +2 No fix yet —
Ubuntu 16.04 LTS golang-1.6 +1 No fix yet —
Ubuntu 14.04 LTS golang-1.10 No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS golang-1.13 No fix yet —
Ubuntu Pro 18.04 LTS golang-1.13 No fix yet —
Ubuntu Pro 16.04 LTS golang-1.13 No fix yet —
ReleasePackageFixed inAdvisory
Alpine v3.24 go 1.17-r0 —
Alpine v3.23 go 1.17-r0 —
Alpine v3.22 go 1.17-r0 —
Alpine v3.21 go 1.17-r0 —
Alpine v3.20 go 1.17-r0 —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 go 1.17-r0 —
Alpine v3.18 go 1.17-r0 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 golang No fix yet —
Azure Linux 2 (CBL-Mariner) golang 1.20.10-1 —

Advisories 1

References