PT-2020-17180 · Go+1 · Encoding/Xml Package+2

Published

2020-12-14

·

Updated

2024-03-06

·

CVE-2020-29509

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions encoding/xml package in Go (all versions)
Description The issue allows an attacker to craft inputs that behave in conflicting ways during different stages of processing in affected downstream applications. This can cause XML Digital Signature validation to be entirely bypassed, making an unsigned document appear signed. Given a valid SAML Response, it may be possible for an attacker to mutate the XML document, enabling attacks such as users accessing accounts other than the one to which they authenticated or full authentication bypass.
Recommendations For the encoding/xml package in Go, upgrade to a version that includes the necessary fixes, such as gosaml2 version 0.6.0 or greater, if applicable to your specific use case. As a temporary workaround, consider restricting the processing of XML documents to minimize the risk of exploitation.

Fix

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

AZL-6448
AZL-78900
BIT-GOLANG-2020-29509
CVE-2020-29509
GHSA-XHQQ-X44F-9FGG
GO-2021-0060
OESA-2021-1011

Affected Products

Debian
Encoding/Xml Package
Gosaml2