CVEfocus › CVE database › CVE-2020-29511

CVE-2020-29511

CVSS 9.8 CriticalEPSS 2.0% (higher than 81% of CVEs)Published 2020-12-14Updated 2024-09-17Assigner: Mattermost

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.

CWE-115

What to do

Fixed builds are available from Alpine: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

7Fixed
13Fix pending
14Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04golang-1.13Fix pendingUBUNTU-CVE-2020-29511
Ubuntu 20.04golang-1.13Fix pendingUBUNTU-CVE-2020-29511
Ubuntu 20.04golang-1.14Fix pendingUBUNTU-CVE-2020-29511
Ubuntu 18.04golang-1.10Fix pendingUBUNTU-CVE-2020-29511
Ubuntu 18.04golang-1.13Fix pendingUBUNTU-CVE-2020-29511
Ubuntu 18.04golang-1.8Fix pendingUBUNTU-CVE-2020-29511
Ubuntu 18.04golang-1.9Fix pendingUBUNTU-CVE-2020-29511
Ubuntu 16.04golang-1.10Fix pendingUBUNTU-CVE-2020-29511
Ubuntu 16.04golang-1.13Fix pendingUBUNTU-CVE-2020-29511
Ubuntu 16.04golang-1.6Fix pendingUBUNTU-CVE-2020-29511
Ubuntu 14.04golangFix pending
Ubuntu 14.04golang-1.10Fix pendingUBUNTU-CVE-2020-29511
Ubuntu 14.04golang-1.6Fix pending
Red Hat Enterprise Linux 8go-toolsetWill not fix
Will not fix
Red Hat Enterprise Linux 8golangWill not fix
Will not fix
Red Hat Enterprise Linux 8golang-binWill not fix
Will not fix
Red Hat Enterprise Linux 8golang-docsWill not fix
Will not fix
Red Hat Enterprise Linux 8golang-miscWill not fix
Will not fix
Red Hat Enterprise Linux 8golang-raceWill not fix
Will not fix
Red Hat Enterprise Linux 8golang-srcWill not fix
Will not fix
Red Hat Enterprise Linux 8golang-testsWill not fix
Will not fix
Red Hat Enterprise Linux 7golangWill not fix
Will not fix
Red Hat Enterprise Linux 7golang-binWill not fix
Will not fix
Red Hat Enterprise Linux 7golang-docsWill not fix
Will not fix
Red Hat Enterprise Linux 7golang-miscWill not fix
Will not fix
Red Hat Enterprise Linux 7golang-srcWill not fix
Will not fix
Red Hat Enterprise Linux 7golang-testsWill not fix
Will not fix
Alpine Linux 3.24goFixed1.17-r0ALPINE-CVE-2020-29511
Alpine Linux 3.23goFixed1.17-r0ALPINE-CVE-2020-29511
Alpine Linux 3.22goFixed1.17-r0ALPINE-CVE-2020-29511
Alpine Linux 3.21goFixed1.17-r0ALPINE-CVE-2020-29511
Alpine Linux 3.20goFixed1.17-r0ALPINE-CVE-2020-29511
Alpine Linux 3.19goFixed1.17-r0ALPINE-CVE-2020-29511
Alpine Linux 3.18goFixed1.17-r0ALPINE-CVE-2020-29511

What the vendor says

As published in the CVE record by Mattermost, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Workaround: Untrusted markup in affected applications can be validated using the github.com/mattermost/xml-roundtrip-validator module.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.