GitHub Advisoryadvisory · npm
GHSA-9vvw-cc9w-f27h debug Inefficient Regular Expression Complexity vulnerability
HIGH
Official page ↗
- Aliases
- CVE-2017-20165
- Ecosystem
- npm
- Packages
- debug
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-1333
- Reviewed
- 2023-01-10
Affected packages
• npm debug: >= 3.0.0, < 3.1.0 → fixed in 3.1.0
• npm debug: < 2.6.9 → fixed in 2.6.9
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. 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.
Related
Alias · CVE (1)
- CVE-2017-20165 A vulnerability classified as problematic has been found in debug-js debug up to 3.0.x. vulnerability
Weakness · CWE (1)
- CWE-1333 Inefficient Regular Expression Complexity weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2017-20165 advisory
- https://github.com/debug-js/debug/pull/504 web
- https://github.com/debug-js/debug/commit/c38a0166c266a679c8de012d4eaccec3f944e685 web
- https://github.com/debug-js/debug/commit/f53962e944a87e6ca9bb622a2a12dffc22a9bb5a web
- https://github.com/debug-js/debug package
- https://github.com/debug-js/debug/releases/tag/2.6.9 web
- https://github.com/debug-js/debug/releases/tag/3.1.0 web
- https://vuldb.com/?ctiid.217665 web
- https://vuldb.com/?id.217665 web