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.
Metrics
Affected Vendors & Products
Advisories
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2020-21877 | 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. |
Fixes
Solution
No solution given by the vendor.
Workaround
Untrusted markup in affected applications can be validated using the github.com/mattermost/xml-roundtrip-validator module.
References
History
No history.
Status: PUBLISHED
Assigner: Mattermost
Published:
Updated: 2024-09-16T16:48:42.611Z
Reserved: 2020-12-03T00:00:00
Link: CVE-2020-29510
No data.
Status : Modified
Published: 2020-12-14T20:15:13.200
Modified: 2024-11-21T05:24:09.020
Link: CVE-2020-29510
OpenCVE Enrichment
No data.
EUVD