Vulnerabilities > CVE-2018-11235 - Path Traversal vulnerability in multiple products

047910
CVSS 7.8 - HIGH
Attack vector
LOCAL
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
HIGH
Integrity impact
HIGH
Availability impact
HIGH
local
low complexity
debian
canonical
redhat
git-scm
gitforwindows
CWE-22
nessus
exploit available

Summary

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.

Vulnerable Configurations

Part Description Count
OS
Debian
2
OS
Canonical
4
OS
Redhat
5
Application
Git-Scm
728
Application
Gitforwindows
2

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Relative Path Traversal
    An attacker exploits a weakness in input validation on the target by supplying a specially constructed path utilizing dot and slash characters for the purpose of obtaining access to arbitrary files or resources. An attacker modifies a known path on the target in order to reach material that is not available through intended channels. These attacks normally involve adding additional path separators (/ or \) and/or dots (.), or encodings thereof, in various combinations in order to reach parent directories or entirely separate trees of the target's directory structure.
  • Directory Traversal
    An attacker with access to file system resources, either directly or via application logic, will use various file path specification or navigation mechanisms such as ".." in path strings and absolute paths to extend their range of access to inappropriate areas of the file system. The attacker attempts to either explore the file system for recon purposes or access directories and files that are intended to be restricted from their access. Exploring the file system can be achieved through constructing paths presented to directory listing programs, such as "ls" and 'dir', or through specially crafted programs that attempt to explore the file system. The attacker engaging in this type of activity is searching for information that can be used later in a more exploitive attack. Access to restricted directories or files can be achieved through modification of path references utilized by system applications.
  • File System Function Injection, Content Based
    An attack of this type exploits the host's trust in executing remote content including binary files. The files are poisoned with a malicious payload (targeting the file systems accessible by the target software) by the attacker and may be passed through standard channels such as via email, and standard web content like PDF and multimedia files. The attacker exploits known vulnerabilities or handling routines in the target processes. Vulnerabilities of this type have been found in a wide variety of commercial applications from Microsoft Office to Adobe Acrobat and Apple Safari web browser. When the attacker knows the standard handling routines and can identify vulnerabilities and entry points they can be exploited by otherwise seemingly normal content. Once the attack is executed, the attackers' program can access relative directories such as C:\Program Files or other standard system directories to launch further attacks. In a worst case scenario, these programs are combined with other propagation logic and work as a virus.
  • Using Slashes and URL Encoding Combined to Bypass Validation Logic
    This attack targets the encoding of the URL combined with the encoding of the slash characters. An attacker can take advantage of the multiple way of encoding an URL and abuse the interpretation of the URL. An URL may contain special character that need special syntax handling in order to be interpreted. Special characters are represented using a percentage character followed by two digits representing the octet code of the original character (%HEX-CODE). For instance US-ASCII space character would be represented with %20. This is often referred as escaped ending or percent-encoding. Since the server decodes the URL from the requests, it may restrict the access to some URL paths by validating and filtering out the URL requests it received. An attacker will try to craft an URL with a sequence of special characters which once interpreted by the server will be equivalent to a forbidden URL. It can be difficult to protect against this attack since the URL can contain other format of encoding such as UTF-8 encoding, Unicode-encoding, etc.
  • Manipulating Input to File System Calls
    An attacker manipulates inputs to the target software which the target software passes to file system calls in the OS. The goal is to gain access to, and perhaps modify, areas of the file system that the target software did not intend to be accessible.

Exploit-Db

  • descriptionGit Submodule - Arbitrary Code Execution. CVE-2018-17456. Local exploit for Linux platform
    fileexploits/linux/local/45631.md
    idEDB-ID:45631
    last seen2018-11-27
    modified2018-10-16
    platformlinux
    port
    published2018-10-16
    reporterExploit-DB
    sourcehttps://old.exploit-db.com/download/45631/
    titleGit Submodule - Arbitrary Code Execution
    typelocal
  • descriptionGit < 2.17.1 - Remote Code Execution. CVE-2018-11235. Remote exploit for Linux platform
    idEDB-ID:44822
    last seen2018-06-01
    modified2018-06-01
    published2018-06-01
    reporterExploit-DB
    sourcehttps://www.exploit-db.com/download/44822/
    titleGit < 2.17.1 - Remote Code Execution
  • idEDB-ID:44822

