Skip to content
OpenAdvisories
High ALAS2-2018-1035 2 CVEs

Important: git security update (Amazon Linux 2)

Published Jun 7, 2018 · Updated Jun 11, 2018

Summary

Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2018-11235: 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. 1583862: CVE-2018-11235 git: arbitrary code execution when recursively cloning a malicious repository 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, code to sanity-check pathnames on NTFS can result in reading out-of-bounds memory. 1583888: CVE-2018-11233 git: path sanity-checks on NTFS can read arbitrary memory

Fixed packages 16

ReleasePackageFixed in
Amazon Linux · 2 git 0:2.14.4-1.amzn2
Amazon Linux · 2 git-all 0:2.14.4-1.amzn2
Amazon Linux · 2 git-core 0:2.14.4-1.amzn2
Amazon Linux · 2 git-core-doc 0:2.14.4-1.amzn2
Amazon Linux · 2 git-cvs 0:2.14.4-1.amzn2
Amazon Linux · 2 git-daemon 0:2.14.4-1.amzn2
Amazon Linux · 2 git-debuginfo 0:2.14.4-1.amzn2
Amazon Linux · 2 git-email 0:2.14.4-1.amzn2
Amazon Linux · 2 git-gnome-keyring 0:2.14.4-1.amzn2
Amazon Linux · 2 git-gui 0:2.14.4-1.amzn2
Amazon Linux · 2 git-p4 0:2.14.4-1.amzn2
Amazon Linux · 2 git-svn 0:2.14.4-1.amzn2
Amazon Linux · 2 gitk 0:2.14.4-1.amzn2
Amazon Linux · 2 gitweb 0:2.14.4-1.amzn2
Amazon Linux · 2 perl-Git 0:2.14.4-1.amzn2
Amazon Linux · 2 perl-Git-SVN 0:2.14.4-1.amzn2

Vulnerabilities 2

  • Unscored —

    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 …

  • Unscored —
    CVE-2018-11235 Public exploit EPSS 47%

    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, remot…

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2018-11233.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2018-11235.html