CVE-2021-23382

CVSS V2 Medium 5 CVSS V3 High 7.5
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=(.*).
Overview
  • CVE ID
  • CVE-2021-23382
  • Assigner
  • report@snyk.io
  • Vulnerability Status
  • Analyzed
  • Published Version
  • 2021-04-26T16:15:07
  • Last Modified Date
  • 2022-09-19T17:29:21
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:postcss:postcss:*:*:*:*:*:node.js:*:* 1 OR 7.0.36
cpe:2.3:a:postcss:postcss:*:*:*:*:*:node.js:*:* 1 OR 8.0.0 8.2.13
CVSS Version 2
  • Version
  • 2.0
  • Vector String
  • AV:N/AC:L/Au:N/C:N/I:N/A:P
  • Access Vector
  • NETWORK
  • Access Compatibility
  • LOW
  • Authentication
  • NONE
  • Confidentiality Impact
  • NONE
  • Integrity Impact
  • NONE
  • Availability Impact
  • PARTIAL
  • Base Score
  • 5
  • Severity
  • MEDIUM
  • Exploitability Score
  • 10
  • Impact Score
  • 2.9
CVSS Version 3
  • Version
  • 3.1
  • Vector String
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Attack Vector
  • NETWORK
  • Attack Compatibility
  • LOW
  • Privileges Required
  • NONE
  • User Interaction
  • NONE
  • Scope
  • UNCHANGED
  • Confidentiality Impact
  • NONE
  • Availability Impact
  • HIGH
  • Base Score
  • 7.5
  • Base Severity
  • HIGH
  • Exploitability Score
  • 3.9
  • Impact Score
  • 3.6
References
Reference URL Reference Tags
https://github.com/postcss/postcss/commit/2b1d04c867995e55124e0a165b7c6622c1735956 Patch Third Party Advisory
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1255641 Exploit Patch Third Party Advisory
https://snyk.io/vuln/SNYK-JS-POSTCSS-1255640 Exploit Patch Third Party Advisory
History
Created Old Value New Value Data Type Notes
2022-05-10 07:08:29 Added to TrackCVE
2022-12-06 02:48:46 2021-04-26T16:15Z 2021-04-26T16:15:07 CVE Published Date updated
2022-12-06 02:48:47 2022-09-19T17:29:21 CVE Modified Date updated
2022-12-06 02:48:47 Analyzed Vulnerability Status updated