Nessus

  • NASL familyWindows
    NASL idATLASSIAN_SOURCETREE_2_6_9.NASL
    descriptionThe version of Atlassian SourceTree installed on the remote host is a version 0.5.1.0 prior to 2.6.9 . It is, therefore, affected by multiple vulnerabilities. Note that Nessus has not tested for these issues but has instead relied only on the application
    last seen2020-06-01
    modified2020-06-02
    plugin id117406
    published2018-09-11
    reporterThis script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/117406
    titleAtlassian SourceTree 0.5.1.0 < 2.6.9 Remote Code Execution Vulnerabilities
  • NASL familySuSE Local Security Checks
    NASL idSUSE_SU-2018-1872-1.NASL
    descriptionThis update for git to version 2.16.4 fixes several issues. These security issues were fixed : - CVE-2018-11233: Path sanity-checks on NTFS allowed attackers to read arbitrary memory (bsc#1095218) - CVE-2018-11235: Arbitrary code execution when recursively cloning a malicious repository (bsc#1095219) Note that Tenable Network Security has extracted the preceding description block directly from the SUSE security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-06-01
    modified2020-06-02
    plugin id120026
    published2019-01-02
    reporterThis script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/120026
    titleSUSE SLED15 / SLES15 Security Update : git (SUSE-SU-2018:1872-1)
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2018-B10E54263A.NASL
    descriptionUpdate to 0.26.4 (CVE-2018-11235) Note that Tenable Network Security has extracted the preceding description block directly from the Fedora update system website. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-06-05
    modified2019-01-03
    plugin id120715
    published2019-01-03
    reporterThis script is Copyright (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/120715
    titleFedora 28 : libgit2 (2018-b10e54263a)
  • NASL familyFreeBSD Local Security Checks
    NASL idFREEBSD_PKG_5A1589AD68F911E883F5D8CB8ABF62DD.NASL
    descriptionThe Git community reports : Insufficient validation of submodule names
    last seen2020-06-01
    modified2020-06-02
    plugin id110579
    published2018-06-18
    reporterThis script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/110579
    titleFreeBSD : Libgit2 -- Fixing insufficient validation of submodule names (5a1589ad-68f9-11e8-83f5-d8cb8abf62dd)
  • NASL familySuSE Local Security Checks
    NASL idSUSE_SU-2020-1121-1.NASL
    descriptionThis update for git fixes the following issues : Security issues fixed : CVE-2020-11008: Specially crafted URLs may have tricked the credentials helper to providing credential information that is not appropriate for the protocol in use and host being contacted (bsc#1169936) git was updated to 2.26.1 (bsc#1169786, jsc#ECO-1628, bsc#1149792) Fix git-daemon not starting after conversion from sysvinit to systemd service (bsc#1169605). CVE-2020-5260: Specially crafted URLs with newline characters could have been used to make the Git client to send credential information for a wrong host to the attacker
    last seen2020-05-06
    modified2020-04-29
    plugin id136074
    published2020-04-29
    reporterThis script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/136074
    titleSUSE SLED15 / SLES15 Security Update : git (SUSE-SU-2020:1121-1)
  • NASL familyPhotonOS Local Security Checks
    NASL idPHOTONOS_PHSA-2018-1_0-0145.NASL
    descriptionAn update of {'git'} packages of Photon OS has been released.
    last seen2019-02-08
    modified2019-02-07
    plugin id111273
    published2018-07-24
    reporterTenable
    sourcehttps://www.tenable.com/plugins/index.php?view=single&id=111273
    titlePhoton OS update (deprecated)
  • NASL familySuSE Local Security Checks
    NASL idSUSE_SU-2018-1566-2.NASL
    descriptionThis update for git fixes several issues. These security issues were fixed : CVE-2018-11233: Path sanity-checks on NTFS allowed attackers to read arbitrary memory (bsc#1095218) CVE-2018-11235: Arbitrary code execution when recursively cloning a malicious repository (bsc#1095219) Note that Tenable Network Security has extracted the preceding description block directly from the SUSE security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-06-01
    modified2020-06-02
    plugin id118260
    published2018-10-22
    reporterThis script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/118260
    titleSUSE SLES12 Security Update : git (SUSE-SU-2018:1566-2)
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2018-75F7624A9F.NASL
    descriptionUpstream security fixes related to .gitmodules handling. From the [upstream announcement](https://public-inbox.org/git/xmqqy3g2flb6.fsf@gitster-ct .c.googlers.com/) : ``` - Submodule
    last seen2020-06-05
    modified2019-01-03
    plugin id120535
    published2019-01-03
    reporterThis script is Copyright (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/120535
    titleFedora 28 : git (2018-75f7624a9f)
  • NASL familySuSE Local Security Checks
    NASL idOPENSUSE-2020-598.NASL
    descriptionThis update for git fixes the following issues : Security issues fixed : - CVE-2020-11008: Specially crafted URLs may have tricked the credentials helper to providing credential information that is not appropriate for the protocol in use and host being contacted (bsc#1169936) git was updated to 2.26.1 (bsc#1169786, jsc#ECO-1628, bsc#1149792) - Fix git-daemon not starting after conversion from sysvinit to systemd service (bsc#1169605). - CVE-2020-5260: Specially crafted URLs with newline characters could have been used to make the Git client to send credential information for a wrong host to the attacker
    last seen2020-05-08
    modified2020-05-04
    plugin id136311
    published2020-05-04
    reporterThis script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/136311
    titleopenSUSE Security Update : git (openSUSE-2020-598)
  • NASL familyPhotonOS Local Security Checks
    NASL idPHOTONOS_PHSA-2018-2_0-0053_GIT.NASL
    descriptionAn update of the git package has been released.
    last seen2020-06-01
    modified2020-06-02
    plugin id121953
    published2019-02-07
    reporterThis script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/121953
    titlePhoton OS 2.0: Git PHSA-2018-2.0-0053
  • NASL familyHuawei Local Security Checks
    NASL idEULEROS_SA-2018-1377.NASL
    descriptionAccording to the versions of the git package installed, the EulerOS Virtualization installation on the remote host is affected by the following vulnerabilities : - A flaw was found in the way git-shell handled command-line options for the restricted set of git-shell commands. A remote, authenticated attacker could use this flaw to bypass git-shell restrictions, to view and manipulate files, by abusing the instance of the less command launched using crafted command-line options.(CVE-2017-8386) - 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
    last seen2020-06-01
    modified2020-06-02
    plugin id119068
    published2018-11-21
    reporterThis script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/119068
    titleEulerOS Virtualization 2.5.1 : git (EulerOS-SA-2018-1377)
  • NASL familySlackware Local Security Checks
    NASL idSLACKWARE_SSA_2018-152-01.NASL
    descriptionNew git packages are available for Slackware 13.0, 13.1, 13.37, 14.0, 14.1, 14.2, and -current to fix security issues.
    last seen2020-06-01
    modified2020-06-02
    plugin id110308
    published2018-06-04
    reporterThis script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/110308
    titleSlackware 13.0 / 13.1 / 13.37 / 14.0 / 14.1 / 14.2 / current : git (SSA:2018-152-01)
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2018-94EB743DAD.NASL
    descriptionUpdate to 0.26.4 (CVE-2018-11235) Note that Tenable Network Security has extracted the preceding description block directly from the Fedora update system website. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-06-05
    modified2018-07-06
    plugin id110932
    published2018-07-06
    reporterThis script is Copyright (C) 2018-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/110932
    titleFedora 27 : libgit2 (2018-94eb743dad)
  • NASL familyHuawei Local Security Checks
    NASL idEULEROS_SA-2019-1420.NASL
    descriptionAccording to the versions of the git packages installed, the EulerOS Virtualization installation on the remote host is affected by the following vulnerabilities : - 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
    last seen2020-06-01
    modified2020-06-02
    plugin id124923
    published2019-05-14
    reporterThis script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/124923
    titleEulerOS Virtualization 3.0.1.0 : git (EulerOS-SA-2019-1420)
  • NASL familyFreeBSD Local Security Checks
    NASL idFREEBSD_PKG_C7A135F466A411E89E633085A9A47796.NASL
    descriptionThe Git community reports : - In affected versions of Git, code to sanity-check pathnames on NTFS can result in reading out-of-bounds memory. - In affected versions of Git, remote code execution can occur. With a crafted .gitmodules file, a malicious project can execute an arbitrary script on a machine that runs
    last seen2020-06-01
    modified2020-06-02
    plugin id110304
    published2018-06-04
    reporterThis script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/110304
    titleFreeBSD : Git -- Fix memory out-of-bounds and remote code execution vulnerabilities (CVE-2018-11233 and CVE-2018-11235) (c7a135f4-66a4-11e8-9e63-3085a9a47796)
  • NASL familyHuawei Local Security Checks
    NASL idEULEROS_SA-2018-1216.NASL
    descriptionAccording to the version of the git packages installed, the EulerOS installation on the remote host is affected by the following vulnerability : - arbitrary code execution when recursively cloning a malicious repository (CVE-2018-11235) Note that Tenable Network Security has extracted the preceding description block directly from the EulerOS security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-05-06
    modified2018-07-03
    plugin id110880
    published2018-07-03
    reporterThis script is Copyright (C) 2018-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/110880
    titleEulerOS 2.0 SP3 : git (EulerOS-SA-2018-1216)
  • NASL familyNewStart CGSL Local Security Checks
    NASL idNEWSTART_CGSL_NS-SA-2019-0027_GIT.NASL
    descriptionThe remote NewStart CGSL host, running version CORE 5.04 / MAIN 5.04, has git packages installed that are affected by a vulnerability: - 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. (CVE-2018-11235) Note that Nessus has not tested for this issue but has instead relied only on the application
    last seen2020-06-01
    modified2020-06-02
    plugin id127189
    published2019-08-12
    reporterThis script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/127189
    titleNewStart CGSL CORE 5.04 / MAIN 5.04 : git Vulnerability (NS-SA-2019-0027)
  • NASL familyMacOS X Local Security Checks
    NASL idATLASSIAN_SOURCETREE_2_7_6_MACOSX.NASL
    descriptionThe version of Atlassian SourceTree installed on the remote host is a version 1.0b2 prior to 2.7.6 on Mac OSX. It is, therefore, affected by multiple vulnerabilities. Note that Nessus has not tested for these issues but has instead relied only on the application
    last seen2020-06-01
    modified2020-06-02
    plugin id117405
    published2018-09-11
    reporterThis script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/117405
    titleAtlassian SourceTree 1.0b2 < 2.7.6 Remote Code Execution Vulnerabilities (Mac OSX)
  • NASL familyAmazon Linux Local Security Checks
    NASL idAL2_ALAS-2018-1035.NASL
    descriptionIn 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, code to sanity-check pathnames on NTFS can result in reading out-of-bounds memory.(CVE-2018-11233) 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
    last seen2020-06-01
    modified2020-06-02
    plugin id110452
    published2018-06-12
    reporterThis script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/110452
    titleAmazon Linux 2 : git (ALAS-2018-1035)
  • NASL familySuSE Local Security Checks
    NASL idOPENSUSE-2018-1314.NASL
    descriptionThis update for libgit2 fixes the following issues : - CVE-2018-8099: Fixed possible denial of service attack via different vectors by not being able to differentiate between these status codes (bsc#1085256). - CVE-2018-11235: With a crafted .gitmodules file, a malicious project can execute an arbitrary script on a machine that runs
    last seen2020-06-05
    modified2018-10-29
    plugin id118486
    published2018-10-29
    reporterThis script is Copyright (C) 2018-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/118486
    titleopenSUSE Security Update : libgit2 (openSUSE-2018-1314)
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2018-080A3D7866.NASL
    descriptionUpstream security fixes related to .gitmodules handling. From the [upstream announcement](https://public-inbox.org/git/xmqqy3g2flb6.fsf@gitster-ct .c.googlers.com/) : ``` - Submodule
    last seen2020-06-05
    modified2018-06-04
    plugin id110299
    published2018-06-04
    reporterThis script is Copyright (C) 2018-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/110299
    titleFedora 27 : git (2018-080a3d7866)
  • NASL familyPhotonOS Local Security Checks
    NASL idPHOTONOS_PHSA-2018-1_0-0145_GIT.NASL
    descriptionAn update of the git package has been released.
    last seen2020-06-01
    modified2020-06-02
    plugin id121844
    published2019-02-07
    reporterThis script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/121844
    titlePhoton OS 1.0: Git PHSA-2018-1.0-0145
  • NASL familySuSE Local Security Checks
    NASL idOPENSUSE-2019-638.NASL
    descriptionThis update for libgit2 to version 0.26.5 fixes the following issues : The following security vulnerabilities were addressed : - CVE-2018-10887: Fixed an integer overflow which in turn leads to an out of bound read, allowing to read the base object, which could be exploited by an attacker to cause denial of service (DoS) (bsc#1100613). - CVE-2018-10888: Fixed an out-of-bound read while reading a binary delta file, which could be exploited by an attacker t ocause a denial of service (DoS) (bsc#1100612). - CVE-2018-11235: Fixed a remote code execution, which could occur with a crafted .gitmodules file (bsc#1095219) - CVE-2018-15501: Prevent out-of-bounds reads when processing smart-protocol
    last seen2020-06-01
    modified2020-06-02
    plugin id123276
    published2019-03-27
    reporterThis script is Copyright (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/123276
    titleopenSUSE Security Update : libgit2 (openSUSE-2019-638)
  • NASL familyCentOS Local Security Checks
    NASL idCENTOS_RHSA-2018-1957.NASL
    descriptionAn update for git is now available for Red Hat Enterprise Linux 7. Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section. Git is a distributed revision control system with a decentralized architecture. As opposed to centralized version control systems with a client-server model, Git ensures that each working copy of a Git repository is an exact copy with complete revision history. This not only allows the user to work on and contribute to projects without the need to have permission to push the changes to their official repositories, but also makes it possible for the user to work with no network connection. Security Fix(es) : * git: arbitrary code execution when recursively cloning a malicious repository (CVE-2018-11235) For more details about the security issue(s), including the impact, a CVSS score, and other related information, refer to the CVE page(s) listed in the References section.
    last seen2020-06-01
    modified2020-06-02
    plugin id110663
    published2018-06-25
    reporterThis script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/110663
    titleCentOS 7 : git (CESA-2018:1957)
  • NASL familySuSE Local Security Checks
    NASL idOPENSUSE-2018-557.NASL
    descriptionThis update for fixes the following security issues : - path sanity-checks on NTFS can read arbitrary memory (CVE-2018-11233, boo#1095218) - arbitrary code execution when recursively cloning a malicious repository (CVE-2018-11235, boo#1095219)
    last seen2020-06-05
    modified2018-06-06
    plugin id110335
    published2018-06-06
    reporterThis script is Copyright (C) 2018-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/110335
    titleopenSUSE Security Update : git (openSUSE-2018-557)
  • NASL familyAmazon Linux Local Security Checks
    NASL idALA_ALAS-2018-1035.NASL
    descriptionIn 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, code to sanity-check pathnames on NTFS can result in reading out-of-bounds memory.(CVE-2018-11233) 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
    last seen2020-06-01
    modified2020-06-02
    plugin id110458
    published2018-06-12
    reporterThis script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/110458
    titleAmazon Linux AMI : git (ALAS-2018-1035)
  • NASL familyWindows
    NASL idGIT_FOR_WINDOWS_2_17_1.NASL
    descriptionThe version of Git for Windows installed on the remote host is 2.13.x prior to 2.13.7, 2.14.x prior to 2.14.4, 2.15.x prior to 2.15.2, 2.16.x prior to 2.16.4 or 2.17.x prior to 2.17.1. It is, therefore, affected by a remote code execution vulnerability.
    last seen2020-06-01
    modified2020-06-02
    plugin id110270
    published2018-06-01
    reporterThis script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/110270
    titleGit 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 Execution
  • NASL familyScientific Linux Local Security Checks
    NASL idSL_20180620_GIT_ON_SL7_X.NASL
    descriptionSecurity Fix(es) : - git: arbitrary code execution when recursively cloning a malicious repository (CVE-2018-11235)
    last seen2020-05-15
    modified2018-06-22
    plugin id110655
    published2018-06-22
    reporterThis script is Copyright (C) 2018-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/110655
    titleScientific Linux Security Update : git on SL7.x x86_64 (20180620)
  • NASL familyOracle Linux Local Security Checks
    NASL idORACLELINUX_ELSA-2018-1957.NASL
    descriptionFrom Red Hat Security Advisory 2018:1957 : An update for git is now available for Red Hat Enterprise Linux 7. Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section. Git is a distributed revision control system with a decentralized architecture. As opposed to centralized version control systems with a client-server model, Git ensures that each working copy of a Git repository is an exact copy with complete revision history. This not only allows the user to work on and contribute to projects without the need to have permission to push the changes to their official repositories, but also makes it possible for the user to work with no network connection. Security Fix(es) : * git: arbitrary code execution when recursively cloning a malicious repository (CVE-2018-11235) For more details about the security issue(s), including the impact, a CVSS score, and other related information, refer to the CVE page(s) listed in the References section.
    last seen2020-06-01
    modified2020-06-02
    plugin id110629
    published2018-06-21
    reporterThis script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/110629
    titleOracle Linux 7 : git (ELSA-2018-1957)
  • NASL familySuSE Local Security Checks
    NASL idOPENSUSE-2019-410.NASL
    descriptionThis update for fixes the following security issues : - path sanity-checks on NTFS can read arbitrary memory (CVE-2018-11233, boo#1095218) - arbitrary code execution when recursively cloning a malicious repository (CVE-2018-11235, boo#1095219)
    last seen2020-05-31
    modified2019-03-27
    plugin id123178
    published2019-03-27
    reporterThis script is Copyright (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/123178
    titleopenSUSE Security Update : git (openSUSE-2019-410)
  • NASL familyDebian Local Security Checks
    NASL idDEBIAN_DSA-4212.NASL
    descriptionEtienne Stalmans discovered that git, a fast, scalable, distributed revision control system, is prone to an arbitrary code execution vulnerability exploitable via specially crafted submodule names in a .gitmodules file.
    last seen2020-06-01
    modified2020-06-02
    plugin id110207
    published2018-05-30
    reporterThis script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/110207
    titleDebian DSA-4212-1 : git - security update
  • NASL familyUbuntu Local Security Checks
    NASL idUBUNTU_USN-3671-1.NASL
    descriptionEtienne Stalmans discovered that git did not properly validate git submodules files. A remote attacker could possibly use this to craft a git repo that causes arbitrary code execution when
    last seen2020-06-01
    modified2020-06-02
    plugin id110395
    published2018-06-07
    reporterUbuntu Security Notice (C) 2018-2019 Canonical, Inc. / NASL script (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/110395
    titleUbuntu 14.04 LTS / 16.04 LTS / 17.10 / 18.04 LTS : git vulnerabilities (USN-3671-1)
  • NASL familyPhotonOS Local Security Checks
    NASL idPHOTONOS_PHSA-2018-2_0-0053.NASL
    descriptionAn update of {'git'} packages of Photon OS has been released.
    last seen2019-02-08
    modified2019-02-07
    plugin id111307
    published2018-07-24
    reporterTenable
    sourcehttps://www.tenable.com/plugins/index.php?view=single&id=111307
    titlePhoton OS 2.0 : git (PhotonOS-PHSA-2018-2.0-0053) (deprecated)
  • NASL familySuSE Local Security Checks
    NASL idOPENSUSE-2018-922.NASL
    descriptionThis update for libgit2 to version 0.26.5 fixes the following issues : The following security vulnerabilities were addressed : - CVE-2018-10887: Fixed an integer overflow which in turn leads to an out of bound read, allowing to read the base object, which could be exploited by an attacker to cause denial of service (DoS) (bsc#1100613). - CVE-2018-10888: Fixed an out-of-bound read while reading a binary delta file, which could be exploited by an attacker t ocause a denial of service (DoS) (bsc#1100612). - CVE-2018-11235: Fixed a remote code execution, which could occur with a crafted .gitmodules file (bsc#1095219) - CVE-2018-15501: Prevent out-of-bounds reads when processing smart-protocol
    last seen2020-06-05
    modified2018-08-28
    plugin id112139
    published2018-08-28
    reporterThis script is Copyright (C) 2018-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/112139
    titleopenSUSE Security Update : libgit2 (openSUSE-2018-922)
  • NASL familyHuawei Local Security Checks
    NASL idEULEROS_SA-2018-1215.NASL
    descriptionAccording to the version of the git packages installed, the EulerOS installation on the remote host is affected by the following vulnerability : - arbitrary code execution when recursively cloning a malicious repository (CVE-2018-11235) Note that Tenable Network Security has extracted the preceding description block directly from the EulerOS security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-05-06
    modified2018-07-03
    plugin id110879
    published2018-07-03
    reporterThis script is Copyright (C) 2018-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/110879
    titleEulerOS 2.0 SP2 : git (EulerOS-SA-2018-1215)
  • NASL familySuSE Local Security Checks
    NASL idSUSE_SU-2018-1566-1.NASL
    descriptionThis update for git fixes several issues. These security issues were fixed : - CVE-2018-11233: Path sanity-checks on NTFS allowed attackers to read arbitrary memory (bsc#1095218) - CVE-2018-11235: Arbitrary code execution when recursively cloning a malicious repository (bsc#1095219) Note that Tenable Network Security has extracted the preceding description block directly from the SUSE security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-06-01
    modified2020-06-02
    plugin id110411
    published2018-06-08
    reporterThis script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/110411
    titleSUSE SLES12 Security Update : git (SUSE-SU-2018:1566-1)
  • NASL familyGentoo Local Security Checks
    NASL idGENTOO_GLSA-201805-13.NASL
    descriptionThe remote host is affected by the vulnerability described in GLSA-201805-13 (Git: Multiple vulnerabilities) Multiple vulnerabilities have been discovered in Git. Please review the CVE identifiers referenced below for details. Impact : Remote attackers could execute arbitrary code on both client and server. Workaround : There is no known workaround at this time.
    last seen2020-06-01
    modified2020-06-02
    plugin id110212
    published2018-05-30
    reporterThis script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/110212
    titleGLSA-201805-13 : Git: Multiple vulnerabilities
  • NASL familyHuawei Local Security Checks
    NASL idEULEROS_SA-2019-1385.NASL
    descriptionAccording to the versions of the git packages installed, the EulerOS Virtualization for ARM 64 installation on the remote host is affected by the following vulnerabilities : - 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
    last seen2020-06-01
    modified2020-06-02
    plugin id124888
    published2019-05-14
    reporterThis script is Copyright (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/124888
    titleEulerOS Virtualization for ARM 64 3.0.1.0 : git (EulerOS-SA-2019-1385)
  • NASL familySuSE Local Security Checks
    NASL idSUSE_SU-2018-2469-1.NASL
    descriptionThis update for libgit2 to version 0.26.5 fixes the following issues: The following security vulnerabilities were addressed : - CVE-2018-10887: Fixed an integer overflow which in turn leads to an out of bound read, allowing to read the base object, which could be exploited by an attacker to cause denial of service (DoS) (bsc#1100613). - CVE-2018-10888: Fixed an out-of-bound read while reading a binary delta file, which could be exploited by an attacker t ocause a denial of service (DoS) (bsc#1100612). - CVE-2018-11235: Fixed a remote code execution, which could occur with a crafted .gitmodules file (bsc#1095219) - CVE-2018-15501: Prevent out-of-bounds reads when processing smart-protocol
    last seen2020-03-19
    modified2019-01-02
    plugin id120086
    published2019-01-02
    reporterThis script is Copyright (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/120086
    titleSUSE SLED15 / SLES15 Security Update : libgit2 (SUSE-SU-2018:2469-1)
  • NASL familySuSE Local Security Checks
    NASL idSUSE_SU-2020-0992-1.NASL
    descriptionThis update for git fixes the following issues : Security issue fixed : CVE-2020-5260: With a crafted URL that contains a newline in it, the credential helper machinery can be fooled to give credential information for a wrong host (bsc#1168930). Non-security issue fixed : git was updated to 2.26.0 for SHA256 support (bsc#1167890, jsc#SLE-11608): the xinetd snippet was removed the System V init script for the git-daemon was replaced by a systemd service file of the same name. git 2.26.0:
    last seen2020-04-30
    modified2020-04-15
    plugin id135580
    published2020-04-15
    reporterThis script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/135580
    titleSUSE SLES12 Security Update : git (SUSE-SU-2020:0992-1)
  • NASL familyRed Hat Local Security Checks
    NASL idREDHAT-RHSA-2018-1957.NASL
    descriptionAn update for git is now available for Red Hat Enterprise Linux 7. Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section. Git is a distributed revision control system with a decentralized architecture. As opposed to centralized version control systems with a client-server model, Git ensures that each working copy of a Git repository is an exact copy with complete revision history. This not only allows the user to work on and contribute to projects without the need to have permission to push the changes to their official repositories, but also makes it possible for the user to work with no network connection. Security Fix(es) : * git: arbitrary code execution when recursively cloning a malicious repository (CVE-2018-11235) For more details about the security issue(s), including the impact, a CVSS score, and other related information, refer to the CVE page(s) listed in the References section.
    last seen2020-06-01
    modified2020-06-02
    plugin id110632
    published2018-06-21
    reporterThis script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/110632
    titleRHEL 7 : git (RHSA-2018:1957)

Packetstorm

Redhat

advisories
  • bugzilla
    id1583862
    titleCVE-2018-11235 git: arbitrary code execution when recursively cloning a malicious repository
    oval
    OR
    • commentRed Hat Enterprise Linux must be installed
      ovaloval:com.redhat.rhba:tst:20070304026
    • AND
      • commentRed Hat Enterprise Linux 7 is installed
        ovaloval:com.redhat.rhba:tst:20150364027
      • OR
        • AND
          • commentgit-daemon is earlier than 0:1.8.3.1-14.el7_5
            ovaloval:com.redhat.rhsa:tst:20181957001
          • commentgit-daemon is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20101003004
        • AND
          • commentgit-svn is earlier than 0:1.8.3.1-14.el7_5
            ovaloval:com.redhat.rhsa:tst:20181957003
          • commentgit-svn is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20101003018
        • AND
          • commentgit is earlier than 0:1.8.3.1-14.el7_5
            ovaloval:com.redhat.rhsa:tst:20181957005
          • commentgit is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20101003002
        • AND
          • commentgit-hg is earlier than 0:1.8.3.1-14.el7_5
            ovaloval:com.redhat.rhsa:tst:20181957007
          • commentgit-hg is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20152561022
        • AND
          • commentgit-bzr is earlier than 0:1.8.3.1-14.el7_5
            ovaloval:com.redhat.rhsa:tst:20181957009
          • commentgit-bzr is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20152561008
        • AND
          • commentgitk is earlier than 0:1.8.3.1-14.el7_5
            ovaloval:com.redhat.rhsa:tst:20181957011
          • commentgitk is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20101003020
        • AND
          • commentgit-gui is earlier than 0:1.8.3.1-14.el7_5
            ovaloval:com.redhat.rhsa:tst:20181957013
          • commentgit-gui is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20101003006
        • AND
          • commentemacs-git is earlier than 0:1.8.3.1-14.el7_5
            ovaloval:com.redhat.rhsa:tst:20181957015
          • commentemacs-git is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20101003022
        • AND
          • commentperl-Git is earlier than 0:1.8.3.1-14.el7_5
            ovaloval:com.redhat.rhsa:tst:20181957017
          • commentperl-Git is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20101003012
        • AND
          • commentgit-email is earlier than 0:1.8.3.1-14.el7_5
            ovaloval:com.redhat.rhsa:tst:20181957019
          • commentgit-email is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20101003024
        • AND
          • commentgit-all is earlier than 0:1.8.3.1-14.el7_5
            ovaloval:com.redhat.rhsa:tst:20181957021
          • commentgit-all is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20101003010
        • AND
          • commentgitweb is earlier than 0:1.8.3.1-14.el7_5
            ovaloval:com.redhat.rhsa:tst:20181957023
          • commentgitweb is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20101003014
        • AND
          • commentgit-cvs is earlier than 0:1.8.3.1-14.el7_5
            ovaloval:com.redhat.rhsa:tst:20181957025
          • commentgit-cvs is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20101003016
        • AND
          • commentgit-p4 is earlier than 0:1.8.3.1-14.el7_5
            ovaloval:com.redhat.rhsa:tst:20181957027
          • commentgit-p4 is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20152561014
        • AND
          • commentperl-Git-SVN is earlier than 0:1.8.3.1-14.el7_5
            ovaloval:com.redhat.rhsa:tst:20181957029
          • commentperl-Git-SVN is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20152561012
        • AND
          • commentemacs-git-el is earlier than 0:1.8.3.1-14.el7_5
            ovaloval:com.redhat.rhsa:tst:20181957031
          • commentemacs-git-el is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20101003008
    rhsa
    idRHSA-2018:1957
    released2018-06-21
    severityImportant
    titleRHSA-2018:1957: git security update (Important)
  • rhsa
    idRHSA-2018:2147
rpms
  • emacs-git-0:1.8.3.1-14.el7_5
  • emacs-git-el-0:1.8.3.1-14.el7_5
  • git-0:1.8.3.1-14.el7_5
  • git-all-0:1.8.3.1-14.el7_5
  • git-bzr-0:1.8.3.1-14.el7_5
  • git-cvs-0:1.8.3.1-14.el7_5
  • git-daemon-0:1.8.3.1-14.el7_5
  • git-debuginfo-0:1.8.3.1-14.el7_5
  • git-email-0:1.8.3.1-14.el7_5
  • git-gui-0:1.8.3.1-14.el7_5
  • git-hg-0:1.8.3.1-14.el7_5
  • git-p4-0:1.8.3.1-14.el7_5
  • git-svn-0:1.8.3.1-14.el7_5
  • gitk-0:1.8.3.1-14.el7_5
  • gitweb-0:1.8.3.1-14.el7_5
  • perl-Git-0:1.8.3.1-14.el7_5
  • perl-Git-SVN-0:1.8.3.1-14.el7_5
  • rh-git29-emacs-git-0:2.9.3-4.el6
  • rh-git29-emacs-git-el-0:2.9.3-4.el6
  • rh-git29-git-0:2.9.3-4.el6
  • rh-git29-git-0:2.9.3-4.el7
  • rh-git29-git-all-0:2.9.3-4.el6
  • rh-git29-git-all-0:2.9.3-4.el7
  • rh-git29-git-core-0:2.9.3-4.el6
  • rh-git29-git-core-0:2.9.3-4.el7
  • rh-git29-git-core-doc-0:2.9.3-4.el6
  • rh-git29-git-core-doc-0:2.9.3-4.el7
  • rh-git29-git-cvs-0:2.9.3-4.el6
  • rh-git29-git-cvs-0:2.9.3-4.el7
  • rh-git29-git-daemon-0:2.9.3-4.el6
  • rh-git29-git-daemon-0:2.9.3-4.el7
  • rh-git29-git-debuginfo-0:2.9.3-4.el6
  • rh-git29-git-debuginfo-0:2.9.3-4.el7
  • rh-git29-git-email-0:2.9.3-4.el6
  • rh-git29-git-email-0:2.9.3-4.el7
  • rh-git29-git-gui-0:2.9.3-4.el6
  • rh-git29-git-gui-0:2.9.3-4.el7
  • rh-git29-git-p4-0:2.9.3-4.el6
  • rh-git29-git-p4-0:2.9.3-4.el7
  • rh-git29-git-svn-0:2.9.3-4.el6
  • rh-git29-git-svn-0:2.9.3-4.el7
  • rh-git29-gitk-0:2.9.3-4.el6
  • rh-git29-gitk-0:2.9.3-4.el7
  • rh-git29-gitweb-0:2.9.3-4.el6
  • rh-git29-gitweb-0:2.9.3-4.el7
  • rh-git29-perl-Git-0:2.9.3-4.el6
  • rh-git29-perl-Git-0:2.9.3-4.el7
  • rh-git29-perl-Git-SVN-0:2.9.3-4.el6
  • rh-git29-perl-Git-SVN-0:2.9.3-4.el7