Description
Versions of the package chromedriver before 119.0.1 are vulnerable to Command Injection when setting the chromedriver.path to an arbitrary system binary. This could lead to unauthorized access and potentially malicious actions on the host system. **Note:** An attacker must have access to the system running the vulnerable chromedriver library to exploit it. The success of exploitation also depends on the permissions and privileges of the process running chromedriver.
Remediation
References
https://security.snyk.io/vuln/SNYK-JS-CHROMEDRIVER-6049539
https://gist.github.com/mcoimbra/47b1da554a80795c45126d51e41b2b18
https://github.com/giggio/node-chromedriver/commit/de961e34e023afcf4fa5c0faeeec69aaa6c3c815
Related Vulnerabilities
CVE-2022-37616 Vulnerability in npm package @xmldom/xmldom
CVE-2018-1314 Vulnerability in maven package org.apache.hive:hive-exec
CVE-2021-27515 Vulnerability in maven package org.webjars.npm:url-parse
CVE-2022-0691 Vulnerability in npm package url-parse
CVE-2019-10308 Vulnerability in maven package org.jvnet.hudson.plugins:analysis-core