CVE-2021-23382

Regular Expression Denial of Service (ReDoS)

State
Published
Severity
5.3 Medium
Published
Apr 26, 2021
Updated
Sep 16, 2024
Reserved
Jan 8, 2021

Read the record on cve.org

Description

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

Scores

CVSSScoreVectorSource
3.15.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Lsnyk

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
postcssn/a
  • before 8.2.13Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.