Security readout for executives and security teams
Plain-English summary
CVE-2021-23382 is a denial-of-service issue in PostCSS before 8.2.13. A specially crafted source map annotation can make vulnerable regular expressions consume excessive CPU. The documented impact is availability only, not data theft or code execution.
Executive priority
Treat as a routine but necessary dependency update. Prioritize internet-facing or multi-tenant systems that process customer-supplied CSS, because the business impact is service availability degradation rather than compromise.
Technical view
The issue is a ReDoS in getAnnotationURL() and loadAnnotation() in lib/previous-map.js, tied to regex handling of sourceMappingURL annotations. CVSS 3.1 is 5.3 with network attack vector, no privileges or user interaction, and low availability impact.
Likely exposure
Exposure is most likely in applications, build pipelines, or services using PostCSS before 8.2.13, especially where CSS or source map comments may be supplied by untrusted users or external content.
Exploitation context
The source bundle does not show CISA KEV listing or active exploitation evidence. The plausible risk is service slowdown or interruption when vulnerable PostCSS parsing handles attacker-controlled input.
Researcher notes
Evidence identifies vulnerable regex handling in previous-map.js and an upstream fixing commit. The bundle does not provide exploitation reports, detailed affected version ranges beyond before 8.2.13, or product impact outside PostCSS-related packages.
Mitigation direction
- Upgrade PostCSS to 8.2.13 or later.
- Update transitive dependencies that bundle vulnerable PostCSS versions.
- Check Snyk and upstream PostCSS guidance for package-specific remediation.
- Reduce or isolate processing of untrusted CSS where immediate upgrade is delayed.
- Use dependency pinning or overrides to prevent vulnerable versions returning.
Validation and detection
- Inventory package lockfiles, SBOMs, and dependency trees for PostCSS versions.
- Confirm no runtime or build path uses PostCSS before 8.2.13.
- Review whether user-supplied CSS or source maps reach PostCSS parsing.
- Run dependency scanning after upgrades to confirm the finding is closed.
- For WebJars usage, verify org.webjars.npm packaging is not vulnerable.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CVE-2021-23382 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- Medium
- CVSS
- 5.3 (3.1)
- Known Exploited
- No
- Published
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS vector scores
1 official scoreWe collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L3.91.4Primary CVE scoreVulnerability scoring details
Base CVSS 3.1 score
5.3MediumVector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Source materials
- CVE List V5 sourceCVE List V5
- https://snyk.io/vuln/SNYK-JS-POSTCSS-1255640CVE reference · x_refsource_MISC
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1255641CVE reference · x_refsource_MISC
- https://github.com/postcss/postcss/commit/2b1d04c867995e55124e0a165b7c6622c1735956CVE reference · x_refsource_MISC
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
