Red Hat Security Advisory: rh-git218-git security update
🔗 CVE IDs covered (4)
📋 Description
CVE-2019-1348 — git: Arbitrary path overwriting via export-marks in-stream command feature CVE-2019-1349 — git: Recursive submodule cloning allows using git directory twice with synonymous directory name written in .git/ CVE-2019-1352 — git: Files inside the .git directory may be overwritten during cloning via NTFS Alternate Data Streams CVE-2019-1387 — git: Remote code execution in recursive clones with nested submodules
🎯 Affected products158
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7)
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5)
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6)
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7)
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7)
- rh-git218-git-0:2.18.2-1.el7.aarch64 as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7)
- rh-git218-git-0:2.18.2-1.el7.ppc64le as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7)
- rh-git218-git-0:2.18.2-1.el7.ppc64le as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5)
- rh-git218-git-0:2.18.2-1.el7.ppc64le as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6)
- rh-git218-git-0:2.18.2-1.el7.ppc64le as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7)
- rh-git218-git-0:2.18.2-1.el7.s390x as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7)
- rh-git218-git-0:2.18.2-1.el7.s390x as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5)
- rh-git218-git-0:2.18.2-1.el7.s390x as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6)
- rh-git218-git-0:2.18.2-1.el7.s390x as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7)
- rh-git218-git-0:2.18.2-1.el7.src as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7)
- rh-git218-git-0:2.18.2-1.el7.src as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5)
- rh-git218-git-0:2.18.2-1.el7.src as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6)
- rh-git218-git-0:2.18.2-1.el7.src as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7)
- rh-git218-git-0:2.18.2-1.el7.src as a component of Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7)
- rh-git218-git-0:2.18.2-1.el7.x86_64 as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7)
- rh-git218-git-0:2.18.2-1.el7.x86_64 as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5)
- rh-git218-git-0:2.18.2-1.el7.x86_64 as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6)
- rh-git218-git-0:2.18.2-1.el7.x86_64 as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7)
- rh-git218-git-0:2.18.2-1.el7.x86_64 as a component of Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7)
- rh-git218-git-all-0:2.18.2-1.el7.noarch as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7)
- rh-git218-git-all-0:2.18.2-1.el7.noarch as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5)
- rh-git218-git-all-0:2.18.2-1.el7.noarch as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6)
- rh-git218-git-all-0:2.18.2-1.el7.noarch as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7)
- rh-git218-git-all-0:2.18.2-1.el7.noarch as a component of Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7)
- rh-git218-git-core-0:2.18.2-1.el7.aarch64 as a component of Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7)
- +128 more not shown
✅ Remediation
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Workaround: Avoid running `git fast-import` on untrusted input. Workaround: Avoid running `git clone --recurse-submodules` and `git submodule update` with untrusted repositories.
🔗 References (7)
- selfhttps://access.redhat.com/errata/RHSA-2020:0002
- externalhttps://access.redhat.com/security/updates/classification/#important
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1781127
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1781143
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1781953
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1781963
- selfhttps://security.access.redhat.com/data/csaf/v2/advisories/2020/rhsa-2020_0002.json