Permissions, Privileges, and Access Controls in Git - CVE-2022-29187
Published: July 13, 2022
Vulnerability details
The vulnerability allows a remote user to escalate privileges on the system.
The vulnerability exists due to application does not properly impose security restrictions. A remote user can bypass implemented security restrictions and privilege escalation on the system when navigating as root into a shared tmp directory owned by the victim, but where an attacker can create a git repository.
Affected software
Amazon Linux AMI
Gentoo Linux
Debian Linux
Oracle Linux
SUSE CaaS Platform
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Linux Enterprise Module for SUSE Manager Server
SUSE Enterprise Storage
SUSE Linux Enterprise Storage
HPE Helion Openstack
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
SUSE OpenStack Cloud
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Fedora
SUSE OpenStack Cloud Crowbar
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Software Development Kit
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Module for Basesystem
SUSE Linux Enterprise Desktop
SUSE Linux Enterprise Module for Development Tools
openSUSE Leap
Ubuntu
openEuler
Dell Data Protection Central
Dell EMC PowerProtect Data Protection
cflinuxfs3
ObjectScale
EMC ECS
libgit2
Apple Xcode
rust-bat
libgit2-devel
libgit2-debugsource
libgit2-26-32bit-debuginfo
libgit2-26-32bit
libgit2-26-debuginfo
libgit2-26
libgit2-28
libgit2-28-32bit-debuginfo
libgit2-28-32bit
libgit2-28-debuginfo
libgit2-1_3-32bit-debuginfo
libgit2-1_3-32bit
libgit2-1_3-debuginfo
libgit2-1_3
libgit2
dev-libs/libgit2
rust-exa-0.10.1-9.el9 rust-pore-0.1.8-2.el9 rust-resctl-bench-2.1.2-8.el9 rust-resctl-demo
git (Ubuntu package)
git
git-doc
git-svn-debuginfo
git-arch
git-web
git-email
git-debugsource
git-daemon-debuginfo
git-daemon
git-cvs
git-core-debuginfo
git-core
gitk
git-gui
git-svn
git-debuginfo
perl-Git
git-help
perl-Git-SVN
git (Debian package)
git-credential-gnome-keyring-debuginfo
git-credential-gnome-keyring
git-p4
git-credential-libsecret-debuginfo
git-credential-libsecret
git (Red Hat package)
dev-vcs/git
rust-bat-0.21.0-6.fc36 rust-cargo-c-0.9.12-3.fc36 rust-exa-0.10.1-9.fc36 rust-git-delta-0.13.0-4.fc36 rust-gitui-0.20.1-6.fc36 rust-pore-0.1.8-2.fc36 rust-pretty-git-prompt-0.2.1-15.fc36 rust-rd-agent-2.1.2-7.fc36 rust-rd-hashd-2.1.2-7.fc36 rust-resctl-be
rust-bat-0.21.0-6.fc37 rust-cargo-c-0.9.12-3.fc37 rust-exa-0.10.1-9.fc37 rust-git-delta-0.13.0-4.fc37 rust-gitui-0.20.1-6.fc37 rust-pore-0.1.8-2.fc37 rust-pretty-git-prompt-0.2.1-15.fc37 rust-rd-agent-2.1.2-7.fc37 rust-rd-hashd-2.1.2-7.fc37 rust-resctl-be
Dell EMC Storage Monitoring and Reporting (SMR)
How to mitigate CVE-2022-29187
cflinuxfs3 - update to 0.310.0
ObjectScale - update to 1.3.0
libgit2 - addressed in versions 1.3.2, 1.4.4
Apple Xcode - update to 14.1
rust-bat - update to 0.21.0-7.el9
libgit2-devel - addressed in versions 0.26.8-150000.3.15.1, 0.28.4-150200.3.3.1, 1.3.0-150400.3.3.1
libgit2-debugsource - addressed in versions 0.26.8-150000.3.15.1, 0.28.4-150200.3.3.1, 1.3.0-150400.3.3.1
libgit2-26-32bit-debuginfo - update to 0.26.8-150000.3.15.1
libgit2-26-32bit - update to 0.26.8-150000.3.15.1
libgit2-26-debuginfo - update to 0.26.8-150000.3.15.1
libgit2-26 - update to 0.26.8-150000.3.15.1
libgit2-28 - update to 0.28.4-150200.3.3.1
libgit2-28-32bit-debuginfo - update to 0.28.4-150200.3.3.1
libgit2-28-32bit - update to 0.28.4-150200.3.3.1
libgit2-28-debuginfo - update to 0.28.4-150200.3.3.1
libgit2-1_3-32bit-debuginfo - update to 1.3.0-150400.3.3.1
libgit2-1_3-32bit - update to 1.3.0-150400.3.3.1
libgit2-1_3-debuginfo - update to 1.3.0-150400.3.3.1
libgit2-1_3 - update to 1.3.0-150400.3.3.1
libgit2 - addressed in versions 1.3.2-1.fc36, 1.3.2-1.fc37, 1.3.2-2.el9
dev-libs/libgit2 - update to 1.4.4
rust-exa-0.10.1-9.el9 rust-pore-0.1.8-2.el9 rust-resctl-bench-2.1.2-8.el9 rust-resctl-demo - update to 2.1.2-8.el9
git (Ubuntu package) - addressed in versions 1:2.17.1-1ubuntu0.12, 1:2.25.1-1ubuntu3.5, 1:2.32.0-1ubuntu1.3, 1:2.34.1-1ubuntu1.4
git - addressed in versions 2.26.2-27.57.1, 2.26.2-150000.41.1, 2.35.3-150300.10.15.1
git-doc - addressed in versions 2.26.2-27.57.1, 2.26.2-150000.41.1, 2.35.3-150300.10.15.1
git-svn-debuginfo - addressed in versions 2.26.2-27.57.1, 2.26.2-150000.41.1
git-arch - addressed in versions 2.26.2-27.57.1, 2.26.2-150000.41.1, 2.35.3-150300.10.15.1
git-web - addressed in versions 2.26.2-27.57.1, 2.26.2-150000.41.1, 2.35.3-150300.10.15.1
git-email - addressed in versions 2.26.2-27.57.1, 2.26.2-150000.41.1, 2.35.3-150300.10.15.1
git-debugsource - addressed in versions 2.26.2-27.57.1, 2.26.2-150000.41.1, 2.35.3-150300.10.15.1
git-daemon-debuginfo - addressed in versions 2.26.2-27.57.1, 2.26.2-150000.41.1, 2.35.3-150300.10.15.1
git-daemon - addressed in versions 2.26.2-27.57.1, 2.26.2-150000.41.1, 2.35.3-150300.10.15.1
git-cvs - addressed in versions 2.26.2-27.57.1, 2.26.2-150000.41.1, 2.35.3-150300.10.15.1
git-core-debuginfo - addressed in versions 2.26.2-27.57.1, 2.26.2-150000.41.1, 2.35.3-150300.10.15.1
git-core - addressed in versions 2.26.2-27.57.1, 2.26.2-150000.41.1, 2.35.3-150300.10.15.1
gitk - addressed in versions 2.26.2-27.57.1, 2.26.2-150000.41.1, 2.35.3-150300.10.15.1
git-gui - addressed in versions 2.26.2-27.57.1, 2.26.2-150000.41.1, 2.35.3-150300.10.15.1
git-svn - addressed in versions 2.26.2-27.57.1, 2.26.2-150000.41.1, 2.35.3-150300.10.15.1
git-debuginfo - addressed in versions 2.26.2-150000.41.1, 2.35.3-150300.10.15.1
perl-Git - update to 2.27.0-8
git-help - update to 2.27.0-8
git-email - update to 2.27.0-8
git-web - update to 2.27.0-8
git-svn - update to 2.27.0-8
perl-Git-SVN - update to 2.27.0-8
gitk - update to 2.27.0-8
git-gui - update to 2.27.0-8
git-daemon - update to 2.27.0-8
git-debugsource - update to 2.27.0-8
git-debuginfo - update to 2.27.0-8
git - update to 2.27.0-8
git (Debian package) - update to 1:2.30.2-1+deb11u1
git-credential-gnome-keyring-debuginfo - update to 2.35.3-150300.10.15.1
git-credential-gnome-keyring - update to 2.35.3-150300.10.15.1
git-p4 - update to 2.35.3-150300.10.15.1
git-credential-libsecret-debuginfo - update to 2.35.3-150300.10.15.1
git-credential-libsecret - update to 2.35.3-150300.10.15.1
perl-Git - update to 2.35.3-150300.10.15.1
git - addressed in versions 2.37.1-1.fc35, 2.37.1-1.fc36
git - addressed in versions 2.37.1-1.76, 2.39.1-1
git (Red Hat package) - addressed in versions 2.39.1-1.el8, 2.39.1-1.el9
dev-vcs/git - update to 2.39.3
EMC ECS - update to 3.8.0.2
Dell EMC Storage Monitoring and Reporting (SMR) - update to 4.8.0.0
rust-bat-0.21.0-6.fc36 rust-cargo-c-0.9.12-3.fc36 rust-exa-0.10.1-9.fc36 rust-git-delta-0.13.0-4.fc36 rust-gitui-0.20.1-6.fc36 rust-pore-0.1.8-2.fc36 rust-pretty-git-prompt-0.2.1-15.fc36 rust-rd-agent-2.1.2-7.fc36 rust-rd-hashd-2.1.2-7.fc36 rust-resctl-be - update to 12.1.2-4.fc36
rust-bat-0.21.0-6.fc37 rust-cargo-c-0.9.12-3.fc37 rust-exa-0.10.1-9.fc37 rust-git-delta-0.13.0-4.fc37 rust-gitui-0.20.1-6.fc37 rust-pore-0.1.8-2.fc37 rust-pretty-git-prompt-0.2.1-15.fc37 rust-rd-agent-2.1.2-7.fc37 rust-rd-hashd-2.1.2-7.fc37 rust-resctl-be - update to 12.1.2-4.fc37
External References
Related Security Bulletins
- Privilege escalation in Git
- libgit2 update for Git
- Ubuntu update for git
- Cloud Foundry Foundation cflinuxfs3 update for Git
- SUSE update for git
- SUSE update for git
- SUSE update for git
- Amazon Linux AMI update for git
- SUSE update for libgit2
- SUSE update for libgit2
- SUSE update for libgit2
- Multiple vulnerabilities in Dell Storage Monitoring and Reporting (SMR)
- Multiple vulnerabilities in Apple Xcode
- Multiple vulnerabilities in Dell EMC Data Protection Central
- Red Hat Enterprise Linux 9 update for git
- Red Hat Enterprise Linux 8 update for git
- Multiple vulnerabilities in Oracle Linux
- Multiple vulnerabilities in Dell ECS
- Fedora 36 update for libgit2
- Fedora 37 update for libgit2
- Fedora EPEL 9 update for libgit2
- Fedora 37 update for rust-bat-0.21.0-6.fc37 rust-cargo-c-0.9.12-3.fc37 rust-exa-0.10.1-9.fc37 rust-git-delta-0.13.0-4.fc37 rust-gitui-0.20.1-6.fc37 rust-pore-0.1.8-2.fc37 rust-pretty-git-prompt-0.2.1-15.fc37 rust-rd-agent-2.1.2-7.fc37 rust-rd-hashd-2.1.2-
- Fedora 36 update for rust-bat-0.21.0-6.fc36 rust-cargo-c-0.9.12-3.fc36 rust-exa-0.10.1-9.fc36 rust-git-delta-0.13.0-4.fc36 rust-gitui-0.20.1-6.fc36 rust-pore-0.1.8-2.fc36 rust-pretty-git-prompt-0.2.1-15.fc36 rust-rd-agent-2.1.2-7.fc36 rust-rd-hashd-2.1.2-
- Fedora EPEL 9 update for rust-exa-0.10.1-9.el9 rust-pore-0.1.8-2.el9 rust-resctl-bench-2.1.2-8.el9 rust-resctl-demo
- Fedora EPEL 9 update for rust-bat
- Debian update for git
- Gentoo update for Git
- Gentoo update for libgit2
- openEuler update for git
- Amazon Linux AMI update for git
- Fedora 36 update for git
- Fedora 35 update for git
- Multiple vulnerabilities in Dell ObjectScale