CVE-2017-16117Slug Project Slug
High 7.5 No auth needed
Follow: this CVE · Slug Project · Slug Project Slug We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.0
- 7.5
- EPSS
- 1.5% probability of exploitation in 30 days · percentile 75
- Auth required
- No
- Published
- Jun 7, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-400
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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 50k characters can block the event loop for 2 seconds.
What to do
- Apply the vendor's security update for Slug.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | slug |
< 0.9.2 |
0.9.2 |
npm install slug@0.9.2 |
Per OSV / GitHub Advisories (GHSA-jxqq-cqm6-pfq9). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| slug_project | slug | ≤ 0.9.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Third Party Advisory
- nodesecurity.io Third Party Advisory