Lucene search

K
debianDebianDEBIAN:DLA-3260-1:D26DD
HistoryJan 01, 2023 - 5:00 p.m.

[SECURITY] [DLA 3260-1] node-xmldom security update

2023-01-0117:00:48
lists.debian.org
16
node-xmldom
xml dom
cve-2021-21366
cve-2022-39353
debian 10 buster
security update
pure javascript

CVSS2

4.3

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:N/I:P/A:N

CVSS3

9.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

AI Score

7.7

Confidence

Low

EPSS

0.009

Percentile

83.1%


Debian LTS Advisory DLA-3260-1 [email protected]
https://www.debian.org/lts/security/ Guilhem Moulin
January 01, 2023 https://wiki.debian.org/LTS

Package : node-xmldom
Version : 0.1.27+ds-1+deb10u2
CVE ID : CVE-2021-21366 CVE-2022-39353
Debian Bug : 1024736

It was discovered that node-xmldom, a standard XML DOM (Level2 CORE)
implementation in pure javascript, processed ill-formed XML, which may result in
bugs and security holes in downstream applications.

CVE-2021-21366

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.

CVE-2022-39353

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 `childNodes` collection 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
Attachment:
signature.asc
Description: PGP signature

OSVersionArchitecturePackageVersionFilename
Debian11allnode-xmldom< 0.5.0-1+deb11u2node-xmldom_0.5.0-1+deb11u2_all.deb
Debian10allnode-xmldom< 0.1.27+ds-1+deb10u2node-xmldom_0.1.27+ds-1+deb10u2_all.deb

CVSS2

4.3

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:N/I:P/A:N

CVSS3

9.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

AI Score

7.7

Confidence

Low

EPSS

0.009

Percentile

83.1%