CVE-2020-29510
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Golang | Go | unspecified <= 1.15 | affected |
Weaknesses
- CWE-115: CWE-115 Misinterpretation of Input
Workarounds
Untrusted markup in affected applications can be validated using the github.com/mattermost/xml-roundtrip-validator module.
ADP Enrichment
CVE Program Container
Additional References
- https://github.com/mattermost/xml-roundtrip-validator/blob/master/advisories/unstable-directives.md
- https://security.netapp.com/advisory/ntap-20210129-0006/
References
- https://github.com/mattermost/xml-roundtrip-validator/blob/master/advisories/unstable-directives.md
- https://security.netapp.com/advisory/ntap-20210129-0006/
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.