CVE-2020-8149 Arbitrary shell command execution in logkitty
Attackers can execute arbitrary shell commands via the logkitty npm package due to lack of output sanitization.
- 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-8149?
CVE-2020-8149 is a critical command injection vulnerability in logkitty, published on 15 May 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Lack of output sanitization allowed an attack to execute arbitrary shell commands via the logkitty npm package before version 0.7.1.
Weakness: CWE-94
Which versions are affected by CVE-2020-8149?
2 open source packages ship an affected version, including logkitty. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
logkitty npm | All versions | 0.7.1 |
logkitty npm | All versions | 0.7.1 |
Products include Logkitty Project Logkitty.
How do I fix CVE-2020-8149?
Upgrade logkitty to 0.7.1 or later.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2020-8149 being exploited?
There is no known exploitation of CVE-2020-8149 in the wild and no public exploit code.
Sources
Also known as CLSA-2026-1792489426, GHSA-v8v8-6859-qxm4.