Input validation error in Git for Windows - CVE-2023-29007

 

Input validation error in Git for Windows - CVE-2023-29007

Published: April 25, 2023 / Updated: August 16, 2024


Vulnerability identifier: #VU75486
CSH Severity: Low
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2023-29007
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows an attacker to tamper with Git configuration.

The vulnerability exists due to insufficient input validation in "git submodule deinit" when renaming or deleting a section from a configuration file. A remote attacker can trick the victim into running the command a malicious configuration file and tamper with Git configuration on the affected system.


Affected software

Git for Windows
Dell EMC PowerProtect Data Protection
Dell Data Protection Central
cflinuxfs3
OpenManage Network Integration (OMNI)
Platform Automation Toolkit
XtremIO X2
Amazon Linux AMI
Debian Linux
Gentoo Linux
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Software Development Kit 12
SUSE CaaS Platform
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
Anolis OS
CentOS
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux for Scientific Computing
SUSE Enterprise Storage
SUSE OpenStack Cloud
HPE Helion Openstack
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
SUSE OpenStack Cloud Crowbar
Oracle Solaris
SUSE Linux Enterprise Server 12 SP2 BCL
SUSE Linux Enterprise Server 12 SP4 LTSS
SUSE Linux Enterprise Server 12 SP4 ESPOS
Slackware Linux
SUSE Linux Enterprise Server 15 SP1 LTSS
SUSE Linux Enterprise High Performance Computing 15 SP1 LTSS
SUSE Linux Enterprise Server 15 SP2 LTSS
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP3 LTSS
Basesystem Module
Development Tools Module
openSUSE Leap
Ubuntu
openEuler
Fedora
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
git (Ubuntu package)
git (Debian package)
git-bzr
git-instaweb
git-p4
git-hg
git-cvs
git-gui
git-email
git-all
emacs-git-el
emacs-git
git-svn
git-gnome-keyring
git-daemon
git
gitk
gitweb
perl-Git
perl-Git-SVN
git (Red Hat package)
git-core-debuginfo
git-debugsource
git-core
git-daemon-debuginfo
git-web
git-svn-debuginfo
git-arch
git-doc
git-debuginfo
rh-git227-git (Red Hat package)
git-help
git-credential-libsecret-debuginfo
git-credential-gnome-keyring
git-credential-libsecret
git-credential-gnome-keyring-debuginfo
git-core-doc
git-subtree
dev-vcs/git
Migration Toolkit for Containers
Git
Red Hat OpenShift Container Platform
Red Hat Advanced Cluster Management for Kubernetes
OpenShift Logging
Oracle Communications Diameter Signaling Router
Isolation Segment
VMware Tanzu Application Service for VMs
OpenShift Developer Tools and Services
Visual Studio
IBM Qradar SIEM
VMware Tanzu Operations Manager
Dell EMC NetWorker vProxy

How to mitigate CVE-2023-29007

Install updates from vendor's website.

