Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS1wMjhoLWNjN3EtYzRmZ84AAvJj

css-what vulnerable to ReDoS due to use of insecure regular expression

The package css-what before 2.1.3 is vulnerable to Regular Expression Denial of Service (ReDoS) due to the use of insecure regular expression in the re_attr variable of index.js. The exploitation of this vulnerability could be triggered via the parse function.

Permalink: https://github.com/advisories/GHSA-p28h-cc7q-c4fg
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1wMjhoLWNjN3EtYzRmZ84AAvJj
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: over 1 year ago
Updated: 5 months ago


CVSS Score: 7.5
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Identifiers: GHSA-p28h-cc7q-c4fg, CVE-2022-21222
References: Repository: https://github.com/fb55/css-what
Blast Radius: 48.6

Affected Packages

npm:css-what
Dependent packages: 558
Dependent repositories: 3,053,195
Downloads: 114,604,194 last month
Affected Version Ranges: < 2.1.3
Fixed in: 2.1.3
All affected versions: 1.0.0, 2.0.0, 2.0.1, 2.0.2, 2.1.0, 2.1.2
All unaffected versions: 2.1.3, 3.0.0, 3.0.1, 3.0.2, 3.1.0, 3.2.0, 3.2.1, 3.3.0, 3.4.0, 3.4.1, 3.4.2, 4.0.0, 5.0.0, 5.0.1, 5.1.0, 6.0.0, 6.0.1, 6.1.0