GitHub Advisory Database
GHSA-q8pj-2vqx-8ggc
Denial of service in css-what
Details
The css-what package 4.0.0 through 5.0.0 for Node.js does not ensure that attribute parsing has Linear Time Complexity relative to the size of the input.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | css-what | From 4.0.0 before 5.0.1 (fixed in 5.0.1) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-33587
- https://github.com/fb55/css-what/commit/4cdaacfd0d4b6fd00614be030da0dea6c2994655
- https://github.com/fb55/css-what
- https://github.com/fb55/css-what/releases/tag/v5.0.1
- https://lists.debian.org/debian-lts-announce/2023/03/msg00001.html
- https://security.netapp.com/advisory/ntap-20210706-0007