Debian Security Advisory
DLA-3260-1 node-xmldom -- LTS security update
- Date Reported:
- 01 Jan 2023
- Affected Packages:
- Security database references:
- In the Debian bugtracking system: Bug 1024736.
In Mitre's CVE dictionary: CVE-2021-21366, CVE-2022-39353.
- More information:
xmldom versions 0.4.0 and older do not correctly preserve system identifiers, FPIs or namespaces when repeatedly parsing and serializing maliciously crafted documents. This may lead to unexpected syntactic changes during XML processing in some downstream applications.
Mark Gollnick discovered that xmldom parses XML that is not well-formed because it contains multiple top level elements, and adds all root nodes to the
childNodescollection of the
Document, without reporting or throwing any error. This breaks the assumption that there is only a single root node in the tree, and may open security holes such as CVE-2022-39299 in downstream applications.
For Debian 10 buster, these problems have been fixed in version 0.1.27+ds-1+deb10u2.
We recommend that you upgrade your node-xmldom packages.
For the detailed security status of node-xmldom please refer to its security tracker page at: https://security-tracker.debian.org/tracker/node-xmldom
Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: https://wiki.debian.org/LTS