debug Inefficient Regular Expression Complexity vulnerability
Affected releases · debug
- 3.x3.0.0 – 3.0.1Fixed in 3.1.0
- 2.x2.0.0 – 2.6.8Fixed in 2.6.9
- 1.x and older0.0.1 – 1.0.5No fix, no longer updated
On 3.x, the newest line:
npm install debug@3.1.0Every release on a timeline
Not affected
4.0.0 – 4.4.3
17 releases, latest
Affected
3.0.0 – 3.0.1
2 releases
Fixed
3.1.0 – 3.2.7
9 releases
Affected
2.0.0 – 2.6.8
28 releases
Fixed
2.6.9
1 release
Affected
1.0.0 – 1.0.5
6 releases
Affected
0.0.1 – 0.8.1
15 releases
What happens
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 c38a016. 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.