Link following in Git for Windows - CVE-2023-25652

 

Link following in Git for Windows - CVE-2023-25652

Published: April 25, 2023


Vulnerability identifier: #VU75484
CSH Severity: Low
CVSS v4: 4.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2023-25652
CWE-ID: CWE-59
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a symlink following issue in "git apply --reject". A local user can create a specially crafted symbolic link to write files outside of the worktree.


Affected software

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

How to mitigate CVE-2023-25652

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 Ubuntu Pro (Infra-only), 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
cflinuxfs3 - update to 0.365.0
emacs-git-el - update to 1.8.3.1-25
gitweb - 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
git-p4 - update to 1.8.3.1-25
git-instaweb - addressed in versions 1.8.3.1-25, 2.39.3-1.0.1
git-hg - 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-cvs - update to 1.8.3.1-25
git-bzr - update to 1.8.3.1-25
git-all - addressed in versions 1.8.3.1-25, 2.39.3-1.0.1
emacs-git - update to 1.8.3.1-25
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
perl-Git-SVN - 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
perl-Git - addressed in versions 1.8.3.1-25, 2.39.3-1.0.1
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
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
git - 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-arch - 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-svn - addressed in versions 2.26.2-27.69.1, 2.26.2-150000.50.1, 2.35.3-150300.10.27.1
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
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-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-gui - 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-core - 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-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
perl-Git-SVN - update to 2.27.0-14
git-svn - update to 2.27.0-14
git-help - update to 2.27.0-14
gitk - update to 2.27.0-14
git - update to 2.27.0-14
git-debugsource - update to 2.27.0-14
git-web - update to 2.27.0-14
git-email - update to 2.27.0-14
perl-Git - update to 2.27.0-14
git-gui - update to 2.27.0-14
git-debuginfo - update to 2.27.0-14
git-daemon - update to 2.27.0-14
git - addressed in versions 2.30.9, 2.35.8
git-credential-libsecret-debuginfo - 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-credential-gnome-keyring - update to 2.35.3-150300.10.27.1
perl-Git - update to 2.35.3-150300.10.27.1
dev-vcs/git - update to 2.39.3
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 (Debian package) - update to 1:2.39.5-0+deb12u1
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, 2.42.0-2.fc37
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

External References

Related Security Bulletins