Skip to content
OpenAdvisories
High RHSA-2024:0407 6 CVEs

Red Hat Security Advisory: git security update

Published Sep 16, 2024 · Updated Aug 5, 2026

Fixed packages 20

ReleasePackageFixed in
Red Hat · RHEL 8.6 EUS rhel_eus:8.6::appstream git 0:2.31.8-1.el8_6
Red Hat · RHEL 8.6 EUS rhel_eus:8.6::appstream git-all 0:2.31.8-1.el8_6
Red Hat · RHEL 8.6 EUS rhel_eus:8.6::appstream git-core 0:2.31.8-1.el8_6
Red Hat · RHEL 8.6 EUS rhel_eus:8.6::appstream git-core-debuginfo 0:2.31.8-1.el8_6
Red Hat · RHEL 8.6 EUS rhel_eus:8.6::appstream git-core-doc 0:2.31.8-1.el8_6
Red Hat · RHEL 8.6 EUS rhel_eus:8.6::appstream git-credential-libsecret 0:2.31.8-1.el8_6
Red Hat · RHEL 8.6 EUS rhel_eus:8.6::appstream git-credential-libsecret-debuginfo 0:2.31.8-1.el8_6
Red Hat · RHEL 8.6 EUS rhel_eus:8.6::appstream git-daemon 0:2.31.8-1.el8_6
Red Hat · RHEL 8.6 EUS rhel_eus:8.6::appstream git-daemon-debuginfo 0:2.31.8-1.el8_6
Red Hat · RHEL 8.6 EUS rhel_eus:8.6::appstream git-debuginfo 0:2.31.8-1.el8_6
Red Hat · RHEL 8.6 EUS rhel_eus:8.6::appstream git-debugsource 0:2.31.8-1.el8_6
Red Hat · RHEL 8.6 EUS rhel_eus:8.6::appstream git-email 0:2.31.8-1.el8_6
Red Hat · RHEL 8.6 EUS rhel_eus:8.6::appstream git-gui 0:2.31.8-1.el8_6
Red Hat · RHEL 8.6 EUS rhel_eus:8.6::appstream git-instaweb 0:2.31.8-1.el8_6
Red Hat · RHEL 8.6 EUS rhel_eus:8.6::appstream git-subtree 0:2.31.8-1.el8_6
Red Hat · RHEL 8.6 EUS rhel_eus:8.6::appstream git-svn 0:2.31.8-1.el8_6
Red Hat · RHEL 8.6 EUS rhel_eus:8.6::appstream gitk 0:2.31.8-1.el8_6
Red Hat · RHEL 8.6 EUS rhel_eus:8.6::appstream gitweb 0:2.31.8-1.el8_6
Red Hat · RHEL 8.6 EUS rhel_eus:8.6::appstream perl-Git 0:2.31.8-1.el8_6
Red Hat · RHEL 8.6 EUS rhel_eus:8.6::appstream perl-Git-SVN 0:2.31.8-1.el8_6

Vulnerabilities 6

  • High 8.5

    Git vulnerable to Remote Code Execution via Heap overflow in `git shell`

    Git is an open source, scalable, distributed revision control system. `git shell` is a restricted login shell that can be used to implement Git's push/pull functionality via SSH. In versions prior to 2.30.6, 2.31.5, 2.32.4, 2.33.5, 2.34.5, 2.35.5, 2.36.3, and…

  • High 7.8

    Bypass of safe.directory protections in Git

    Git is a distributed revision control system. Git prior to versions 2.37.1, 2.36.2, 2.35.4, 2.34.4, 2.33.4, 2.32.3, 2.31.4, and 2.30.5, is vulnerable to privilege escalation in all platforms. An unsuspecting user could still be affected by the issue reported …

  • Medium 6.2
    CVE-2023-23946 Public exploit

    Git's `git apply` overwriting paths outside the working tree

    Git, a revision control system, is vulnerable to path traversal prior to versions 2.39.2, 2.38.4, 2.37.6, 2.36.5, 2.35.7, 2.34.7, 2.33.7, 2.32.6, 2.31.7, and 2.30.8. By feeding a crafted input to `git apply`, a path outside the working tree can be overwritten…

  • Medium 6.0
    CVE-2022-24765 Public exploit

    Uncontrolled search for the Git directory in Git for Windows

    Git for Windows is a fork of Git containing Windows-specific patches. This vulnerability affects users working on multi-user machines, where untrusted parties have write access to the same hard disk. Those untrusted parties could create the folder `C:\.git`, …

  • Medium 5.5
    CVE-2022-39253 Public exploit

    Git subject to exposure of sensitive information via local clone of symbolic links

    Git is an open source, scalable, distributed revision control system. Versions prior to 2.30.6, 2.31.5, 2.32.4, 2.33.5, 2.34.5, 2.35.5, 2.36.3, and 2.37.4 are subject to exposure of sensitive information to a malicious actor. When performing a local clone (wh…

  • Medium 5.5
    CVE-2023-22490 Public exploit

    Git vulnerable to local clone-based data exfiltration with non-local transports

    Git is a revision control system. Using a specially-crafted repository, Git prior to versions 2.39.2, 2.38.4, 2.37.6, 2.36.5, 2.35.7, 2.34.7, 2.33.7, 2.32.6, 2.31.7, and 2.30.8 can be tricked into using its local clone optimization even when using a non-local…

References

  • article
    https://access.redhat.com/security/updates/classification/#moderate
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=2073414
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=2107439
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=2137422
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=2137423
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=2168160
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=2168161
  • advisory
    https://security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_0407.json
  • report
    https://access.redhat.com/security/cve/CVE-2022-24765
  • advisory
    https://www.cve.org/CVERecord?id=CVE-2022-24765
  • advisory
    https://nvd.nist.gov/vuln/detail/CVE-2022-24765
  • article
    https://github.com/git-for-windows/git/security/advisories/GHSA-vw2c-22j4-2fh2
  • report
    https://access.redhat.com/security/cve/CVE-2022-29187
  • advisory
    https://www.cve.org/CVERecord?id=CVE-2022-29187
  • advisory
    https://nvd.nist.gov/vuln/detail/CVE-2022-29187
  • report
    https://access.redhat.com/security/cve/CVE-2022-39253
  • advisory
    https://www.cve.org/CVERecord?id=CVE-2022-39253
  • advisory
    https://nvd.nist.gov/vuln/detail/CVE-2022-39253
  • report
    https://access.redhat.com/security/cve/CVE-2022-39260
  • advisory
    https://www.cve.org/CVERecord?id=CVE-2022-39260
  • advisory
    https://nvd.nist.gov/vuln/detail/CVE-2022-39260
  • report
    https://access.redhat.com/security/cve/CVE-2023-22490
  • advisory
    https://www.cve.org/CVERecord?id=CVE-2023-22490
  • advisory
    https://nvd.nist.gov/vuln/detail/CVE-2023-22490
  • article
    https://github.blog/2023-02-14-git-security-vulnerabilities-announced-3/
  • article
    https://github.com/git/git/security/advisories/GHSA-gw92-x3fm-3g3q
  • report
    https://access.redhat.com/security/cve/CVE-2023-23946
  • advisory
    https://www.cve.org/CVERecord?id=CVE-2023-23946
  • advisory
    https://nvd.nist.gov/vuln/detail/CVE-2023-23946
  • article
    https://github.com/git/git/security/advisories/GHSA-r87m-v37r-cwfh