Bug 1966225 (CVE-2021-33587) - CVE-2021-33587 nodejs-css-what: does not ensure that attribute parsing has linear time complexity relative to the size of the input
Summary: CVE-2021-33587 nodejs-css-what: does not ensure that attribute parsing has li...
Keywords:
Status: NEW
Alias: CVE-2021-33587
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On: 1968551 1966226 1967002 1967003 1967006 1968544 1968549 1968550 1968562 1972808 1972809 1972810 1972811 1972812 1972813 1972814 1972815
Blocks: 1966227 1997390
TreeView+ depends on / blocked
 
Reported: 2021-05-31 17:02 UTC by Guilherme de Almeida Suckevicz
Modified: 2023-10-25 17:21 UTC (History)
32 users (show)

Fixed In Version: css-what 5.0.1
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in nodejs-css-what. The css-what package for Node.js does not ensure that attribute parsing has a Linear Time Complexity relative to the size of the input. The highest threat from this vulnerability is to system availability.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2021-05-31 17:02:51 UTC
The css-what package before 5.0.1 for Node.js does not ensure that attribute parsing has Linear Time Complexity relative to the size of the input.

Reference:
https://github.com/fb55/css-what/releases/tag/v5.0.1

Comment 1 Guilherme de Almeida Suckevicz 2021-05-31 17:03:14 UTC
Created nodejs-css-what tracking bugs for this issue:

Affects: fedora-33 [bug 1966226]

Comment 2 Przemyslaw Roguski 2021-06-02 10:26:56 UTC
Upstream fix:
https://github.com/fb55/css-what/commit/4cdaacfd0d4b6fd00614be030da0dea6c2994655


Note You need to log in before you can comment on or make changes to this bug.