Incorrect Regular Expression in browserslist - CVE-2021-23364
Published: August 18, 2022
Vulnerability identifier: #VU66616
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-23364
CWE-ID: CWE-185
Exploitation vector: Remote access
Exploit availability:
No public exploit available
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. A remote attacker can pass specially crafted data to the application and perform regular expression denial of service (ReDos) attack.
Affected software
browserslist
IBM Watson Machine Learning Accelerator
Cloud Pak for Security (CP4S)
IBM Edge Application Manager
QRadar User Behavior Analytics
IBM Watson Machine Learning Accelerator
Cloud Pak for Security (CP4S)
IBM Edge Application Manager
QRadar User Behavior Analytics
How to mitigate CVE-2021-23364
Install update from vendor's website.
browserslist - update to 4.16.5
Cloud Pak for Security (CP4S) - update to 1.8.0.0
QRadar User Behavior Analytics - update to 4.1.11
Cloud Pak for Security (CP4S) - update to 1.8.0.0
QRadar User Behavior Analytics - update to 4.1.11
External References
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1277182
- https://github.com/browserslist/browserslist/commit/c091916910dfe0b5fd61caad96083c6709b02d98
- https://github.com/browserslist/browserslist/pull/593
- https://github.com/browserslist/browserslist/blob/e82f32d1d4100d6bc79ea0b6b6a2d281a561e33c/index.js%23L472-L474
- https://snyk.io/vuln/SNYK-JS-BROWSERSLIST-1090194