ALAS-2018-1035


Amazon Linux 1 Security Advisory: ALAS-2018-1035
Advisory Release Date: 2018-06-08 18:31 Pacific
Advisory Updated Date: 2018-06-11 21:30 Pacific
Severity: Important

Issue Overview:

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, 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 "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)


Affected Packages:

git


Issue Correction:
Run yum update git to update your system.

New Packages:
i686:
    git-daemon-2.14.4-2.58.amzn1.i686
    git-2.14.4-2.58.amzn1.i686
    git-debuginfo-2.14.4-2.58.amzn1.i686
    git-svn-2.14.4-2.58.amzn1.i686

noarch:
    git-bzr-2.14.4-2.58.amzn1.noarch
    git-cvs-2.14.4-2.58.amzn1.noarch
    perl-Git-SVN-2.14.4-2.58.amzn1.noarch
    perl-Git-2.14.4-2.58.amzn1.noarch
    git-email-2.14.4-2.58.amzn1.noarch
    git-all-2.14.4-2.58.amzn1.noarch
    git-hg-2.14.4-2.58.amzn1.noarch
    emacs-git-2.14.4-2.58.amzn1.noarch
    git-p4-2.14.4-2.58.amzn1.noarch
    gitweb-2.14.4-2.58.amzn1.noarch
    emacs-git-el-2.14.4-2.58.amzn1.noarch

src:
    git-2.14.4-2.58.amzn1.src

x86_64:
    git-2.14.4-2.58.amzn1.x86_64
    git-daemon-2.14.4-2.58.amzn1.x86_64
    git-svn-2.14.4-2.58.amzn1.x86_64
    git-debuginfo-2.14.4-2.58.amzn1.x86_64