ID:6108 - Exploit for Improper input validation in Git - CVE-2018-11235

 
Main Vulnerability Database Exploits ID:6108 - Exploit for Improper input validation in Git - CVE-2018-11235

ID:6108 - Exploit for Improper input validation in Git - CVE-2018-11235

Published: June 17, 2021


Vulnerability identifier: #VU13047
Vulnerability risk: High
CVE-ID: CVE-2018-11235
CWE-ID: CWE-20
Exploitation vector: Remote access
Vulnerable software:
Git

Link to public exploit:


Vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The weakness exists due to improper validation of submodule "names" supplied via the untrusted .gitmodules file when appending them to the '$GIT_DIR/modules' directory. A remote attacker can return specially crafted data to create or overwrite files on the target user's system when the repository is cloned and execute arbitrary code with elevated privileges.

Remediation

Update to version 2.17.1.