Advisory

GHSA-9vvw-cc9w-f27h

Also known as: CVE-2017-20165

Summary

debug Inefficient Regular Expression Complexity vulnerability

Details

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. The patch has been backported to the 2.6.x branch in version 2.6.9.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2023-01-09 12:30 UTC
Modified
2023-11-08 03:59 UTC

Affected packages and fixes

debug

npm · All systems

Affected

  • introduced 3.0.0, fixed 3.1.0 (semver)

Fixed versions

3.1.0

Fix

debug

npm · All systems

Affected

  • introduced 0, fixed 2.6.9 (semver)

Fixed versions

2.6.9

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences