Skip to content
OpenAdvisories
Medium ALSA-2023:2319 4 CVEs

Moderate: git security and bug fix update

Published May 9, 2023 · Updated Oct 29, 2026

Summary

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: On multi-user machines Git users might find themselves unexpectedly in a Git worktree (CVE-2022-24765)
* git: Bypass of safe.directory protections (CVE-2022-29187)
* git: exposure of sensitive information to a malicious actor (CVE-2022-39253)
* git: git shell function that splits command arguments can lead to arbitrary heap writes. (CVE-2022-39260)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.

Fixed packages 15

ReleasePackageFixed in
AlmaLinux · 9 git 2.39.1-1.el9
AlmaLinux · 9 git-all 2.39.1-1.el9
AlmaLinux · 9 git-core 2.39.1-1.el9
AlmaLinux · 9 git-core-doc 2.39.1-1.el9
AlmaLinux · 9 git-credential-libsecret 2.39.1-1.el9
AlmaLinux · 9 git-daemon 2.39.1-1.el9
AlmaLinux · 9 git-email 2.39.1-1.el9
AlmaLinux · 9 git-gui 2.39.1-1.el9
AlmaLinux · 9 git-instaweb 2.39.1-1.el9
AlmaLinux · 9 git-subtree 2.39.1-1.el9
AlmaLinux · 9 git-svn 2.39.1-1.el9
AlmaLinux · 9 gitk 2.39.1-1.el9
AlmaLinux · 9 gitweb 2.39.1-1.el9
AlmaLinux · 9 perl-Git 2.39.1-1.el9
AlmaLinux · 9 perl-Git-SVN 2.39.1-1.el9

Vulnerabilities 4

  • 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.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…

References

  • report
    https://access.redhat.com/security/cve/CVE-2022-24765
  • report
    https://access.redhat.com/security/cve/CVE-2022-29187
  • report
    https://access.redhat.com/security/cve/CVE-2022-39253
  • report
    https://access.redhat.com/security/cve/CVE-2022-39260
  • report
    https://bugzilla.redhat.com/2073414
  • report
    https://bugzilla.redhat.com/2107439
  • report
    https://bugzilla.redhat.com/2137422
  • report
    https://bugzilla.redhat.com/2137423
  • advisory
    https://errata.almalinux.org/9/ALSA-2023-2319.html