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.
Workaround:
The product misinterprets an input, whether from an attacker or another product, in a security-relevant fashion.
Link | Tags |
---|---|
https://github.com/mattermost/xml-roundtrip-validator/blob/master/advisories/unstable-directives.md | third party advisory |
https://security.netapp.com/advisory/ntap-20210129-0006/ | third party advisory |