debug
Affected
- introduced
0, fixed2.6.9(semver)
Fixed versions
2.6.9
Fix
- Fixed version
2.6.9npm install [email protected]
Advisory
Also known as: CVE-2017-16137
Regular Expression Denial of Service in debug
Affected versions of debug are vulnerable to regular expression denial of service when untrusted user input is passed into the o formatter.
As it takes 50,000 characters to block the event loop for 2 seconds, this issue is a low severity issue.
This was later re-introduced in version v3.2.0, and then repatched in versions 3.2.7 and 4.3.1.
Recommendation
Version 2.x.x: Update to version 2.6.9 or later.
Version 3.1.x: Update to version 3.1.0 or later.
Version 3.2.x: Update to version 3.2.7 or later.
Version 4.x.x: Update to version 4.3.1 or later.
Low Basis: The source's own band: LOW
0, fixed 2.6.9 (semver)2.6.9
2.6.9npm install [email protected]3.0.0, fixed 3.1.0 (semver)3.1.0
3.1.0npm install [email protected]3.2.0, fixed 3.2.7 (semver)3.2.7
3.2.7npm install [email protected]4.0.0, fixed 4.3.1 (semver)4.3.1
4.3.1npm install [email protected]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
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0