CVE-2020-28434 Command Injection
Attackers can execute arbitrary commands via the gitblame npm library due to improper input handling in the blame functionality.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2020-28434?
CVE-2020-28434 is a critical command injection vulnerability in gitblame, published on 2 Aug 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
This affects all versions of package gitblame. The injection point is located in line 15 in lib/gitblame.js.
Weakness: CWE-77
Which versions are affected by CVE-2020-28434?
2 open source packages ship an affected version, including gitblame. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
gitblame npm | All versions to 0.1.1 | None |
gitblame npm | All versions to 0.1.1 | None |
Products include Gitblame Project Gitblame.
How do I fix CVE-2020-28434?
No fix has been published for CVE-2020-28434 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2020-28434 being exploited?
There is no known exploitation of CVE-2020-28434 in the wild and no public exploit code.
Sources
Also known as GHSA-3486-rvxc-hrrj.