CVE-2021-23382

Regular Expression Denial of Service (ReDoS)

Published Apr 26, 2021 CVSS 3.1 · 5.3 Medium EPSS 2.6% KEV · Not listed
Description
The package postcss before 8.2.13 are vulnerable to Regular Expression Denial of Service (ReDoS) via getAnnotationURL() and loadAnnotation() in lib/previous-map.js. The vulnerable regexes are caused mainly by the sub-pattern \/\*\s* sourceMappingURL=(.*).

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-0459 The package postcss before 8.2.13 are vulnerable to Regular Expression Denial of Service (ReDoS) via getAnnotationURL() and loadAnnotation() in lib/previous-map.js. The vulnerable regexes are caused mainly by the sub-pattern \/\*\s* sourceMappingURL=(.*).
Github GHSA Github GHSA GHSA-566m-qj78-rww5 Regular Expression Denial of Service in postcss
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
snyk
Published
Updated
Sep 16, 2024, 11:26 PM
Reserved
Jan 8, 2021, 12:00 AM
Status
Modified
Published
Apr 26, 2021, 4:15 PM
Modified
Jun 17, 2026, 3:38 AM
Severity
Moderate
Public date
Apr 26, 2021, 12:00 AM