Advisory

GHSA-jxqq-cqm6-pfq9

Also known as: CVE-2017-16117

Summary

Regular Expression Denial of Service in slug

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2018-07-24 20:06 UTC
Modified
2023-11-08 03:59 UTC

Affected packages and fixes

slug

npm · All systems

Affected

  • introduced 0, fixed 0.9.2 (semver)

Fixed versions

0.9.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences