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 scanRelated Issues
- Vercel ms Inefficient Regular Expression Complexity vulnerability - CVE-2017-20162
- axios Inefficient Regular Expression Complexity vulnerability - CVE-2021-3749
- is-url Inefficient Regular Expression Complexity vulnerability - CVE-2018-25079
- steal Inefficient Regular Expression Complexity vulnerability via string variable - CVE-2022-37259


