logo

CVE-2024-41655 tf2-item-format

Package

Manager: npm
Name: tf2-item-format
Vulnerable Version: >=4.2.6 <5.9.14

Severity

Level: High

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

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

EPSS: 0.00068 pctl0.21423

Details

(ReDoS) Regular Expression Denial of Service in tf2-item-format ## 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](https://github.com/danocmx/node-tf2-item-format?tab=readme-ov-file#migrating-from-v4-to-v5) 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.

Metadata

Created: 2024-07-23T14:10:45Z
Modified: 2024-07-23T15:51:54Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/07/GHSA-8h55-q5qq-p685/GHSA-8h55-q5qq-p685.json
CWE IDs: ["CWE-1333", "CWE-624"]
Alternative ID: GHSA-8h55-q5qq-p685
Finding: F211
Auto approve: 1