CVE-2017-20165
debug-js debug node.js useColors redos
Reported by vuldb · Published January 9, 2023
debug is fixed in 3.1.0 and 2.6.9 (npm)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| debug | npm | 3.1.0, 2.6.9 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| debug-js | debug | 3.0 |
| debug-js | debug | 3.0 |
| npm | debug | 0, 3.0.0 |
| debug-js | debug |
Timeline
- Jan 9, 2023 CVE Published
- Jan 10, 2023 EPSS Score (30 in total, the first dated here)
- Feb 2, 2023 CVE Updated
- Mar 9, 2026 Security Advisory
- Sep 30, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2017-20165
vulnetix vdb fixes CVE-2017-20165
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2017-20165/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- vdb-entrytechnical-description
- signaturepermissions-required
- issue-tracking
- patch
- patch
- https://nvd.nist.gov/vuln/detail/CVE-2017-20165 advisory
- https://github.com/advisories/GHSA-9vvw-cc9w-f27h advisory