CVE-2020-29509: Critical severity Golang Go vulnerability

Published Dec 14, 2020
·
Updated

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.

Other sources

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.

MITRE

Affected Software

4 affected componentsFixes available
Golang Go<1.17
NetApp Trident
Microsoft cm1 golang 1.17.13-2<1.17.13-2
1.17.13-2
Microsoft cbl2 golang 1.20.10-1<1.20.10-1
1.20.10-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.17.13-2
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.20.10-1

Event History

Dec 14, 2020
CVE Published
via MITRE·08:02 PM
Data Sourced
via MITRE·08:02 PM
DescriptionSeverityWeakness
Dec 16, 2021
Data Sourced
via Microsoft·08:00 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·08:00 AM
Affected Software
Updated
via Microsoft·08:00 AM
DescriptionSeverity

Frequently Asked Questions

1

What is the severity of CVE-2020-29509?

The severity of CVE-2020-29509 is critical with a CVSS score of 5.6.

2

Which software versions are affected by CVE-2020-29509?

All versions of Go up to (but not including) 1.17 and Netapp Trident are affected by CVE-2020-29509.

3

How does CVE-2020-29509 affect the encoding/xml package in Go?

CVE-2020-29509 affects the encoding/xml package in Go by not correctly preserving the semantics of attribute namespace prefixes during tokenization round-trips.

4

How can an attacker exploit CVE-2020-29509?

An attacker can craft inputs that behave in conflicting ways during different stages of processing in affected downstream applications.

5

Are there any references available for CVE-2020-29509?

Yes, you can find references for CVE-2020-29509 at the following links: [GitHub Advisory](https://github.com/mattermost/xml-roundtrip-validator/blob/master/advisories/unstable-attributes.md) and [Netapp Advisory](https://security.netapp.com/advisory/ntap-20210129-0006/).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203