CVE-2021-23382
Dashboard / Vulnerabilities / CVE-2021-23382
CVE-2021-23382
Published: 26 Apr 2021Last Modified: 7 Aug 2026
Summary:
Details: 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=(.*).
References: https://github.com/postcss/postcss/commit/2b1d04c867995e55124e0a165b7c6622c1735956, https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1255641, https://snyk.io/vuln/SNYK-JS-POSTCSS-1255640
Affected packages
Package
Name:
Purl:
Affected ranges
Affected versions
7.0.35
7.0.34
7.0.33
7.0.32
7.0.31
7.0.30
7.0.29
7.0.28
7.0.27
7.0.26
7.0.25
7.0.24
7.0.23
7.0.22
7.0.21
7.0.20
7.0.19
7.0.18
7.0.17
7.0.16
7.0.15
7.0.14
7.0.13
7.0.12
7.0.11
7.0.10
7.0.9
7.0.8
7.0.7
7.0.6
7.0.5
7.0.4
7.0.3
7.0.2
7.0.1
7.0.0
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
