5.3med

CVE-2017-16137

Regular Expression Denial of Service in debug

Also known as GHSA-gxpj-cx7g-858c

Published 8 y ago · modified 23 d ago · JSON

CVSS
5.3
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
2.8%
percentile 87%
Public exploits
0
none known

Summary

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.

CISA SSVC assessment

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
23 d ago

Exploit prediction (EPSS)

2.83% probability of exploitation in the next 30 days, higher than 87% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.05.3CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
NVD2.05.0AV:N/AC:L/Au:N/C:N/I:N/A:P
GitHub3.13.7CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected packages

EcosystemPackageAffectedFixed in
npmdebug
<2.6.9
>=3.0.0, <3.1.0
>=3.2.0, <3.2.7
>=4.0.0, <4.3.1
2.6.9
3.1.0
3.2.7
4.3.1

Affected products

  • HackerOne debug node module

Classification

Weakness
  • CWE-400 Uncontrolled Resource Consumption

References

  • github.com /visionmedia/debug/pull/504 · x_refsource_MISC, x_transferred
  • github.com /visionmedia/debug/issues/501 · x_refsource_MISC, x_transferred
  • nodesecurity.io /advisories/534 · x_refsource_MISC, x_transferred
  • lists.apache.org /thread.html/r8ba4c628fba7181af58817d452119481adce4ba92e889c643e4c7dd3%40%3Ccommits.netbea · mailing-list, x_refsource_MLIST, x_transferred
  • lists.apache.org /thread.html/rb5ac16fad337d1f3bb7079549f97d8166d0ef3082629417c39f12d63%40%3Cnotifications. · mailing-list, x_refsource_MLIST, x_transferred
  • nvd.nist.gov /vuln/detail/CVE-2017-16137 · advisory
  • github.com /debug-js/debug/issues/797 · web
  • github.com /debug-js/debug/commit/4e2150207c568adb9ead8f4c4528016081c88020 · web
  • github.com /debug-js/debug/commit/71169065b5262f9858ac78cc0b688c84a438f290 · web
  • github.com /debug-js/debug/commit/b6d12fdbc63b483e5c969da33ea6adc09946b5ac · web
  • github.com /debug-js/debug/commit/f53962e944a87e6ca9bb622a2a12dffc22a9bb5a · web
  • github.com /visionmedia/debug · package
  • lists.apache.org /thread.html/r8ba4c628fba7181af58817d452119481adce4ba92e889c643e4c7dd3@%3Ccommits.netbeans · web
  • lists.apache.org /thread.html/rb5ac16fad337d1f3bb7079549f97d8166d0ef3082629417c39f12d63@%3Cnotifications.ne · web

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.