Skip to content

Regular Expression Denial of Service in clean-css

Low severity GitHub Reviewed Published Jun 5, 2019 to the GitHub Advisory Database • Updated Apr 11, 2023

Package

npm clean-css (npm)

Affected versions

< 4.1.11

Patched versions

4.1.11

Description

Version of clean-css prior to 4.1.11 are vulnerable to Regular Expression Denial of Service (ReDoS). Untrusted input may cause catastrophic backtracking while matching regular expressions. This can cause the application to be unresponsive leading to Denial of Service.

Recommendation

Upgrade to version 4.1.11 or higher.

References

Reviewed Jun 5, 2019
Published to the GitHub Advisory Database Jun 5, 2019
Last updated Apr 11, 2023

Severity

Low

Weaknesses

CVE ID

No known CVE

GHSA ID

GHSA-wxhq-pm8v-cw75

Source code

No known source code

Credits

Checking history
See something to contribute? Suggest improvements for this vulnerability.