CVE-2020-7645 chrome-launcher subject to OS Command Injection
Attackers can execute arbitrary commands by controlling the HOME environment variable in Linux systems using the chrome-launcher library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-7645?
CVE-2020-7645 is a critical command injection vulnerability in chrome-launcher, published on 2 May 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
All versions of chrome-launcher allow execution of arbitrary commands, by controlling the $HOME environment variable in Linux operating systems.
Weakness: CWE-78
Which versions are affected by CVE-2020-7645?
2 open source packages ship an affected version, including chrome-launcher. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
chrome-launcher npm | All versions | 0.13.2 |
chrome-launcher npm | All versions | 0.13.2 |
Products include Google Chrome-Launcher.
How do I fix CVE-2020-7645?
Upgrade chrome-launcher to 0.13.2 or later.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2020-7645 being exploited?
There is no known exploitation of CVE-2020-7645 in the wild and no public exploit code.
Sources
Also known as GHSA-gp2j-mg4w-2rh5, SNYK-JS-CHROMELAUNCHER-537575.