CVE-2021-46101 Command injection in n/a
Attackers can execute arbitrary commands via git pull in Git for Windows, allowing remote code execution on the victim's machine.
- 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-2021-46101?
CVE-2021-46101 is a high-severity command injection vulnerability in n/a, published on 31 Jan 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
In Git for windows through 2.34.1 when using git pull to update the local warehouse, git.cmd can be run directly.
Which versions are affected by CVE-2021-46101?
It affects 1 product.
Products include Gitforwindows Git.
How do I fix CVE-2021-46101?
No fix has been published for CVE-2021-46101 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-46101 being exploited?
There is no known exploitation of CVE-2021-46101 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-6gj8-3mp3-2vfr.