tf2-item-format
Affected
- introduced
4.2.6, fixed5.9.14(semver)
Fixed versions
5.9.14
Fix
- Fixed version
5.9.14npm install [email protected]
Advisory
Also known as: CVE-2024-41655
(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.135.8.105.7.05.6.174.3.54.2.6v5
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.
High Basis: The source's own band: HIGH
4.2.6, fixed 5.9.14 (semver)5.9.14
5.9.14npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0