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.
WS-2019-0017 - Medium Severity Vulnerability
Vulnerable Library - clean-css-2.0.8.tgz
A well-tested CSS minifier
Library home page: https://registry.npmjs.org/clean-css/-/clean-css-2.0.8.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/clean-css/package.json
Dependency Hierarchy: - less-openui5-0.1.2.tgz (Root Library) - less-1.6.3.tgz - :x: **clean-css-2.0.8.tgz** (Vulnerable Library)
Found in HEAD commit: 8b832bf233deeb3f62310d7aa93eae79c2af69ed
Found in base branch: main
Vulnerability Details
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.
Publish Date: 2018-03-06
URL: WS-2019-0017
CVSS 3 Score Details (5.3)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - Availability Impact: Low
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://github.com/advisories/GHSA-wxhq-pm8v-cw75
Release Date: 2018-03-06
Fix Resolution (clean-css): 4.1.11
Direct dependency fix Resolution (less-openui5): 0.8.0
:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.