(ReDoS) Regular Expression Denial of Service in tf2-item-format
High severity
GitHub Reviewed
Published
Jul 23, 2024
in
danocmx/node-tf2-item-format
•
Updated Aug 2, 2024
Description
Published to the GitHub Advisory Database
Jul 23, 2024
Reviewed
Jul 23, 2024
Published by the National Vulnerability Database
Jul 23, 2024
Last updated
Aug 2, 2024
Summary
Versions of
tf2-item-format
since at least4.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.References