3.5low

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

CVSS
3.5
v3.1 · CNA
CISA KEV
No
not known exploited
EPSS
2.1%
percentile 82%
Public exploits
0
none known

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 byVersionScoreVector
CNA3.13.5CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
CNA3.03.5CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
CNA2.02.7AV:A/AC:L/Au:S/C:N/I:N/A:P
CNA3.13.5CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
NVD3.17.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CNA2.02.7AV:A/AC:L/Au:S/C:N/I:N/A:P
GitHub3.17.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected packages

EcosystemPackageAffectedFixed in
npmdebug
>=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

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.