CVE-2018-11235

high
New! CVE Severity Now Using CVSS v3

The calculated severity for CVEs has been updated to use CVSS v3 by default. CVEs that do not have a CVSS v3 score will fall back CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Description

In Git before 2.13.7, 2.14.x before 2.14.4, 2.15.x before 2.15.2, 2.16.x before 2.16.4, and 2.17.x before 2.17.1, remote code execution can occur. With a crafted .gitmodules file, a malicious project can execute an arbitrary script on a machine that runs "git clone --recurse-submodules" because submodule "names" are obtained from this file, and then appended to $GIT_DIR/modules, leading to directory traversal with "../" in a name. Finally, post-checkout hooks from a submodule are executed, bypassing the intended design in which hooks are not obtained from a remote server.

References

http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00003.html

http://www.securityfocus.com/bid/104345

http://www.securitytracker.com/id/1040991

https://access.redhat.com/errata/RHSA-2018:1957

https://access.redhat.com/errata/RHSA-2018:2147

https://blogs.msdn.microsoft.com/devops/2018/05/29/announcing-the-may-2018-git-security-vulnerability/

https://marc.info/?l=git&m=152761328506724&w=2

https://security.gentoo.org/glsa/201805-13

https://usn.ubuntu.com/3671-1/

https://www.debian.org/security/2018/dsa-4212

https://www.exploit-db.com/exploits/44822/

Details

Source: MITRE

Published: 2018-05-30

Updated: 2020-05-02

Type: CWE-22

Risk Information

CVSS v2

Base Score: 6.8

Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P

Impact Score: 6.4

Exploitability Score: 8.6

Severity: MEDIUM

CVSS v3

Base Score: 7.8

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Impact Score: 5.9

Exploitability Score: 1.8

Severity: HIGH

Tenable Plugins

View all (41 total)

IDNameProductFamilySeverity
136311openSUSE Security Update : git (openSUSE-2020-598)NessusSuSE Local Security Checks
high
136074SUSE SLED15 / SLES15 Security Update : git (SUSE-SU-2020:1121-1)NessusSuSE Local Security Checks
high
135580SUSE SLES12 Security Update : git (SUSE-SU-2020:0992-1)NessusSuSE Local Security Checks
high
127189NewStart CGSL CORE 5.04 / MAIN 5.04 : git Vulnerability (NS-SA-2019-0027)NessusNewStart CGSL Local Security Checks
high
124923EulerOS Virtualization 3.0.1.0 : git (EulerOS-SA-2019-1420)NessusHuawei Local Security Checks
critical
124888EulerOS Virtualization for ARM 64 3.0.1.0 : git (EulerOS-SA-2019-1385)NessusHuawei Local Security Checks
high
123276openSUSE Security Update : libgit2 (openSUSE-2019-638)NessusSuSE Local Security Checks
high
123178openSUSE Security Update : git (openSUSE-2019-410)NessusSuSE Local Security Checks
high
121953Photon OS 2.0: Git PHSA-2018-2.0-0053NessusPhotonOS Local Security Checks
high
121844Photon OS 1.0: Git PHSA-2018-1.0-0145NessusPhotonOS Local Security Checks
high
120715Fedora 28 : libgit2 (2018-b10e54263a)NessusFedora Local Security Checks
high
120535Fedora 28 : git (2018-75f7624a9f)NessusFedora Local Security Checks
high
120086SUSE SLED15 / SLES15 Security Update : libgit2 (SUSE-SU-2018:2469-1)NessusSuSE Local Security Checks
high
120026SUSE SLED15 / SLES15 Security Update : git (SUSE-SU-2018:1872-1)NessusSuSE Local Security Checks
high
119068EulerOS Virtualization 2.5.1 : git (EulerOS-SA-2018-1377)NessusHuawei Local Security Checks
high
118486openSUSE Security Update : libgit2 (openSUSE-2018-1314)NessusSuSE Local Security Checks
high
118260SUSE SLES12 Security Update : git (SUSE-SU-2018:1566-2)NessusSuSE Local Security Checks
high
117406Atlassian SourceTree 0.5.1.0 < 2.6.9 Remote Code Execution VulnerabilitiesNessusWindows
critical
117405Atlassian SourceTree 1.0b2 < 2.7.6 Remote Code Execution Vulnerabilities (Mac OSX)NessusMacOS X Local Security Checks
critical
112139openSUSE Security Update : libgit2 (openSUSE-2018-922)NessusSuSE Local Security Checks
high
111307Photon OS 2.0 : git (PhotonOS-PHSA-2018-2.0-0053) (deprecated)NessusPhotonOS Local Security Checks
high
111273Photon OS update (deprecated)NessusPhotonOS Local Security Checks
high
110932Fedora 27 : libgit2 (2018-94eb743dad)NessusFedora Local Security Checks
high
110880EulerOS 2.0 SP3 : git (EulerOS-SA-2018-1216)NessusHuawei Local Security Checks
high
110879EulerOS 2.0 SP2 : git (EulerOS-SA-2018-1215)NessusHuawei Local Security Checks
high
110663CentOS 7 : git (CESA-2018:1957)NessusCentOS Local Security Checks
high
110655Scientific Linux Security Update : git on SL7.x x86_64 (20180620)NessusScientific Linux Local Security Checks
high
110632RHEL 7 : git (RHSA-2018:1957)NessusRed Hat Local Security Checks
high
110629Oracle Linux 7 : git (ELSA-2018-1957)NessusOracle Linux Local Security Checks
high
110579FreeBSD : Libgit2 -- Fixing insufficient validation of submodule names (5a1589ad-68f9-11e8-83f5-d8cb8abf62dd)NessusFreeBSD Local Security Checks
high
110458Amazon Linux AMI : git (ALAS-2018-1035)NessusAmazon Linux Local Security Checks
high
110452Amazon Linux 2 : git (ALAS-2018-1035)NessusAmazon Linux Local Security Checks
high
110411SUSE SLES12 Security Update : git (SUSE-SU-2018:1566-1)NessusSuSE Local Security Checks
high
110395Ubuntu 14.04 LTS / 16.04 LTS / 17.10 / 18.04 LTS : git vulnerabilities (USN-3671-1)NessusUbuntu Local Security Checks
high
110335openSUSE Security Update : git (openSUSE-2018-557)NessusSuSE Local Security Checks
high
110308Slackware 13.0 / 13.1 / 13.37 / 14.0 / 14.1 / 14.2 / current : git (SSA:2018-152-01)NessusSlackware Local Security Checks
high
110304FreeBSD : Git -- Fix memory out-of-bounds and remote code execution vulnerabilities (CVE-2018-11233 and CVE-2018-11235) (c7a135f4-66a4-11e8-9e63-3085a9a47796)NessusFreeBSD Local Security Checks
high
110299Fedora 27 : git (2018-080a3d7866)NessusFedora Local Security Checks
high
110270Git for Windows 2.13.x < 2.13.7 / 2.14.x < 2.14.4 / 2.15.x < 2.15.2 / 2.16.x < 2.16.4 / 2.17.x < 2.17.1 Remote Code ExecutionNessusWindows
high
110212GLSA-201805-13 : Git: Multiple vulnerabilitiesNessusGentoo Local Security Checks
high
110207Debian DSA-4212-1 : git - security updateNessusDebian Local Security Checks
high