{"id":"CVE-2024-41655","aliases":["GHSA-8h55-q5qq-p685"],"url":"https://o3.security/vulnerability/CVE-2024-41655","summary":"TF2 Item Format Regular Expression Denial of Service vulnerability","details":"## Summary\n\nVersions 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. \n\n## Tested Versions\n\n- `5.9.13`\n- `5.8.10`\n- `5.7.0`\n- `5.6.17`\n- `4.3.5`\n- `4.2.6`\n\n### v5\nUpgrade package to `^5.9.14`\n\n### v4\nNo 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.\n\nIf upgrading to v5 is not possible, fork the module repository and implement the fix detailed below.\n\n## Impact\n\nThis vulnerability can be exploited by an attacker to perform DoS attacks on any service that uses any `tf2-item-format` to parse user input.","published":"2024-07-23T14:49:34.078Z","modified":"2026-08-12T03:51:32.681150191Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"tf2-item-format","fixedVersion":"5.9.14"}],"fix":{"url":"https://github.com/danocmx/node-tf2-item-format/commit/5cffcc16a9261d6a937bda72bfe6830e02e31eec","label":"danocmx/node-tf2-item-format@5cffcc1"},"references":[{"type":"WEB","url":"https://github.com/danocmx/node-tf2-item-format/releases/tag/v5.9.14"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41655.json"},{"type":"ADVISORY","url":"https://github.com/danocmx/node-tf2-item-format/security/advisories/GHSA-8h55-q5qq-p685"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-41655"},{"type":"FIX","url":"https://github.com/danocmx/node-tf2-item-format/commit/5cffcc16a9261d6a937bda72bfe6830e02e31eec"},{"type":"PACKAGE","url":"https://github.com/danocmx/node-tf2-item-format"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:32.681150191Z"}}