CVE-2021-23382 Affecting node-postcss package, versions <8.2.1+~cs5.3.23-7


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.2% (60th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN12-NODEPOSTCSS-1555177
  • published29 Apr 2021
  • disclosed26 Apr 2021

Introduced: 26 Apr 2021

CVE-2021-23382  (opens in a new tab)

How to fix?

Upgrade Debian:12 node-postcss to version 8.2.1+~cs5.3.23-7 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream node-postcss package and not the node-postcss package as distributed by Debian. See How to fix? for Debian:12 relevant fixed versions and status.

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

CVSS Scores

version 3.1