CVE-2020-29509
mediumpriority · track · 23EPSS 0.021 · 82 %ileDEEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–critical · 5.1–9.8
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (9)
Products and version ranges known to be affected.
advisories (4)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2024-0794Dell ECS: Mehrere SchwachstellenDeutsch2024-04-04csaf · cert_bundDE
Ein Angreifer kann mehrere Schwachstellen in Dell ECS ausnutzen, um seine Privilegien zu erweitern, beliebigen Programmcode mit Administratorrechten auszuführen, Informationen offenzulegen, Dateien zu manipulieren, einen Cross-Site-Scripting-Angriff durchzuführen, Sicherheitsvorkehrungen zu umgehen oder einen Denial of Service Zustand herbeizuführen.
- GHSA-xhqq-x44f-9fggAuthentication Bypass in github.com/russellhaering/gosaml22022-02-11ghsa · osvUS
### Impact Given a valid SAML Response, it may be possible for an attacker to mutate the XML document in such a way that gosaml2 will trust a different portion of the document than was signed. Depending on the implementation of the Service Provider this enables a variety of attacks, including users accessing accounts other than the one to which they authenticated in the Identity Provider, or full authentication bypass. ### Patches Service Providers utilizing gosaml2 should upgrade to v0.6.0 or greater.
- BIT-golang-2020-295092024-03-06vendor · osvUS
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.
- GO-2021-0060Authentication bypass in github.com/russellhaering/gosaml22021-04-14vendor · osvUS
Due to the behavior of encoding/xml, a crafted XML document may cause XML Digital Signature validation to be entirely bypassed, causing an unsigned document to appear signed.
also known as (6)
Other names and identifiers for this entity.
- CNNVD-202012-1015cnnvd
- EUVD-2022-1254enisa_euvd
- GHSA-xhqq-x44f-9fggenisa_euvd
- BIT-golang-2020-29509osv
- GHSA-xhqq-x44f-9fggosv
- GO-2021-0060osv
sources
Which sources assert this record, and when.
references (8)
External citations — patches, advisories, analysis.
- https://github.com/mattermost/xml-roundtrip-validator/blob/master/advisories/unstable-attributes.mdcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2020-29509cnnvd
- https://vigilance.fr/vulnerability/Go-read-write-access-via-encoding-xml-Round-Trip-Unpreserved-Semantics-34194cnnvd
- https://www.auscert.org.au/bulletins/ESB-2021.0182/cnnvd
- https://github.com/mattermost/xml-roundtrip-validator/blob/master/advisories/unstable-attributes.mdenisa_euvd
- https://security.netapp.com/advisory/ntap-20210129-0006/enisa_euvd
- https://github.com/mattermost/xml-roundtrip-validator/blob/master/advisories/unstable-attributes.mdThird Party Advisorynvd
- https://security.netapp.com/advisory/ntap-20210129-0006/Third Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan