CVE-2020-29509

go: encoding/xml: XML attribute instability

Published Dec 14, 2020 CVSS 3.1 · 9.8 Critical EPSS 2.1% KEV · Not listed
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.

Remediation

Vendor Workaround

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

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-1254 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.
Github GHSA Github GHSA GHSA-xhqq-x44f-9fgg Authentication Bypass in github.com/russellhaering/gosaml2
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
Mattermost
Published
Updated
Sep 17, 2024, 3:43 AM
Reserved
Dec 3, 2020, 12:00 AM
Status
Modified
Published
Dec 14, 2020, 8:15 PM
Modified
Jun 17, 2026, 3:11 AM
Severity
Low
Public date
Dec 14, 2020, 12:00 AM