Improper Interaction Between Multiple Correctly-Behaving Entities in xmldom - CVE-2021-21366
Published: June 2, 2023
Vulnerability details
The vulnerability allows a remote attacker to gain access to the system.
The vulnerability exists due to xmldom do not correctly preserve system identifiers, FPIs or namespaces when repeatedly parsing and serializing maliciously crafted documents. A remote attacker can send a specially crafted file and make syntactic changes during XML processing in some downstream applications.
Affected software
Ubuntu
node-xmldom (Ubuntu package)
IBM Cloud Automation Manager
How to mitigate CVE-2021-21366
node-xmldom (Ubuntu package) - addressed in versions 0.1.27+ds-1+deb10u2build0.20.04.1, 0.7.5-1ubuntu0.22.04.1, 0.7.5-1ubuntu0.22.10.1
IBM Cloud Automation Manager - update to 4.2.0.1 iFix 3
External References
- https://github.com/xmldom/xmldom/releases/tag/0.5.0
- https://www.npmjs.com/package/xmldom
- https://github.com/xmldom/xmldom/commit/d4201b9dfbf760049f457f9f08a3888d48835135
- https://github.com/xmldom/xmldom/security/advisories/GHSA-h6q6-9hqw-rwfv
- https://lists.debian.org/debian-lts-announce/2023/01/msg00000.html