Vulnerability · Published Jul 23, 2024 · Assigned by GitHub_M
CVE-2024-41655TF2 Item Format Regular Expression Denial of Service vulnerability
High 7.5
In plain English
A high-severity regular-expression denial of service in node-tf2-item-format from danocmx. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 56% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
TF2 Item Format helps users format TF2 items to the community standards. Versions of `tf2-item-format` since at least `4.2.6` and prior to `5.9.14` are vulnerable to a Regular Expression Denial of Service (ReDoS) attack when parsing crafted user input. 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. Version `5.9.14` contains a fix for the issue.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | tf2-item-format | 5.9.14 | GHSA-8h55-q5qq-p685 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| danocmx | node-tf2-item-format | >= 4.2.6, < 5.9.14 |
Weakness: CWE-624, CWE-1333 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/danocmx/node-tf2-item-format/security/advisories/GHSA-8h55-q5qq-p685 x_refsource_CONFIRM
- https://github.com/danocmx/node-tf2-item-format/commit/5cffcc16a9261d6a937bda72bfe6830e02e31eec x_refsource_MISC
- https://github.com/danocmx/node-tf2-item-format/releases/tag/v5.9.14 x_refsource_MISC