CVE-2017-20165
HIGH 7.5CVSS 3.1debug Inefficient Regular Expression Complexity vulnerability
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.
- Published
- 9 Jan 2023
- Last modified
- 17 Jun 2026
- Assigned by
- cna@vuldb.com
- NVD status
- Modified
- Weakness
- CWE-1333
- Also known as
- GHSA-9vvw-cc9w-f27h
- Sources
- NVDJSONOSV GHSA-9vvw-cc9w-f27hJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | cna@vuldb.com (Secondary) | CVSS 3.1 | LOW 3.5 | CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| NVD | cna@vuldb.com (Secondary) | CVSS 2.0 | LOW 2.7 | AV:A/AC:L/Au:S/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | debug_project | debugcpe:2.3:a:debug_project:debug:*:*:*:*:*:node.js:*:* |
< 2.6.9 | 2.6.9 |
| NVD | debug_project | debugcpe:2.3:a:debug_project:debug:*:*:*:*:*:node.js:*:* |
>= 3.0.0, < 3.1.0 | 3.1.0 |
| OSV | npm | debug | >= 3.0.0, < 3.1.0 | 3.1.0 |
| OSV | npm | debug | < 2.6.9 | 2.6.9 |
References
- https://github.com/debug-js/debug/commit/c38a0166c266a679c8de012d4eaccec3f944e685 · Patch, WEB
- https://github.com/debug-js/debug/pull/504 · Patch, WEB
- https://github.com/debug-js/debug/releases/tag/3.1.0 · Release Notes, WEB
- https://vuldb.com/?ctiid.217665 · Third Party Advisory, VDB Entry, WEB
- https://vuldb.com/?id.217665 · Third Party Advisory, VDB Entry, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2017-20165 · ADVISORY
- https://github.com/debug-js/debug/commit/f53962e944a87e6ca9bb622a2a12dffc22a9bb5a · WEB
- https://github.com/debug-js/debug · PACKAGE
- https://github.com/debug-js/debug/releases/tag/2.6.9 · WEB
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 9 Jan 2023)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 9 Jan 2023)