Remote code execution in Git LFS



Published: 2020-11-06 | Updated: 2023-02-02
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2020-27955
CWE-ID CWE-20
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Subscribe
Git LFS
Client/Desktop applications / Software for system administration

Vendor Git

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Input validation error

EUVDB-ID: #VU48175

Risk: High

CVSSv3.1: 8.9 [CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H/E:P/RL:O/RC:C]

CVE-ID: CVE-2020-27955

CWE-ID: CWE-20 - Improper input validation

Exploit availability: Yes

Description

The vulnerability allows a remote user to compromise the affected system.

The vulnerability exists due to insufficient validation of files. A remote user can upload a specially crafted binary to the repository and execute arbitrary code on the system.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Git LFS: 2.12.0

External links

http://seclists.org/fulldisclosure/2020/Nov/1
http://github.com/git-lfs/git-lfs/releases
http://legalhackers.com
http://legalhackers.com/advisories/Git-LFS-RCE-Exploit-CVE-2020-27955.html
http://exploitbox.io/vuln/Git-Git-LFS-RCE-Exploit-CVE-2020-27955.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.



###SIDEBAR###