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

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Tue, 20 May 2025 16:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


cve-icon MITRE

Status: PUBLISHED

Assigner: snyk

Published:

Updated: 2025-05-20T16:04:07.202Z

Reserved: 2022-02-24T00:00:00.000Z

Link: CVE-2022-21222

cve-icon Vulnrichment

Updated: 2024-08-03T02:31:59.016Z

cve-icon NVD

Status : Modified

Published: 2022-09-30T05:15:08.713

Modified: 2025-05-20T16:15:21.037

Link: CVE-2022-21222

cve-icon Redhat

Severity : Moderate

Publid Date: 2022-09-30T00:00:00Z

Links: CVE-2022-21222 - Bugzilla

cve-icon OpenCVE Enrichment

No data.