CVE-2022-25900 Command Injection
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.
| Package | Affected | Fixed in |
|---|---|---|
git-clone npm | All versions to 0.2.0 | None |
git-clone npm | All versions to 0.2.0 | None |
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.