CVE-2017-20165
debug-js debug node.js useColors redos
Also known as GHSA-9vvw-cc9w-f27h
Published 3 y ago · modified 4 mo ago · JSON
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.
CISA SSVC assessment
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction (EPSS)
2.10% probability of exploitation in the next 30 days, higher than 82% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| CNA | 3.1 | 3.5 | CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| CNA | 3.0 | 3.5 | CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| CNA | 2.0 | 2.7 | AV:A/AC:L/Au:S/C:N/I:N/A:P |
| CNA | 3.1 | 3.5 | CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CNA | 2.0 | 2.7 | AV:A/AC:L/Au:S/C:N/I:N/A:P |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | debug | >=3.0.0, <3.1.0 <2.6.9 | 3.1.0 2.6.9 |
Affected products
- debug-js debug
Classification
- Weakness
- CWE-1333 Inefficient Regular Expression Complexity
References
- vuldb.com /?id.217665 · vdb-entry, technical-description, x_transferred
- vuldb.com /?ctiid.217665 · signature, permissions-required, x_transferred
- github.com /debug-js/debug/pull/504 · issue-tracking, x_transferred
- github.com /debug-js/debug/commit/c38a0166c266a679c8de012d4eaccec3f944e685 · patch, x_transferred
- github.com /debug-js/debug/releases/tag/3.1.0 · patch, x_transferred
- nvd.nist.gov /vuln/detail/CVE-2017-20165 · advisory
- github.com /debug-js/debug/commit/f53962e944a87e6ca9bb622a2a12dffc22a9bb5a · web
- github.com /debug-js/debug · package
- github.com /debug-js/debug/releases/tag/2.6.9 · web
Sources
- CVE List: CVE-2017-20165
- GitHub Advisory: GHSA-9vvw-cc9w-f27h
- NVD: CVE-2017-20165
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.