The encoding/xml package in Go (all versions) does not correctly preserve the semantics…
Priority MEDIUM 46CWE-115Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 2 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat.
Summary
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.
Why it matters now
EPSS 0.02099 81st percentileScored 2026-11-07
Fix Partial github.com/russellhaering/gosaml2 (Go): 0.6.0Red Hat: 2 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Go standard library | Go | All versions | — | No fix listed | CNA |
| — | github.com/russellhaering/gosaml2 (Go) | before 0.6.0 | 0.6.0 | Patch available | GHSA-xhqq-x44f-9fgg |
- Go VendorGo standard library Affected All versions Fixed in — No fix listed CNA
- github.com/russellhaering/gosaml2 (Go) Vendor— Affected before 0.6.0 Fixed in 0.6.0 Patch available GHSA-xhqq-x44f-9fgg
CPE configurations NVD · 2
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* | before 1.17 | Vulnerable | Go standard library |
| cpe:2.3:a:netapp:trident:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | NetApp |
- cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* Versions before 1.17 Vulnerable ·Go standard library
- cpe:2.3:a:netapp:trident:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·NetApp
Remediation
- Fix · GHSA-xhqq-x44f-9fgg github.com/russellhaering/gosaml2 (Go) Fixed in 0.6.0 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 8 | Affected | No fix planned: Will not fix |
Not affected: 7 products
- Distributed Tracing Jaeger 1
- OpenShift Service Mesh 2.0
- Red Hat OpenShift Container Platform 3.11
- Red Hat OpenShift Container Platform 4
- Red Hat OpenShift Virtualization 2
- Red Hat Openshift Container Storage 4
- Red Hat Storage 3
Timeline
- 2026-10-02 Threatist record created from CVE-2020-29509
- 2026-10-03 Alias added: GHSA-xhqq-x44f-9fgg
References
Advisory 3
More Go standard library Go vulnerabilities
- TI-2020-00578 Improper certificate validation in Microsoft Windows KEVCVSS 3.1HIGH 8.1
- TI-2023-23979 The HTTP/2 protocol allows a denial of service (server resource consumption) because… KEVCVSS 3.1HIGH 7.5
- TI-2018-05208 The "go get" implementation in Go 1.9.4, when the -insecure command-line option is used… CVSS 3.1HIGH 8.8
- TI-2018-12083 Improper input validation in [UNKNOWN] golang CVSS 3.1HIGH 8.1
- TI-2024-16306 Mishandling of corrupt central directory record in archive/zip CVSS 3.1MEDIUM 5.5
- TI-2021-15910 Go before 1.16.9 and 1.17.x before 1.17.2 has a Buffer Overflow via large arguments in a… CVSS 3.1CRITICAL 9.8
Sources
- CVE-2020-29509 · CVE Program
- CVE-2020-29509 · NVD
- FIRST EPSS
- GHSA-xhqq-x44f-9fgg · GitHub Advisory Database · CC BY 4.0
- CVE-2020-29509 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences