Skip to content
OpenAdvisories
Critical · 9.8 CVE-2020-29510 EUVD-2020-21877GHSA-p6mv-vmpw-j23r

The encoding/xml package in Go versions 1.15 and earlier does not correctly preserve the semantics of directives during tokenization round-…

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

Description

The encoding/xml package in Go versions 1.15 and earlier does not correctly preserve the semantics of directives 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 unspecified – ≤ 1.15 —

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 —

References