Inefficient Regular Expression Complexity The advisory has been revoked - it doesn't affect any version of package node-webfont  (opens in a new tab)


Threat Intelligence

EPSS
1.13% (66th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN12-NODEWEBFONT-5673436
  • published9 Jun 2023
  • disclosed6 Jun 2023

Introduced: 6 Jun 2023

CVE-2023-34104  (opens in a new tab)
CWE-1333  (opens in a new tab)

Amendment

The Debian security team deemed this advisory irrelevant for Debian:12.

NVD Description

Note: Versions mentioned in the description apply only to the upstream node-webfont package and not the node-webfont package as distributed by Debian.

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.