Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWp4cXEtY3FtNi1wZnE5

Regular Expression Denial of Service in slug

Affected versions of slug are vulnerable to a regular expression denial of service when parsing untrusted user input.

The issue is low severity, as it takes 50,000 characters to cause the event loop to block for 2 seconds,

About 50k characters can block the event loop for 2 seconds.

Recommendation

Update to version 0.9.2 or later.

Permalink: https://github.com/advisories/GHSA-jxqq-cqm6-pfq9
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWp4cXEtY3FtNi1wZnE5
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: over 6 years ago
Updated: almost 2 years ago


Identifiers: GHSA-jxqq-cqm6-pfq9, CVE-2017-16117
References: Repository: https://github.com/dodo/node-slug
Blast Radius: 0.0

Affected Packages

npm:slug
Dependent packages: 897
Dependent repositories: 13,859
Downloads: 1,063,268 last month
Affected Version Ranges: <= 0.9.1
Fixed in: 0.9.2
All affected versions: 0.1.0, 0.1.1, 0.2.0, 0.2.1, 0.2.2, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.4.0, 0.4.1, 0.4.2, 0.5.0, 0.6.0, 0.7.0, 0.7.1, 0.8.0, 0.9.0, 0.9.1
All unaffected versions: 0.9.2, 0.9.3, 0.9.4, 1.0.0, 1.1.0, 2.0.0, 2.1.0, 2.1.1, 3.0.0, 3.0.1, 3.1.0, 3.2.0, 3.3.0, 3.3.1, 3.3.2, 3.3.3, 3.3.4, 3.3.5, 3.3.6, 3.4.0, 3.5.0, 3.5.1, 3.5.2, 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.1.0, 5.0.0, 5.0.1, 5.1.0, 5.1.1, 5.2.0, 5.3.0, 6.0.0, 6.1.0, 7.0.0, 8.0.0, 8.1.0, 8.2.0, 8.2.1, 8.2.2, 8.2.3, 9.0.0, 9.1.0, 10.0.0