HighGHSA-q8pj-2vqx-8ggcCVE-2021-33587
Denial of service in css-what
Published 7 Jun 2021 · Updated 8 Nov 2023
Affected package
css-whatnpm
- Affected
- >=4.0.0 <5.0.1
- Fixed in
- 5.0.1
Update to the fixed version for your release line, for example:
npm install css-what@5.0.1Details
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.
Is GHSA-q8pj-2vqx-8ggc in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected css-what, and gives you the command that fixes it.
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2021-33587
- Linkgithub.com/fb55/css-what/commit/4cdaacfd0d4b6fd00614be030da0dea6c2994655
- Packagegithub.com/fb55/css-what
- Linkgithub.com/fb55/css-what/releases/tag/v5.0.1
- Linklists.debian.org/debian-lts-announce/2023/03/msg00001.html
- Linksecurity.netapp.com/advisory/ntap-20210706-0007
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.