Patchwire CVEs, their patch status, and feeds to follow them

CVE-2022-29187

Fixed in a distro release EPSS <1%CVSS 7.8

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 in CVE-2022-24765, for example when navigating as root into a shared tmp directory that is owned by them, but where an attacker could create a git repository. 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 contain a patch for this issue. The simplest way to avoid being affected by the exploit described in the example is to avoid running git as root (or an Administrator in Windows), and if needed to reduce its use to a minimum. While a generic workaround is not possible, a system could be hardened from the exploit described in the example by removing any such repository if it exists already and creating one as root to block any future attacks.

Published 2022-07-12 · CVE record · OSV

Products: git

Distro releases

ReleasePackageFixed in
AlmaLinux 8git2.39.1-1.el8
AlmaLinux 8git-all2.39.1-1.el8
AlmaLinux 8git-core2.39.1-1.el8
AlmaLinux 8git-core-doc2.39.1-1.el8
AlmaLinux 8git-credential-libsecret2.39.1-1.el8
AlmaLinux 8git-daemon2.39.1-1.el8
AlmaLinux 8git-email2.39.1-1.el8
AlmaLinux 8git-gui2.39.1-1.el8
AlmaLinux 8git-instaweb2.39.1-1.el8
AlmaLinux 8git-subtree2.39.1-1.el8
AlmaLinux 8git-svn2.39.1-1.el8
AlmaLinux 8gitk2.39.1-1.el8
AlmaLinux 8gitweb2.39.1-1.el8
AlmaLinux 8perl-Git2.39.1-1.el8
AlmaLinux 8perl-Git-SVN2.39.1-1.el8
AlmaLinux 9git2.39.1-1.el9
AlmaLinux 9git-all2.39.1-1.el9
AlmaLinux 9git-core2.39.1-1.el9
AlmaLinux 9git-core-doc2.39.1-1.el9
AlmaLinux 9git-credential-libsecret2.39.1-1.el9
AlmaLinux 9git-daemon2.39.1-1.el9
AlmaLinux 9git-email2.39.1-1.el9
AlmaLinux 9git-gui2.39.1-1.el9
AlmaLinux 9git-instaweb2.39.1-1.el9
AlmaLinux 9git-subtree2.39.1-1.el9
AlmaLinux 9git-svn2.39.1-1.el9
AlmaLinux 9gitk2.39.1-1.el9
AlmaLinux 9gitweb2.39.1-1.el9
AlmaLinux 9perl-Git2.39.1-1.el9
AlmaLinux 9perl-Git-SVN2.39.1-1.el9
Alpine 3.13git2.30.5-r0
Alpine 3.14git2.32.3-r0
Alpine 3.15git2.34.4-r0
Alpine 3.16git2.36.2-r0
Alpine 3.17git2.37.1-r0
Alpine 3.18git2.37.1-r0
Alpine 3.19git2.37.1-r0
Alpine 3.20git2.37.1-r0
Alpine 3.21git2.37.1-r0
Alpine 3.22git2.37.1-r0
Alpine 3.23git2.37.1-r0
Alpine 3.24git2.37.1-r0
Amazon Linux 2git2.37.1-1.amzn2.0.1
Amazon Linux 2git-all2.37.1-1.amzn2.0.1
Amazon Linux 2git-core2.37.1-1.amzn2.0.1
Amazon Linux 2git-core-doc2.37.1-1.amzn2.0.1
Amazon Linux 2git-credential-libsecret2.37.1-1.amzn2.0.1
Amazon Linux 2git-cvs2.37.1-1.amzn2.0.1
Amazon Linux 2git-daemon2.37.1-1.amzn2.0.1
Amazon Linux 2git-email2.37.1-1.amzn2.0.1
Amazon Linux 2git-gui2.37.1-1.amzn2.0.1
Amazon Linux 2git-instaweb2.37.1-1.amzn2.0.1
Amazon Linux 2git-p42.37.1-1.amzn2.0.1
Amazon Linux 2git-subtree2.37.1-1.amzn2.0.1
Amazon Linux 2git-svn2.37.1-1.amzn2.0.1
Amazon Linux 2gitk2.37.1-1.amzn2.0.1
Amazon Linux 2gitweb2.37.1-1.amzn2.0.1
Amazon Linux 2perl-Git2.37.1-1.amzn2.0.1
Amazon Linux 2perl-Git-SVN2.37.1-1.amzn2.0.1
Amazon Linux 2023git2.39.1-1.amzn2023.0.2
Amazon Linux 2023git-all2.39.1-1.amzn2023.0.2
Amazon Linux 2023git-core2.39.1-1.amzn2023.0.2
Amazon Linux 2023git-core-doc2.39.1-1.amzn2023.0.2
Amazon Linux 2023git-credential-libsecret2.39.1-1.amzn2023.0.2
Amazon Linux 2023git-cvs2.39.1-1.amzn2023.0.2
Amazon Linux 2023git-daemon2.39.1-1.amzn2023.0.2
Amazon Linux 2023git-email2.39.1-1.amzn2023.0.2
Amazon Linux 2023git-gui2.39.1-1.amzn2023.0.2
Amazon Linux 2023git-instaweb2.39.1-1.amzn2023.0.2
Amazon Linux 2023git-p42.39.1-1.amzn2023.0.2
Amazon Linux 2023git-subtree2.39.1-1.amzn2023.0.2
Amazon Linux 2023git-svn2.39.1-1.amzn2023.0.2
Amazon Linux 2023gitk2.39.1-1.amzn2023.0.2
Amazon Linux 2023gitweb2.39.1-1.amzn2023.0.2
Amazon Linux 2023perl-Git2.39.1-1.amzn2023.0.2
Amazon Linux 2023perl-Git-SVN2.39.1-1.amzn2023.0.2
Arch Linuxgit2.37.1-1
Debian 10git1:2.20.1-2+deb10u5
Debian 11git1:2.30.2-1+deb11u1
Debian 12git1:2.37.2-1
Debian 13git1:2.37.2-1
Debian 14git1:2.37.2-1
Red Hat Enterprise Linux 8git0:2.39.1-1.el8
Red Hat Enterprise Linux 8git-all0:2.39.1-1.el8
Red Hat Enterprise Linux 8git-core0:2.39.1-1.el8
Red Hat Enterprise Linux 8git-core-debuginfo0:2.39.1-1.el8
Red Hat Enterprise Linux 8git-core-doc0:2.39.1-1.el8
Red Hat Enterprise Linux 8git-credential-libsecret0:2.39.1-1.el8
Red Hat Enterprise Linux 8git-credential-libsecret-debuginfo0:2.39.1-1.el8
Red Hat Enterprise Linux 8git-daemon0:2.39.1-1.el8
Red Hat Enterprise Linux 8git-daemon-debuginfo0:2.39.1-1.el8
Red Hat Enterprise Linux 8git-debuginfo0:2.39.1-1.el8
Red Hat Enterprise Linux 8git-debugsource0:2.39.1-1.el8
Red Hat Enterprise Linux 8git-email0:2.39.1-1.el8
Red Hat Enterprise Linux 8git-gui0:2.39.1-1.el8
Red Hat Enterprise Linux 8git-instaweb0:2.39.1-1.el8
Red Hat Enterprise Linux 8git-subtree0:2.39.1-1.el8
Red Hat Enterprise Linux 8git-svn0:2.39.1-1.el8
Red Hat Enterprise Linux 8gitk0:2.39.1-1.el8
Red Hat Enterprise Linux 8gitweb0:2.39.1-1.el8
Red Hat Enterprise Linux 8perl-Git0:2.39.1-1.el8
Red Hat Enterprise Linux 8perl-Git-SVN0:2.39.1-1.el8
Red Hat Enterprise Linux 9git0:2.39.1-1.el9
Red Hat Enterprise Linux 9git-all0:2.39.1-1.el9
Red Hat Enterprise Linux 9git-core0:2.39.1-1.el9
Red Hat Enterprise Linux 9git-core-debuginfo0:2.39.1-1.el9
Red Hat Enterprise Linux 9git-core-doc0:2.39.1-1.el9
Red Hat Enterprise Linux 9git-credential-libsecret0:2.39.1-1.el9
Red Hat Enterprise Linux 9git-credential-libsecret-debuginfo0:2.39.1-1.el9
Red Hat Enterprise Linux 9git-daemon0:2.39.1-1.el9
Red Hat Enterprise Linux 9git-daemon-debuginfo0:2.39.1-1.el9
Red Hat Enterprise Linux 9git-debuginfo0:2.39.1-1.el9
Red Hat Enterprise Linux 9git-debugsource0:2.39.1-1.el9
Red Hat Enterprise Linux 9git-email0:2.39.1-1.el9
Red Hat Enterprise Linux 9git-gui0:2.39.1-1.el9
Red Hat Enterprise Linux 9git-instaweb0:2.39.1-1.el9
Red Hat Enterprise Linux 9git-subtree0:2.39.1-1.el9
Red Hat Enterprise Linux 9git-svn0:2.39.1-1.el9
Red Hat Enterprise Linux 9gitk0:2.39.1-1.el9
Red Hat Enterprise Linux 9gitweb0:2.39.1-1.el9
Red Hat Enterprise Linux 9perl-Git0:2.39.1-1.el9
Red Hat Enterprise Linux 9perl-Git-SVN0:2.39.1-1.el9
Red Hat rhel eus 8.6git0:2.31.8-1.el8_6
Red Hat rhel eus 8.6git-all0:2.31.8-1.el8_6
Red Hat rhel eus 8.6git-core0:2.31.8-1.el8_6
Red Hat rhel eus 8.6git-core-debuginfo0:2.31.8-1.el8_6
Red Hat rhel eus 8.6git-core-doc0:2.31.8-1.el8_6
Red Hat rhel eus 8.6git-credential-libsecret0:2.31.8-1.el8_6
Red Hat rhel eus 8.6git-credential-libsecret-debuginfo0:2.31.8-1.el8_6
Red Hat rhel eus 8.6git-daemon0:2.31.8-1.el8_6
Red Hat rhel eus 8.6git-daemon-debuginfo0:2.31.8-1.el8_6
Red Hat rhel eus 8.6git-debuginfo0:2.31.8-1.el8_6
Red Hat rhel eus 8.6git-debugsource0:2.31.8-1.el8_6
Red Hat rhel eus 8.6git-email0:2.31.8-1.el8_6
Red Hat rhel eus 8.6git-gui0:2.31.8-1.el8_6
Red Hat rhel eus 8.6git-instaweb0:2.31.8-1.el8_6
Red Hat rhel eus 8.6git-subtree0:2.31.8-1.el8_6
Red Hat rhel eus 8.6git-svn0:2.31.8-1.el8_6
Red Hat rhel eus 8.6gitk0:2.31.8-1.el8_6
Red Hat rhel eus 8.6gitweb0:2.31.8-1.el8_6
Red Hat rhel eus 8.6perl-Git0:2.31.8-1.el8_6
Red Hat rhel eus 8.6perl-Git-SVN0:2.31.8-1.el8_6
SUSE Enterprise Storage 6git2.26.2-150000.41.1
SUSE Enterprise Storage 6libgit20.26.8-150000.3.15.1
SUSE Enterprise Storage 7git2.26.2-150000.41.1
SUSE Enterprise Storage 7libgit20.26.8-150000.3.15.1
SUSE Enterprise Storage 7libgit20.28.4-150200.3.3.1
SUSE HPE Helion OpenStack 8git2.26.2-27.57.1
SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOSgit2.26.2-150000.41.1
SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOSlibgit20.26.8-150000.3.15.1
SUSE Linux Enterprise High Performance Computing 15 SP1-LTSSgit2.26.2-150000.41.1
SUSE Linux Enterprise High Performance Computing 15 SP1-LTSSlibgit20.26.8-150000.3.15.1
SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOSgit2.26.2-150000.41.1
SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOSlibgit20.28.4-150200.3.3.1
SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOSlibgit20.26.8-150000.3.15.1
SUSE Linux Enterprise High Performance Computing 15 SP2-LTSSgit2.26.2-150000.41.1
SUSE Linux Enterprise High Performance Computing 15 SP2-LTSSlibgit20.28.4-150200.3.3.1
SUSE Linux Enterprise High Performance Computing 15 SP2-LTSSlibgit20.26.8-150000.3.15.1
SUSE Linux Enterprise High Performance Computing 15-ESPOSgit2.26.2-150000.41.1
SUSE Linux Enterprise High Performance Computing 15-ESPOSlibgit20.26.8-150000.3.15.1
SUSE Linux Enterprise High Performance Computing 15-LTSSgit2.26.2-150000.41.1
SUSE Linux Enterprise High Performance Computing 15-LTSSlibgit20.26.8-150000.3.15.1
SUSE Linux Enterprise Module for Basesystem 15 SP3git2.35.3-150300.10.15.1
SUSE Linux Enterprise Module for Basesystem 15 SP4git2.35.3-150300.10.15.1
SUSE Linux Enterprise Module for Development Tools 15 SP3git2.35.3-150300.10.15.1
SUSE Linux Enterprise Module for Development Tools 15 SP3libgit20.28.4-150200.3.3.1
SUSE Linux Enterprise Module for Development Tools 15 SP4git2.35.3-150300.10.15.1
SUSE Linux Enterprise Module for Development Tools 15 SP4libgit21.3.0-150400.3.3.1
SUSE Linux Enterprise Server 12 SP2-BCLgit2.26.2-27.57.1
SUSE Linux Enterprise Server 12 SP3-BCLgit2.26.2-27.57.1
SUSE Linux Enterprise Server 12 SP4-LTSSgit2.26.2-27.57.1
SUSE Linux Enterprise Server 12 SP5git2.26.2-27.57.1
SUSE Linux Enterprise Server 15 SP1-BCLgit2.26.2-150000.41.1
SUSE Linux Enterprise Server 15 SP1-BCLlibgit20.26.8-150000.3.15.1
SUSE Linux Enterprise Server 15 SP1-LTSSgit2.26.2-150000.41.1
SUSE Linux Enterprise Server 15 SP1-LTSSlibgit20.26.8-150000.3.15.1
SUSE Linux Enterprise Server 15 SP2-BCLgit2.26.2-150000.41.1
SUSE Linux Enterprise Server 15 SP2-BCLlibgit20.28.4-150200.3.3.1
SUSE Linux Enterprise Server 15 SP2-BCLlibgit20.26.8-150000.3.15.1
SUSE Linux Enterprise Server 15 SP2-LTSSgit2.26.2-150000.41.1
SUSE Linux Enterprise Server 15 SP2-LTSSlibgit20.28.4-150200.3.3.1
SUSE Linux Enterprise Server 15 SP2-LTSSlibgit20.26.8-150000.3.15.1
SUSE Linux Enterprise Server 15-LTSSgit2.26.2-150000.41.1
SUSE Linux Enterprise Server 15-LTSSlibgit20.26.8-150000.3.15.1
SUSE Linux Enterprise Server for SAP Applications 12 SP4git2.26.2-27.57.1
SUSE Linux Enterprise Server for SAP Applications 12 SP5git2.26.2-27.57.1
SUSE Linux Enterprise Server for SAP Applications 15git2.26.2-150000.41.1
SUSE Linux Enterprise Server for SAP Applications 15libgit20.26.8-150000.3.15.1
SUSE Linux Enterprise Server for SAP Applications 15 SP1git2.26.2-150000.41.1
SUSE Linux Enterprise Server for SAP Applications 15 SP1libgit20.26.8-150000.3.15.1
SUSE Linux Enterprise Server for SAP Applications 15 SP2git2.26.2-150000.41.1
SUSE Linux Enterprise Server for SAP Applications 15 SP2libgit20.28.4-150200.3.3.1
SUSE Linux Enterprise Server for SAP Applications 15 SP2libgit20.26.8-150000.3.15.1
SUSE Linux Enterprise Software Development Kit 12 SP5git2.26.2-27.57.1
SUSE Manager Proxy 4.1git2.26.2-150000.41.1
SUSE Manager Proxy 4.1libgit20.26.8-150000.3.15.1
SUSE Manager Proxy 4.1libgit20.28.4-150200.3.3.1
SUSE Manager Retail Branch Server 4.1git2.26.2-150000.41.1
SUSE Manager Retail Branch Server 4.1libgit20.26.8-150000.3.15.1
SUSE Manager Retail Branch Server 4.1libgit20.28.4-150200.3.3.1
SUSE Manager Server 4.1git2.26.2-150000.41.1
SUSE Manager Server 4.1libgit20.28.4-150200.3.3.1
SUSE Manager Server 4.1libgit20.26.8-150000.3.15.1
SUSE Manager Server Module 4.1libgit20.28.4-150200.3.3.1
SUSE Manager Server Module 4.2libgit20.28.4-150200.3.3.1
SUSE Manager Server Module 4.3libgit20.28.4-150200.3.3.1
SUSE OpenStack Cloud 8git2.26.2-27.57.1
SUSE OpenStack Cloud 9git2.26.2-27.57.1
SUSE OpenStack Cloud Crowbar 9git2.26.2-27.57.1
Ubuntu 18.04 LTSgit1:2.17.1-1ubuntu0.12
Ubuntu 20.04 LTSgit1:2.25.1-1ubuntu3.5
Ubuntu 22.04 LTSgit1:2.34.1-1ubuntu1.4
openSUSE Leap 15.3git2.35.3-150300.10.15.1
openSUSE Leap 15.3git2.26.2-150000.41.1
openSUSE Leap 15.3libgit20.28.4-150200.3.3.1
openSUSE Leap 15.3libgit20.26.8-150000.3.15.1
openSUSE Leap 15.4git2.26.2-150000.41.1
openSUSE Leap 15.4git2.35.3-150300.10.15.1
openSUSE Leap 15.4libgit20.26.8-150000.3.15.1
openSUSE Leap 15.4libgit20.28.4-150200.3.3.1
openSUSE Leap 15.4libgit21.3.0-150400.3.3.1
openSUSE Tumbleweedgit2.37.1-1.1
openSUSE Tumbleweedlibgit21.7.1-3.1