CVE catalog

CVE-2021-23382

node-postcss: CVE-2021-23382

[CVE catalog]

Severity
Medium · CVSS 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Published
Source
[NVD] · [CVE record]
EPSS
2.56% · Oct 25, 2026

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

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiannode-postcsssid8.5.31+~cs10.2.26-1fixed
Debiannode-postcssforky8.5.31+~cs10.2.26-1fixed
Debiannode-postcsstrixie8.4.49+~cs9.2.32-1fixed
Debiannode-postcssbookworm8.4.20+~cs8.0.23-1+deb12u1fixed
NpmpostcssNot reported8.2.13fixed
NpmpostcssNot reported7.0.36fixed
Ubuntunode-postcss20.046.0.23-1vulnerable
Ubuntunode-postcss20.046.0.23-3vulnerable
Ubuntunode-postcss22.048.2.1+~cs5.3.23-8vulnerable
Ubuntunode-postcss22.048.4.5+~cs7.1.51-2vulnerable
Ubuntunode-postcss22.048.4.6+~cs7.3.21-1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannode-postcsssourcesid8.2.1+~cs5.3.23-7not yet assignedNot reportedNot reported
Debiannode-postcsssourceforky8.2.1+~cs5.3.23-7not yet assignedNot reportedNot reported
Debiannode-postcsssourcetrixie8.2.1+~cs5.3.23-7not yet assignedNot reportedNot reported
Debiannode-postcsssourcebookworm8.2.1+~cs5.3.23-7not yet assignedNot reportedNot reported
NpmpostcssnpmNot reported8.2.13Not reportedNot reportedNot reported
NpmpostcssnpmNot reported7.0.36Not reportedNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Details (2)
    • 8.4.20+~cs8.0.23-1+deb12u1 · all · bookworm

      Fixed · Fixed: 8.2.1+~cs5.3.23-7

      dsa · node-postcss · debian · bookworm; dsa · node-postcss · debian · 12

    • 8.4.20+~cs8.0.23-1+deb12u1 · all · bookworm

      Fixed · Fixed: 8.2.1+~cs5.3.23-7

      dsa · node-postcss · debian · bookworm; dsa · node-postcss · debian · 12

[Debian 13 (Trixie)]

  • Details (2)
    • 8.4.49+~cs9.2.32-1 · all · trixie

      Fixed · Fixed: 8.2.1+~cs5.3.23-7

      dsa · node-postcss · debian · 13

    • 8.4.49+~cs9.2.32-1 · all · trixie

      Fixed · Fixed: 8.2.1+~cs5.3.23-7

      dsa · node-postcss · debian · 13

Observed:

References