CVE-2017-16137
MEDIUM 5.3CVSS 3.0Regular Expression Denial of Service in debug
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 seconds making this a low severity issue.
- Published
- 7 Jun 2018
- Last modified
- 15 Oct 2026
- Assigned by
- support@hackerone.com
- NVD status
- Modified
- Weakness
- CWE-400
- Also known as
- GHSA-gxpj-cx7g-858c
- Sources
- NVDJSONOSV GHSA-gxpj-cx7g-858cJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | MEDIUM 5.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | debug_project | debugcpe:2.3:a:debug_project:debug:*:*:*:*:*:node.js:*:* |
>= 2.0.0, < 2.6.9 | 2.6.9 |
| NVD | debug_project | debugcpe:2.3:a:debug_project:debug:*:*:*:*:*:node.js:*:* |
>= 3.0.0, < 3.1.0 | 3.1.0 |
| OSV | npm | debug | < 2.6.9 | 2.6.9 |
| OSV | npm | debug | >= 3.0.0, < 3.1.0 | 3.1.0 |
| OSV | npm | debug | >= 3.2.0, < 3.2.7 | 3.2.7 |
| OSV | npm | debug | >= 4.0.0, < 4.3.1 | 4.3.1 |
References
- https://github.com/visionmedia/debug/issues/501 · Third Party Advisory, WEB
- https://github.com/visionmedia/debug/pull/504 · Patch, Third Party Advisory, WEB
- https://lists.apache.org/thread.html/r8ba4c628fba7181af58817d452119481adce4ba92e889c643e4c7dd3%40%3Ccommits.netbeans.apache.org%3E
- https://lists.apache.org/thread.html/rb5ac16fad337d1f3bb7079549f97d8166d0ef3082629417c39f12d63%40%3Cnotifications.netbeans.apache.org%3E
- https://nodesecurity.io/advisories/534 · Third Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2017-16137 · ADVISORY
- https://github.com/debug-js/debug/issues/797 · WEB
- https://github.com/debug-js/debug/commit/4e2150207c568adb9ead8f4c4528016081c88020 · WEB
- https://github.com/debug-js/debug/commit/71169065b5262f9858ac78cc0b688c84a438f290 · WEB
- https://github.com/debug-js/debug/commit/b6d12fdbc63b483e5c969da33ea6adc09946b5ac · WEB
- https://github.com/debug-js/debug/commit/f53962e944a87e6ca9bb622a2a12dffc22a9bb5a · WEB
- https://github.com/visionmedia/debug · PACKAGE
- https://lists.apache.org/thread.html/r8ba4c628fba7181af58817d452119481adce4ba92e889c643e4c7dd3@%3Ccommits.netbeans.apache.org%3E · WEB
- https://lists.apache.org/thread.html/rb5ac16fad337d1f3bb7079549f97d8166d0ef3082629417c39f12d63@%3Cnotifications.netbeans.apache.org%3E · WEB
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 7 Jun 2018)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 9 Aug 2018)