debug-js debug node.js useColors redos
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-1333.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| debug-js | debug | 3.0 | — | No fix listed | CNA |
| — | debug (npm) | 3.0.0 to before 3.1.0 | 3.1.0 | Patch available | GHSA-9vvw-cc9w-f27h |
| — | debug (npm) | before 2.6.9 | 2.6.9 | Patch available | GHSA-9vvw-cc9w-f27h |
- debug Vendordebug-js Affected 3.0 Fixed in — No fix listed CNA
- debug (npm) Vendor— Affected 3.0.0 to before 3.1.0 Fixed in 3.1.0 Patch available GHSA-9vvw-cc9w-f27h
- debug (npm) Vendor— Affected before 2.6.9 Fixed in 2.6.9 Patch available GHSA-9vvw-cc9w-f27h
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:debug_project:debug:*:*:*:*:*:node.js:*:* | before 2.6.9; 3.0.0 to before 3.1.0 | Vulnerable | Debug Project |
- cpe:2.3:a:debug_project:debug:*:*:*:*:*:node.js:*:* Versions before 2.6.9; 3.0.0 to before 3.1.0 Vulnerable ·Debug Project
Remediation
- Fix · GHSA-9vvw-cc9w-f27h debug (npm) Fixed in 3.1.0 Advisory →
- Fix · GHSA-9vvw-cc9w-f27h debug (npm) Fixed in 2.6.9 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2017-20165
- 2026-10-03 Alias added: GHSA-9vvw-cc9w-f27h
References
Patch 3
More debug-js vulnerabilities
- TI-2025-36749 [email protected] contains malware after npm account takeover CVSS 4.0HIGH 8.8
Sources
- CVE-2017-20165 · CVE Program
- CVE-2017-20165 · NVD
- FIRST EPSS
- GHSA-9vvw-cc9w-f27h · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences