VDB
Sign up
MEDIUM5.3

GHSA-hwj9-h5mp-3pm3

Regular Expression Denial of Service in postcss

Quick fix

GHSA-hwj9-h5mp-3pm3 — postcss: upgrade to the fixed version with the command below.

npm install postcss@7.0.36

Details

The npm package `postcss` from 7.0.0 and before versions 7.0.36 and 8.2.10 is vulnerable to Regular Expression Denial of Service (ReDoS) during source map parsing.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/postcss
Introduced in: 7.0.0Fixed in: 7.0.36
Fixnpm install postcss@7.0.36
npm/postcss
Introduced in: 8.0.0Fixed in: 8.2.10
Fixnpm install postcss@8.2.10

References