Regular Expression Denial of Service (ReDoS)
CVE-2021-23382

5.3MEDIUM

Key Information:

Vendor

Postcss

Status
Vendor
CVE Published:
26 April 2021

What is CVE-2021-23382?

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 Version(s)

postcss < 8.2.13

References

CVSS V3.1

Score:
5.3
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Yeting Li
.