SCA: security update for fast-xml-parser (GHSA-6w63-h3fj-q4vw)

high Tenable Cloud Security Plugin ID 411664

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- fast-xml-parser is an open source, pure javascript xml parser. fast-xml-parser allows special characters
in entity names, which are not escaped or sanitized. Since the entity name is used for creating a regex
for searching and replacing entities in the XML body, an attacker can abuse it for denial of service (DoS)
attacks. By crafting an entity name that results in an intentionally bad performing regex and utilizing it
in the entity replacement step of the parser, this can cause the parser to stall for an indefinite amount
of time. This problem has been resolved in v4.2.4. Users are advised to upgrade. Users unable to upgrade
should avoid using DOCTYPE parsing by setting the `processEntities: false` option. (CVE-2023-34104)

Solution

Update the fast-xml-parser library and its related packages to version 4.2.4 or later.

See Also

https://github.com/advisories/GHSA-6w63-h3fj-q4vw

Plugin Details

Severity: High

ID: 411664

Version: Revision 1.10

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.73

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C

CVSS Score Source: CVE-2023-34104

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 6/6/2023

Vulnerability Publication Date: 6/6/2023

Reference Information

CVE: CVE-2023-34104