Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. slug
  4. ›
  5. CVE-2017-16117

CVE-2017-16117: Uncontrolled Resource Consumption

June 7, 2018 (updated October 9, 2019)

slug is a module to slugify strings, even if they contain unicode. slug is vulnerable to regular expression denial of service is specially crafted untrusted input is passed as input. About k characters can block the event loop for 2 seconds.

References

  • nvd.nist.gov/vuln/detail/CVE-2017-16117

Code Behaviors & Features

Detect and mitigate CVE-2017-16117 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 0.9.1

Fixed versions

  • 0.9.2

Solution

Upgrade to version 0.9.2 or above.

Impact 7.5 HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

npm/slug/CVE-2017-16117.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:45 +0000.