UBUNTU-CVE-2022-21222
Dashboard / Vulnerabilities / UBUNTU-CVE-2022-21222
UBUNTU-CVE-2022-21222
Published: 30 Sept 2022Last Modified: 20 May 2026
Upstream:
Aliases:
Summary:
Details: 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.
References: https://ubuntu.com/security/CVE-2022-21222, https://security.snyk.io/vuln/SNYK-JS-CSSWHAT-3035488, https://github.com/fb55/css-what/blob/a38effd5a8f5506d75c7f8f13cbd8c76248a3860/index.js%23L12, https://ubuntu.com/security/notices/USN-6065-1, https://www.cve.org/CVERecord?id=CVE-2022-21222
Affected packages
Package
Name: node-css-what
Purl: pkg:deb/ubuntu/node-css-what?arch=source&distro=esm-apps%2Fxenial
Affected ranges
Type: ECOSYSTEM
Events:
Introduced- 0
Fixed -2.1.0-1ubuntu0.16.04.1~esm1
Affected versions
2.0.2-1
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
