GitHub Advisoryadvisory · npm

GHSA-8h55-q5qq-p685 (ReDoS) Regular Expression Denial of Service in tf2-item-format

HIGH Published 2024-07-23 Modified 2024-07-23 Official page ↗
Aliases
CVE-2024-41655
Ecosystem
npm
Packages
tf2-item-format
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-1333, CWE-624
Reviewed
2024-07-23

Affected packages

• npm tf2-item-format: >= 4.2.6, < 5.9.14 → fixed in 5.9.14

Description

Summary Versions of `tf2-item-format` since at least `4.2.6` are vulnerable to a Regular Expression Denial of Service (ReDoS) attack when parsing crafted user input. Tested Versions • `5.9.13` • `5.8.10` • `5.7.0` • `5.6.17` • `4.3.5` • `4.2.6` v5 Upgrade package to `^5.9.14` v4 No patch exists. Please consult the v4 to v5 migration guide to upgrade to v5. If upgrading to v5 is not possible, fork the module repository and implement the fix detailed below. Impact This vulnerability can be exploited by an attacker to perform DoS attacks on any service that uses any `tf2-item-format` to parse user input.

Related

Alias · CVE (1)

  • CVE-2024-41655 TF2 Item Format helps users format TF2 items to the community standards. vulnerability

Weakness · CWE (2)

  • CWE-1333 Inefficient Regular Expression Complexity weakness
  • CWE-624 Executable Regular Expression Error weakness

References