~ / search / GHSA-jxqq-cqm6-pfq9

GHSA-jxqq-cqm6-pfq9

Regular Expression Denial of Service in slug

Source: GitHub Advisory Database (reviewed) Moderate CVE-2017-16117

Packages

EcosystemPackageAffectedFixed in
npm slug < 0.9.2 0.9.2

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.