CVE-2022-25900 Command Injection

High 8.1 Published Updated

Attackers can execute arbitrary commands via the git-clone npm package due to insecure usage of the git upload-pack feature.

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-2022-25900?

CVE-2022-25900 is a high-severity command injection vulnerability in git-clone, published on 1 Jul 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

All versions of package git-clone are vulnerable to Command Injection due to insecure usage of the --upload-pack feature of git.

Weakness: CWE-88

Which versions are affected by CVE-2022-25900?

2 open source packages ship an affected version, including git-clone. It affects 1 product.

PackageAffectedFixed in
git-clone npmAll versions to 0.2.0None
git-clone npmAll versions to 0.2.0None

Products include Git-Clone Project Git-Clone.

How do I fix CVE-2022-25900?

No fix has been published for CVE-2022-25900 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-2022-25900 being exploited?

There is no known exploitation of CVE-2022-25900 in the wild and no public exploit code.

Sources

Also known as GHSA-8jmw-wjr8-2x66.

Is CVE-2022-25900 in your software?

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

Check your SBOMs for free