Denial of service in css-what



Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2022-21222
CWE-ID CWE-185
Exploitation vector Network
Public exploit N/A
Vulnerable software
css-what
Web applications / JS libraries

Vendor fb55

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Incorrect regular expression

EUVDB-ID: #VU76184

Risk: Medium

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-21222

CWE-ID: CWE-185 - Incorrect Regular Expression

Exploit availability: No

Description

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.

Mitigation

Install update from vendor's website.

Vulnerable software versions

css-what: 2.0.0 - 2.1.2

CPE2.3 External links

http://security.snyk.io/vuln/SNYK-JS-CSSWHAT-3035488
http://github.com/fb55/css-what/blob/a38effd5a8f5506d75c7f8f13cbd8c76248a3860/index.js%23L12
http://lists.debian.org/debian-lts-announce/2023/03/msg00001.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###