CVE-2018-11235
CVSS V2 Medium 6.8
CVSS V3 High 7.8
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.
Overview
- CVE ID
- CVE-2018-11235
- Assigner
- cve@mitre.org
- Vulnerability Status
- Modified
- Published Version
- 2018-05-30T04:29:00
- Last Modified Date
- 2020-05-02T00:15:12
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* | 1 | OR | ||
cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* | 1 | OR | ||
cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* | 1 | OR | ||
cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:o:redhat:enterprise_linux_server_eus:7.5:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* | 1 | OR | 2.13.6 | |
cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* | 1 | OR | 2.14.0 | 2.14.3 |
cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* | 1 | OR | 2.15.0 | 2.15.1 |
cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* | 1 | OR | 2.16.0 | 2.16.3 |
cpe:2.3:a:git-scm:git:2.17.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:gitforwindows:git:*:*:*:*:*:*:*:* | 1 | OR | 2.17.1 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:M/Au:N/C:P/I:P/A:P
- Access Vector
- NETWORK
- Access Compatibility
- MEDIUM
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- PARTIAL
- Base Score
- 6.8
- Severity
- MEDIUM
- Exploitability Score
- 8.6
- Impact Score
- 6.4
CVSS Version 3
- Version
- 3.0
- Vector String
- CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Attack Vector
- LOCAL
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- REQUIRED
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 7.8
- Base Severity
- HIGH
- Exploitability Score
- 1.8
- Impact Score
- 5.9
References
Reference URL | Reference Tags |
---|---|
https://blogs.msdn.microsoft.com/devops/2018/05/29/announcing-the-may-2018-git-security-vulnerability/ | Patch Technical Description Vendor Advisory |
https://www.debian.org/security/2018/dsa-4212 | Third Party Advisory |
https://marc.info/?l=git&m=152761328506724&w=2 | Release Notes Third Party Advisory |
http://www.securitytracker.com/id/1040991 | Third Party Advisory VDB Entry |
http://www.securityfocus.com/bid/104345 | Third Party Advisory VDB Entry |
https://www.exploit-db.com/exploits/44822/ | Exploit VDB Entry Third Party Advisory |
https://usn.ubuntu.com/3671-1/ | Third Party Advisory |
https://access.redhat.com/errata/RHSA-2018:1957 | Third Party Advisory |
https://access.redhat.com/errata/RHSA-2018:2147 | Third Party Advisory |
https://security.gentoo.org/glsa/201805-13 | Third Party Advisory |
http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00003.html |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2018-11235 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-11235 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 17:34:30 | Added to TrackCVE | |||
2022-12-03 06:47:02 | 2018-05-30T04:29Z | 2018-05-30T04:29:00 | CVE Published Date | updated |
2022-12-03 06:47:02 | 2020-05-02T00:15:12 | CVE Modified Date | updated | |
2022-12-03 06:47:02 | Modified | Vulnerability Status | updated |