Incorrect regular expression in css-what - CVE-2022-21222
Published: May 16, 2023
Vulnerability details
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to insufficient input validation when processing regular expressions in the re_attr variable of index.js. A remote attacker can pass specially crafted data to the application and perform regular expression denial of service (ReDos) attack.
Affected software
Ubuntu
node-css-what (Ubuntu package)
IBM Cloud Pak for Multicloud Management Security Services
How to mitigate CVE-2022-21222
node-css-what (Ubuntu package) - addressed in versions Ubuntu Pro, 2.1.0-1+deb10u1build0.18.04.1
IBM Cloud Pak for Multicloud Management Security Services - update to 2.3 Fix Pack 6