CVE-2021-23382

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=(.*).
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:postcss:postcss:*:*:*:*:*:node.js:*:*
cpe:2.3:a:postcss:postcss:*:*:*:*:*:node.js:*:*

History

21 Nov 2024, 05:51

Type Values Removed Values Added
References () https://github.com/postcss/postcss/commit/2b1d04c867995e55124e0a165b7c6622c1735956 - Patch, Third Party Advisory () https://github.com/postcss/postcss/commit/2b1d04c867995e55124e0a165b7c6622c1735956 - Patch, Third Party Advisory
References () https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1255641 - Exploit, Patch, Third Party Advisory () https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1255641 - Exploit, Patch, Third Party Advisory
References () https://snyk.io/vuln/SNYK-JS-POSTCSS-1255640 - Exploit, Patch, Third Party Advisory () https://snyk.io/vuln/SNYK-JS-POSTCSS-1255640 - Exploit, Patch, Third Party Advisory
CVSS v2 : 5.0
v3 : 7.5
v2 : 5.0
v3 : 5.3

08 Aug 2023, 14:22

Type Values Removed Values Added
CWE NVD-CWE-Other CWE-1333

Information

Published : 2021-04-26 16:15

Updated : 2024-11-21 05:51


NVD link : CVE-2021-23382

Mitre link : CVE-2021-23382

CVE.ORG link : CVE-2021-23382


JSON object : View

Products Affected

postcss

  • postcss
CWE
CWE-1333

Inefficient Regular Expression Complexity