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

Configuration 1 (hide)

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

History

08 Aug 2023, 14:22

Type Values Removed Values Added
CWE NVD-CWE-Other CWE-1333
CVSS v2 : 5.0
v3 : 5.3
v2 : 5.0
v3 : 7.5

Information

Published : 2021-04-26 16:15

Updated : 2024-02-04 21:47


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