Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. debug
  4. ›
  5. CVE-2017-20165

CVE-2017-20165: Inefficient Regular Expression Complexity

January 9, 2023 (updated February 2, 2023)

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 name of the patch is c38a0166c266a679c8de012d4eaccec3f944e685. It is recommended to upgrade the affected component. The identifier VDB-217665 was assigned to this vulnerability.

References

  • github.com/advisories/GHSA-9vvw-cc9w-f27h
  • github.com/debug-js/debug/commit/c38a0166c266a679c8de012d4eaccec3f944e685
  • github.com/debug-js/debug/pull/504
  • github.com/debug-js/debug/releases/tag/3.1.0
  • nvd.nist.gov/vuln/detail/CVE-2017-20165
  • vuldb.com/?ctiid.217665
  • vuldb.com/?id.217665

Code Behaviors & Features

Detect and mitigate CVE-2017-20165 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.6.9, all versions starting from 3.0.0 before 3.1.0

Fixed versions

  • 2.6.9
  • 3.1.0

Solution

Upgrade to versions 2.6.9, 3.1.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-1333: Inefficient Regular Expression Complexity

Source file

npm/debug/CVE-2017-20165.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:27 +0000.