ADVISORIES

Debian Security Tracker

DEBIAN-CVE-2021-23382

Details

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

Affected packages

EcosystemPackageAffected versions
Debian:12node-postcss
All versions before 8.2.1+~cs5.3.23-7 (fixed in 8.2.1+~cs5.3.23-7)
Debian:13node-postcss
All versions before 8.2.1+~cs5.3.23-7 (fixed in 8.2.1+~cs5.3.23-7)
Debian:14node-postcss
All versions before 8.2.1+~cs5.3.23-7 (fixed in 8.2.1+~cs5.3.23-7)

References