Vulnerability in Debug-Js Debug
CVE-2017-20165
A vulnerability classified as problematic has been found in debug-js debug up to 3.0.x. This affects the function useColors of the file src/node.js. The manipulation of the argument str leads to inefficient regular expression complexity. Upgrading to version 3.1.0 is able to address this issue. The identifier of the patch is c38a0166c266a679c8de012d4eaccec3f944e685. It is recommended to upgrade the affected component. The identifier VDB-217665 was assigned to this vulnerability.
Vulnerability class: ReDoS (Regular Expression Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 3.5 (Low). Vector: CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS 0.022, 82.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Debug-Js Debug — versions 3.0
- Debug Project
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- fastify/send (16 stars, last pushed 2026-11-02): Fork of the send module to deal with CVE-2017-20165
Also mentioned in 3 other repositories (dev-chenxing/repos, HotDB-Community/HotDB-Engine, veradeveloper916/eslint-config-lintastic). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- vuldb.com/ (technical-description, VDB Entry, Third Party Advisory, vdb-entry)
- vuldb.com/ (signature, permissions-required, VDB Entry, Third Party Advisory)
- github.com/debug-js/debug/pull/504 (issue-tracking, Patch)
- github.com/debug-js/debug/commit/c38a0166c266a679c8de012d4eaccec3f944e685 (Patch, patch)
- github.com/debug-js/debug/releases/tag/3.1.0 (Release Notes, patch)
This CVE has public exploit evidence. See the latest CVEs with public exploits.