Vulnerability · Published Apr 12, 2021 · Assigned by snyk

CVE-2021-23368Regular Expression Denial of Service (ReDoS)

Medium 5.3

In plain English

A medium-severity security flaw in postcss. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 3.5% (higher than 89% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)3.5%top 10.7% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

The package postcss from 7.0.0 and before 8.2.10 are vulnerable to Regular Expression Denial of Service (ReDoS) during source map parsing.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12node-postcss8.2.1+~cs5.3.23-6DEBIAN-CVE-2021-23368
Debian:13node-postcss8.2.1+~cs5.3.23-6DEBIAN-CVE-2021-23368
Debian:14node-postcss8.2.1+~cs5.3.23-6DEBIAN-CVE-2021-23368
Ubuntu:22.04:LTSnode-postcssno fix listedUBUNTU-CVE-2021-23368
npmpostcss7.0.36GHSA-hwj9-h5mp-3pm3
npmpostcss8.2.10GHSA-hwj9-h5mp-3pm3

Affected products (as reported)

VendorProductVersions
n/a postcss 7.0.0 – before unspecifiedunspecified – before 8.2.10

References