CVE-2020-29510
go: encoding/xml: XML directives instability
Overview
Description
The encoding/xml package in Go versions 1.15 and earlier does not correctly preserve the semantics of directives 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.
Source: OX vulnerability database
Severity
5.6 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Weakness: CWE-115
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | golang | <1.15.1 | 1.15.1 |
Open a package to see all its vulnerabilities.
Operating systems · 8 fixes
Photon OS 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | kubernetes-dashboard | 2.7.0-1.ph4 |
Red Hat 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | golang +5 | wont fix |
| 8 (go-toolset:rhel8) | go-toolset +7 | wont fix |
debian 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 11 | golang-1-15 | affected |
| 9 | golang-1-7 +1 | affected |
ubuntu 3 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | golang-1-10 +3 | affected |
| 20.04-ESM | golang-1-13 +1 | affected |
| 22.04 | golang-1-13 | affected |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2020-29510
- github.com https://github.com/golang/go/issues/43168
- github.com https://github.com/mattermost/xml-roundtrip-validator/blob/master/advisories/unstable-directives.md
- mattermost.com https://mattermost.com/blog/coordinated-disclosure-go-xml-vulnerabilities/
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2020-29510
- security.netapp.com https://security.netapp.com/advisory/ntap-20210129-0006/
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2020-29510
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.