CVE-2021-23382GHSA-566M-QJ78-RWW5
Regular Expression Denial of Service (ReDoS)
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 8.2.13, 7.0.36
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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=(.*).
Timeline
- CVE published
- Record last updated
Affected versions
- n/a postcss
fixed in 8.2.13
- postcssnpm
From 8.0.0 · fixed in 8.2.13
- postcssnpm
fixed in 7.0.36