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.
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2017-16137US | medium5.3 | — | ||
The debug module is vulnerable to regular expression denial of service when untrusted user input is passed into the o formatter. It takes around 50k characters to block for 2 secon… | ||||
references
External citations — patches, advisories, analysis.
- https://github.com/debug-js/debug/commit/4e2150207c568adb9ead8f4c4528016081c88020WEB
- https://github.com/debug-js/debug/commit/71169065b5262f9858ac78cc0b688c84a438f290WEB
- https://github.com/debug-js/debug/commit/b6d12fdbc63b483e5c969da33ea6adc09946b5acWEB
- https://github.com/debug-js/debug/commit/f53962e944a87e6ca9bb622a2a12dffc22a9bb5aWEB
- https://github.com/debug-js/debug/issues/797WEB
- https://github.com/visionmedia/debugPACKAGE
- https://github.com/visionmedia/debug/issues/501WEB
- https://github.com/visionmedia/debug/pull/504WEB
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan