Improper Interaction Between Multiple Correctly-Behaving Entities in xmldom - CVE-2021-21366

 

Improper Interaction Between Multiple Correctly-Behaving Entities in xmldom - CVE-2021-21366

Published: June 2, 2023


Vulnerability identifier: #VU76822
CSH Severity: Low
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-21366
CWE-ID: CWE-435
Exploitation vector: Remote access
Exploit availability: No public exploit available

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

xmldom
Debian Linux
Ubuntu
node-xmldom (Debian package)
node-xmldom (Ubuntu package)
IBM Cloud Automation Manager

How to mitigate CVE-2021-21366

Install updates from vendor's website.

xmldom - update to 0.5.0
node-xmldom (Debian package) - update to 0.1.27+ds-1+deb10u2
IBM Cloud Automation Manager - update to 4.2.0.1 iFix 3
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

External References

Related Security Bulletins