Inefficient Regular Expression Complexity Affecting node-debug package, versions <3.1.0-1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
1.81% (89th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Inefficient Regular Expression Complexity vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIANUNSTABLE-NODEDEBUG-3231716
  • published17 Jan 2023
  • disclosed9 Jan 2023

Introduced: 9 Jan 2023

CVE-2017-20165  (opens in a new tab)
CWE-1333  (opens in a new tab)

How to fix?

Upgrade Debian:unstable node-debug to version 3.1.0-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream node-debug package and not the node-debug package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1