Vulnerability · Published Dec 14, 2020 · Assigned by Mattermost

CVE-2020-29509

Critical 9.8

In plain English

A critical-severity security flaw in Go from Golang. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.1% (higher than 82% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)2.1%top 18.2% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

The encoding/xml package in Go (all versions) does not correctly preserve the semantics of attribute 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20go1.17-r0ALPINE-CVE-2020-29509
Alpine:v3.21go1.17-r0ALPINE-CVE-2020-29509
Alpine:v3.22go1.17-r0ALPINE-CVE-2020-29509
Alpine:v3.23go1.17-r0ALPINE-CVE-2020-29509
Alpine:v3.24go1.17-r0ALPINE-CVE-2020-29509
Gogithub.com/russellhaering/gosaml20.6.0GHSA-xhqq-x44f-9fgg
Gogithub.com/russellhaering/gosaml20.6.0GO-2021-0060

Affected products (as reported)

VendorProductVersions
Golang Go All versions

Weakness: CWE-115 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References