Live threats

All CVEs / Slug Project

CVE-2017-16117Slug Project Slug

High 7.5 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Slug.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
slug_projectslug≤ 0.9.1

Official sources

References

Links published by the sources. Open them with care.