Permissions, Privileges, and Access Controls in Git - CVE-2022-29187

 

Permissions, Privileges, and Access Controls in Git - CVE-2022-29187

Published: July 13, 2022


Vulnerability identifier: #VU65287
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2022-29187
CWE-ID: CWE-264
Exploitation vector: Remote access
Exploit availability: No public exploit available
Affected software:
Git
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)

Detailed vulnerability description

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.


How to mitigate CVE-2022-29187

Install updates from vendor's website.

Sources