{"id":"CVE-2024-41655","aliases":["CVE-2024-41655","GHSA-8h55-q5qq-p685"],"related":[],"kind":"vulnerability","state":"published","title":"TF2 Item Format Regular Expression Denial of Service vulnerability","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"## 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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"TF2 Item Format ayuda a los usuarios a formatear los elementos TF2 según los estándares de la comunidad. Las versiones de `tf2-item-format` desde al menos `4.2.6` y anteriores a `5.9.14` son vulnerables a un ataque de denegación de servicio de expresión regular (ReDoS) al analizar entradas de usuario manipuladas. Un atacante puede aprovechar esta vulnerabilidad para realizar ataques DoS en cualquier servicio que utilice cualquier \"tf2-item-format\" para analizar la entrada del usuario. La versión `5.9.14` contiene una solución para el problema.","source":"nvd"}],"published":"2024-07-23T14:10:45.000Z","modified":"2026-09-10T03:50:16.399Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"HIGH"}],"cwes":["CWE-624","CWE-1333"],"affected":[{"ranges":[{"version":">= 4.2.6, < 5.9.14","status":"affected"}],"vendor":"danocmx","product":"node-tf2-item-format","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"4.2.6","fixed":"5.9.14","status":"affected"}],"vendor":"danocmx","product":"node-tf2-item-format","cpe":"cpe:2.3:a:danocmx:node-tf2-item-format:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"4.2.6","status":"affected","fixed":"5.9.14"}],"ecosystem":"npm","package":"tf2-item-format","purl":"pkg:npm/tf2-item-format","source":"ghsa"}],"references":[{"url":"https://github.com/danocmx/node-tf2-item-format/security/advisories/GHSA-8h55-q5qq-p685","tags":["web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/danocmx/node-tf2-item-format/commit/5cffcc16a9261d6a937bda72bfe6830e02e31eec","tags":["web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/danocmx/node-tf2-item-format/releases/tag/v5.9.14","tags":["web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-41655","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/danocmx/node-tf2-item-format","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2024-07-23T14:57:56.367Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-41655","url":"https://www.cve.org/CVERecord?id=CVE-2024-41655","licence":"CVE Terms of Use","modified":"2024-08-02T04:46:52.666Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8h55-q5qq-p685","url":"https://github.com/advisories/GHSA-8h55-q5qq-p685","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:16.399Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-41655","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-41655","licence":"Public domain","modified":"2026-06-17T07:47:59.597Z"}],"updatedAt":"2026-11-25T22:58:43.166Z","epss":{"score":0.00766,"percentile":0.56677,"date":"2026-12-01T12:00:22.000Z"}}