Git for Windows - addressed in versions 2.39.3.1, 2.40.1.1
Migration Toolkit for Containers - update to 1.7.10
Red Hat Advanced Cluster Management for Kubernetes - addressed in versions 2.5.9, 2.6.6, 2.7.4
Git - addressed in versions 2.30.9, 2.31.8, 2.32.7, 2.33.8, 2.34.8, 2.35.8, 2.36.6, 2.37.7, 2.38.5, 2.39.3, 2.40.1
Red Hat OpenShift Container Platform - addressed in versions 4.10.61, 4.11.42, 4.12.19, 4.12.20, 4.13.1, 4.13.2
OpenShift Logging - update to 5.7.2
IBM Qradar SIEM - update to 7.5.0 Update Pack 7
git (Ubuntu package) - addressed in versions 1:2.7.4-0ubuntu1.10+esm7, 1:2.17.1-1ubuntu0.18, 1:2.25.1-1ubuntu3.11, 1:2.34.1-1ubuntu1.9, 1:2.37.2-1ubuntu1.5, 1:2.39.2-1ubuntu1.1
git (Debian package) - update to 1:2.39.5-0+deb12u1
git-bzr - update to 1.8.3.1-25
git-instaweb - addressed in versions 1.8.3.1-25, 2.39.3-1.0.1
git-p4 - update to 1.8.3.1-25
git-hg - update to 1.8.3.1-25
git-cvs - update to 1.8.3.1-25
git-gui - addressed in versions 1.8.3.1-25, 2.39.3-1.0.1
git-email - addressed in versions 1.8.3.1-25, 2.39.3-1.0.1
git-all - addressed in versions 1.8.3.1-25, 2.39.3-1.0.1
emacs-git-el - update to 1.8.3.1-25
emacs-git - update to 1.8.3.1-25
git-svn - addressed in versions 1.8.3.1-25, 2.39.3-1.0.1
git-gnome-keyring - update to 1.8.3.1-25
git-daemon - addressed in versions 1.8.3.1-25, 2.39.3-1.0.1
git - addressed in versions 1.8.3.1-25, 2.39.3-1.0.1
gitk - addressed in versions 1.8.3.1-25, 2.39.3-1.0.1
gitweb - addressed in versions 1.8.3.1-25, 2.39.3-1.0.1
perl-Git - addressed in versions 1.8.3.1-25, 2.39.3-1.0.1
perl-Git-SVN - addressed in versions 1.8.3.1-25, 2.39.3-1.0.1
git (Red Hat package) - addressed in versions 1.8.3.1-25.el7_9, 2.18.4-3.el8_1, 2.18.4-4.el8_2, 2.27.0-4.el8_4, 2.31.1-4.el8_6, 2.31.1-5.el9_0, 2.39.3-1.el8_8, 2.39.3-1.el9_2
git-core-debuginfo - addressed in versions 2.26.2-27.69.1, 2.26.2-150000.50.1, 2.35.3-150300.10.27.1
gitk - addressed in versions 2.26.2-27.69.1, 2.26.2-150000.50.1, 2.35.3-150300.10.27.1
git-daemon - addressed in versions 2.26.2-27.69.1, 2.26.2-150000.50.1, 2.35.3-150300.10.27.1
git-cvs - addressed in versions 2.26.2-27.69.1, 2.26.2-150000.50.1, 2.35.3-150300.10.27.1
git-debugsource - addressed in versions 2.26.2-27.69.1, 2.26.2-150000.50.1, 2.35.3-150300.10.27.1
git - addressed in versions 2.26.2-27.69.1, 2.26.2-150000.50.1, 2.35.3-150300.10.27.1
git-core - addressed in versions 2.26.2-27.69.1, 2.26.2-150000.50.1, 2.35.3-150300.10.27.1
git-email - addressed in versions 2.26.2-27.69.1, 2.26.2-150000.50.1, 2.35.3-150300.10.27.1
git-gui - addressed in versions 2.26.2-27.69.1, 2.26.2-150000.50.1, 2.35.3-150300.10.27.1
git-daemon-debuginfo - addressed in versions 2.26.2-27.69.1, 2.26.2-150000.50.1, 2.35.3-150300.10.27.1
git-web - addressed in versions 2.26.2-27.69.1, 2.26.2-150000.50.1, 2.35.3-150300.10.27.1
git-svn - addressed in versions 2.26.2-27.69.1, 2.26.2-150000.50.1, 2.35.3-150300.10.27.1
git-svn-debuginfo - addressed in versions 2.26.2-27.69.1, 2.26.2-150000.50.1
git-arch - addressed in versions 2.26.2-27.69.1, 2.26.2-150000.50.1, 2.35.3-150300.10.27.1
git-doc - addressed in versions 2.26.2-27.69.1, 2.26.2-150000.50.1, 2.35.3-150300.10.27.1
git-debuginfo - addressed in versions 2.26.2-150000.50.1, 2.35.3-150300.10.27.1
rh-git227-git (Red Hat package) - update to 2.27.0-6.el7
git - update to 2.27.0-14
git-debugsource - update to 2.27.0-14
git-daemon - update to 2.27.0-14
git-debuginfo - update to 2.27.0-14
git-gui - update to 2.27.0-14
perl-Git - update to 2.27.0-14
git-email - update to 2.27.0-14
git-web - update to 2.27.0-14
gitk - update to 2.27.0-14
git-help - update to 2.27.0-14
git-svn - update to 2.27.0-14
perl-Git-SVN - update to 2.27.0-14
git-credential-libsecret-debuginfo - update to 2.35.3-150300.10.27.1
perl-Git - update to 2.35.3-150300.10.27.1
git-credential-gnome-keyring - update to 2.35.3-150300.10.27.1
git-p4 - update to 2.35.3-150300.10.27.1
git-credential-libsecret - update to 2.35.3-150300.10.27.1
git-credential-gnome-keyring-debuginfo - update to 2.35.3-150300.10.27.1
git-core-doc - update to 2.39.3-1.0.1
git-subtree - update to 2.39.3-1.0.1
git-credential-libsecret - update to 2.39.3-1.0.1
git-core - update to 2.39.3-1.0.1
git - update to 2.40.1-1
git - addressed in versions 2.40.1-1.fc36, 2.40.1-1.fc37, 2.40.1-1.fc38
cflinuxfs3 - update to 0.365.0
Isolation Segment - addressed in versions 2.11.33, 2.13.18, 3.0.11, 4.0.2
VMware Tanzu Application Service for VMs - addressed in versions 2.11.39, 2.13.21, 3.0.11, 4.0.2
VMware Tanzu Operations Manager - update to 3.0.9
OpenManage Network Integration (OMNI) - update to 3.7
Platform Automation Toolkit - addressed in versions 4.4.31, 5.0.24, 5.1.1
XtremIO X2 - update to 6.4.2-13
Visual Studio - addressed in versions 16.11.27 16.11.33801.447, 17.0.22 17.0.33801.228, 17.2.16 17.2.33801.349, 17.4.8 17.4.33801.306, 17.6.3 17.6.33801.468, 2017 version 15.9.55
Dell EMC NetWorker vProxy - addressed in versions 19.8.0.3, 19.9.0.2
dev-vcs/git - update to 2.39.3
git - addressed in versions 2.30.9, 2.35.8

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins