CVE-2018-1000021 Command injection in n/a
A malicious Git server or MITM attack can exploit input validation errors in the Git client to execute arbitrary code on the user's machine.
- 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-2018-1000021?
CVE-2018-1000021 is a medium-severity command injection vulnerability in n/a, published on 9 Feb 2018. 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
GIT version 2.15.1 and earlier contains a Input Validation Error vulnerability in Client that can result in problems including messing up terminal configuration to RCE. This attack appear to be exploitable via The user must interact with a malicious git server, (or have their traffic modified in a MITM attack).
Weakness: CWE-20
Which versions are affected by CVE-2018-1000021?
It affects 1 product.
Products include Git-Scm Git.
How do I fix CVE-2018-1000021?
No fix has been published for CVE-2018-1000021 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-2018-1000021 being exploited?
There is no known exploitation of CVE-2018-1000021 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2018-1000021, GHSA-vpq8-fvqp-vj6h, UBUNTU-CVE-2018-1000021.