CVE-2021-34081 OS Command Injection in gitsome

High 8.8 Published Updated

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.

PackageAffectedFixed in
gitsome npmAll versions to 0.2.3None
gitsome npmAll versions to 0.2.3None

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.

Is CVE-2021-34081 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free