CVE Vulnerabilities

CVE-2017-20165

Inefficient Regular Expression Complexity

Published: Jan 09, 2023 | Modified: Nov 21, 2024
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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.

Weakness

The product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential.

Affected Software

NameVendorStart VersionEnd Version
DebugDebug_project*2.6.9 (excluding)
DebugDebug_project3.0.0 (including)3.1.0 (excluding)
Node-debugUbuntubionic*
Node-debugUbuntuesm-apps/xenial*
Node-debugUbuntutrusty*
Node-debugUbuntuupstream*
Node-debugUbuntuxenial*

Potential Mitigations

References