Command injection in Git - CVE-2018-19486
Published: November 28, 2018 / Updated: November 28, 2018
Vulnerability details
The vulnerability allows a remote authenticated attacker to execute arbitrary commands on the target system.
The vulnerability exists due to a flaw in the run_command() API and 'run-command.c' when handling malicious input. A remote attacker can issue specially crafted commands from the current working directory and execute arbitrary commands on the target system.
Affected software
Amazon Linux AMI
Gentoo Linux
Opensuse
Fedora
git (Alpine package)
git
How to mitigate CVE-2018-19486
git (Alpine package) - update to 2.13.7-r2
git - addressed in versions 2.17.2-2.fc28, 2.19.2-1.fc29