go: encoding/xml: XML directives instability
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Golang | Go | affected |
|
Configuration 1 [-]
|
Configuration 2 [-]
|
No data.
No data available yet.
Vendor Workaround
Untrusted markup in affected applications can be validated using the github.com/mattermost/xml-roundtrip-validator module.
| 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. |
No CVSS v4.0
No CVSS v3.0
This CVE is not in the KEV list.
Exploit prediction score: 2.1% (2.072% probability within 30 days)
Key SSVC decision points have not yet been added.
No history.