CVE-2021-34081 OS Command Injection in gitsome
Attackers can execute arbitrary commands via crafted git repository tag names in the gitsome tool, requiring an upgrade to mitigate.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2021-34081?
CVE-2021-34081 is a high-severity command injection vulnerability in n/a, published on 1 Jun 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
OS Command Injection vulnerability in bbultman gitsome through 0.2.3 allows attackers to execute arbitrary commands via a crafted tag name of the target git repository.
Weakness: CWE-78
Which versions are affected by CVE-2021-34081?
2 open source packages ship an affected version, including gitsome. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
gitsome npm | All versions to 0.2.3 | None |
gitsome npm | All versions to 0.2.3 | None |
Products include Gitsome Project Gitsome.
How do I fix CVE-2021-34081?
No fix has been published for CVE-2021-34081 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-2021-34081 being exploited?
There is no known exploitation of CVE-2021-34081 in the wild and no public exploit code.
Sources
Also known as GHSA-9v73-x562-wv5x, UBUNTU-CVE-2021-34081.