Heap-based buffer overflow in Git - CVE-2022-39260
Published: October 19, 2022
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error in the "git shell" command when handling untrusted input. A remote attacker can trick the victim to execute the affected command against a malicious repository, trigger a heap-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Amazon Linux AMI
Gentoo Linux
Debian Linux
Oracle Linux
SUSE CaaS Platform
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Enterprise Storage
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
SUSE OpenStack Cloud
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
HPE Helion Openstack
Oracle Solaris
SUSE Linux Enterprise Software Development Kit
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP Applications
Slackware Linux
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Desktop
SUSE Linux Enterprise Module for Development Tools
SUSE Linux Enterprise Module for Basesystem
openSUSE Leap
Ubuntu
openEuler
Fedora
Dell EMC PowerProtect Data Protection
Dell Data Protection Central
ObjectScale
cflinuxfs3
Apple Xcode
git (Ubuntu package)
git-gui
git
git-debugsource
git-arch
git-core
git-core-debuginfo
git-cvs
git-daemon
git-daemon-debuginfo
git-email
git-svn
git-svn-debuginfo
git-web
gitk
git-doc
git-debuginfo
git-help
perl-Git
perl-Git-SVN
git (Debian package)
git-credential-gnome-keyring
git-credential-gnome-keyring-debuginfo
git-credential-libsecret
git-credential-libsecret-debuginfo
git-p4
git (Red Hat package)
dev-vcs/git
Dell EMC NetWorker vProxy
Dell EMC Storage Monitoring and Reporting (SMR)
EMC ViPR SRM
How to mitigate CVE-2022-39260
ObjectScale - update to 1.3.0
Apple Xcode - update to 14.1
git (Ubuntu package) - addressed in versions Ubuntu Pro (Infra-only), 1:2.17.1-1ubuntu0.13, 1:2.25.1-1ubuntu3.6, 1:2.34.1-1ubuntu1.5, 1:2.37.2-1ubuntu1.1
cflinuxfs3 - update to 0.329.0
git-gui - addressed in versions 2.26.2-27.60.1, 2.26.2-150000.47.1, 2.35.3-150300.10.18.1
git - addressed in versions 2.26.2-27.60.1, 2.26.2-150000.47.1, 2.35.3-150300.10.18.1
git-debugsource - addressed in versions 2.26.2-27.60.1, 2.26.2-150000.47.1, 2.35.3-150300.10.18.1
git-arch - addressed in versions 2.26.2-27.60.1, 2.26.2-150000.47.1, 2.35.3-150300.10.18.1
git-core - addressed in versions 2.26.2-27.60.1, 2.26.2-150000.47.1, 2.35.3-150300.10.18.1
git-core-debuginfo - addressed in versions 2.26.2-27.60.1, 2.26.2-150000.47.1, 2.35.3-150300.10.18.1
git-cvs - addressed in versions 2.26.2-27.60.1, 2.26.2-150000.47.1, 2.35.3-150300.10.18.1
git-daemon - addressed in versions 2.26.2-27.60.1, 2.26.2-150000.47.1, 2.35.3-150300.10.18.1
git-daemon-debuginfo - addressed in versions 2.26.2-27.60.1, 2.26.2-150000.47.1, 2.35.3-150300.10.18.1
git-email - addressed in versions 2.26.2-27.60.1, 2.26.2-150000.47.1, 2.35.3-150300.10.18.1
git-svn - addressed in versions 2.26.2-27.60.1, 2.26.2-150000.47.1, 2.35.3-150300.10.18.1
git-svn-debuginfo - addressed in versions 2.26.2-27.60.1, 2.26.2-150000.47.1
git-web - addressed in versions 2.26.2-27.60.1, 2.26.2-150000.47.1, 2.35.3-150300.10.18.1
gitk - addressed in versions 2.26.2-27.60.1, 2.26.2-150000.47.1, 2.35.3-150300.10.18.1
git-doc - addressed in versions 2.26.2-27.60.1, 2.26.2-150000.47.1, 2.35.3-150300.10.18.1
git-debuginfo - addressed in versions 2.26.2-150000.47.1, 2.35.3-150300.10.18.1
git-email - update to 2.27.0-9
git-web - update to 2.27.0-9
gitk - update to 2.27.0-9
git-svn - update to 2.27.0-9
git-help - update to 2.27.0-9
git-debuginfo - update to 2.27.0-9
git-debugsource - update to 2.27.0-9
git-daemon - update to 2.27.0-9
git - update to 2.27.0-9
perl-Git - update to 2.27.0-9
perl-Git-SVN - update to 2.27.0-9
git-gui - update to 2.27.0-9
git (Debian package) - update to 1:2.30.2-1+deb11u1
git - addressed in versions 2.30.6, 2.35.5
git-credential-gnome-keyring - update to 2.35.3-150300.10.18.1
git-credential-gnome-keyring-debuginfo - update to 2.35.3-150300.10.18.1
git-credential-libsecret - update to 2.35.3-150300.10.18.1
git-credential-libsecret-debuginfo - update to 2.35.3-150300.10.18.1
git-p4 - update to 2.35.3-150300.10.18.1
perl-Git - update to 2.35.3-150300.10.18.1
git - addressed in versions 2.38.1-1.fc35, 2.38.1-1.fc36, 2.38.1-1.fc37
git - addressed in versions 2.38.1-1.77, 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
Dell EMC NetWorker vProxy - update to 4.3.0-40
Dell EMC Storage Monitoring and Reporting (SMR) - update to 4.9.0.0
EMC ViPR SRM - update to 4.9.0.0
External References
Related Security Bulletins
- Multiple vulnerabilities in Git
- Ubuntu update for git
- Slackware Linux update for git
- Cloud Foundry Foundation cflinuxfs3 update for Git
- Multiple vulnerabilities in Apple Xcode
- SUSE update for git
- Ubuntu update for git
- Ubuntu update for git
- SUSE update for git
- Amazon Linux AMI update for git
- Multiple vulnerabilities in Oracle Solaris
- SUSE update for git
- 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 NetWorker vProxy
- Multiple vulnerabilities in Dell EMC SRM and Dell EMC Storage Monitoring and Reporting (SMR)
- Multiple vulnerabilities in Dell Data Protection Central
- Debian update for git
- Gentoo update for Git
- openEuler update for git
- Amazon Linux AMI update for git
- Fedora 37 update for git
- Fedora 36 update for git
- Fedora 35 update for git
- Multiple vulnerabilities in Dell ObjectScale