Vulnerability library
Security checkOctober 24, 2023

debug Inefficient Regular Expression Complexity vulnerability

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpmdebug

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

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.

Recommendation

Update the debug package to the latest compatible version. Followings are version details:

  • Affected version(s): **>= 3.0.0, < 3.1.0 < 2.6.9**
  • Patched version(s): **3.1.0 2.6.9**

References

Could your website be exposed too?

SmartScanner can check your website for debug Inefficient Regular Expression Complexity vulnerability and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated October 24, 2023