Description
selenium-download downloads the latest versions of the selenium standalone server and the chromedriver. selenium-download before 2.0.7 downloads binary resources over HTTP, which leaves it vulnerable to MITM attacks. It may be possible to cause remote code execution (RCE) by swapping out the requested binary with an attacker controlled binary if the attacker is on the network or positioned in between the user and the remote server.
Remediation
References
https://nodesecurity.io/advisories/164
Related Vulnerabilities
CVE-2021-26073 Vulnerability in npm package atlassian-connect-express
CVE-2014-0121 Vulnerability in maven package io.hawt:hawtio-karaf-terminal
CVE-2021-21384 Vulnerability in npm package shescape
CVE-2019-16560 Vulnerability in maven package org.jenkins-ci.plugins:websphere-deployer
CVE-2022-28366 Vulnerability in maven package net.sourceforge.nekohtml:nekohtml