Git, a revision control system, is vulnerable to path traversal prior to versions 2.39.2, 2.38.4, 2.37.6, 2.36.5, 2.35.7, 2.34.7, 2.33.7, 2.32.6, 2.31.7, and 2.30.8. By feeding a crafted input to `git apply`, a path outside the working tree can be overwritten as the user who is running `git apply`. A fix has been prepared and will appear in v2.39.2, v2.38.4, v2.37.6, v2.36.5, v2.35.7, v2.34.7, v2.33.7, v2.32.6, v2.31.7, and v2.30.8. As a workaround, use `git apply --stat` to inspect a patch before applying; avoid applying one that creates a symbolic link and then creates a file beyond the symbolic link.
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade gitUpgrade git-subtreeUpgrade git-svnUpgrade gitkUpgrade perl-Git-SVNUpgrade git-emailUpgrade git-credential-libsecretUpgrade git-core-docUpgrade git-coreUpgrade gitwebUpgrade git-daemonUpgrade perl-GitUpgrade git-guiUpgrade git-instawebUpgrade git-all | May 24, 2023 | Feb 14, 2023 |
| Alpine Linux | — | Upgrade git | Aug 22, 2024 | Feb 14, 2023 |
| Amazon Linux Ami 2 | — | Upgrade git-allUpgrade gitwebUpgrade git-core-docUpgrade gitUpgrade gitkUpgrade git-subtreeUpgrade git-credential-libsecretUpgrade git-daemonUpgrade git-cvsUpgrade git-guiUpgrade git-coreUpgrade git-emailUpgrade perl-Git-SVNUpgrade perl-GitUpgrade git-p4Upgrade git-debuginfoUpgrade git-svnUpgrade git-instaweb | Mar 7, 2023 | Feb 14, 2023 |
| Amazon_linux | — | Upgrade git | Mar 7, 2023 | Feb 14, 2023 |
| Amazon_linux_2023 | — | Upgrade git-debuginfoUpgrade git-p4Upgrade git-daemon-debuginfoUpgrade git-core-debuginfoUpgrade perl-GitUpgrade git-guiUpgrade git-daemonUpgrade git-debugsourceUpgrade git-coreUpgrade git-svnUpgrade git-emailUpgrade git-instawebUpgrade git-allUpgrade git-credential-libsecretUpgrade perl-Git-SVNUpgrade git-core-docUpgrade gitwebUpgrade gitUpgrade git-cvsUpgrade git-subtreeUpgrade gitkUpgrade git-credential-libsecret-debuginfo | Feb 17, 2025 | Feb 14, 2023 |
| Centos_linux | — | Upgrade git-daemon-debuginfoUpgrade git-svnUpgrade perl-Git-SVNUpgrade git-core-debuginfoUpgrade perl-GitUpgrade git-credential-libsecret-debuginfoUpgrade git-emailUpgrade git-subtreeUpgrade git-debugsourceUpgrade git-guiUpgrade git-daemonUpgrade git-coreUpgrade git-instawebUpgrade git-credential-libsecretUpgrade gitwebUpgrade gitkUpgrade git-core-docUpgrade git-allUpgrade git-debuginfoUpgrade git | May 23, 2023 | Feb 14, 2023 |
| Debian | — | Upgrade git | Feb 24, 2023 | Feb 14, 2023 |
| Freebsd | — | Upgrade git | Feb 22, 2023 | Feb 21, 2023 |
| Gentoo Linux | — | Upgrade dev-vcs/git. | Dec 28, 2023 | Feb 14, 2023 |
| Huawei Euleros 2_0_sp10 | — | Upgrade git-helpUpgrade git | May 18, 2023 | Feb 14, 2023 |
| Huawei Euleros 2_0_sp11 | — | Upgrade git-helpUpgrade git | Jul 5, 2023 | Feb 14, 2023 |
| Huawei Euleros 2_0_sp5 | — | Upgrade git-core-docUpgrade gitUpgrade git-core | Jun 9, 2023 | Feb 14, 2023 |
| Huawei Euleros 2_0_sp9 | — | Upgrade git-helpUpgrade git | May 10, 2023 | Feb 14, 2023 |
| Microsoft Visual_studio | — | Update Microsoft Visual Studio 2022 to the latest version in the LTSC 17.4 version stream, or upgrade to a newer supported version of Visual Studio 2022.Update Microsoft Visual Studio 2022 to the latest version in the current channel channel.Update Microsoft Visual Studio 2017 to the latest version in the LTSC 15.9 version stream, or upgrade to a newer supported version of Visual Studio 2017.Update Microsoft Visual Studio 2019 to the latest version in the LTSC 16.11 version stream, or upgrade to a newer supported version of Visual Studio 2019.Update Microsoft Visual Studio 2022 to the latest version in the LTSC 17.2 version stream, or upgrade to a newer supported version of Visual Studio 2022.Update Microsoft Visual Studio 2022 to the latest version in the LTSC 17.0 version stream, or upgrade to a newer supported version of Visual Studio 2022. | Jun 25, 2025 | Mar 14, 2023 |
| Oracle_linux | — | Upgrade git-credential-libsecretUpgrade gitUpgrade git-core-docUpgrade git-subtreeUpgrade gitwebUpgrade git-svnUpgrade git-coreUpgrade git-emailUpgrade gitkUpgrade git-instawebUpgrade perl-Git-SVNUpgrade git-daemonUpgrade git-allUpgrade perl-GitUpgrade git-gui | May 23, 2023 | Feb 14, 2023 |
| Redhat_linux | — | Upgrade git-core-debuginfoUpgrade perl-Git-SVNUpgrade git-daemonUpgrade perl-GitUpgrade git-coreUpgrade git-daemon-debuginfoUpgrade git-debugsourceUpgrade git-credential-libsecret-debuginfoUpgrade git-debuginfoUpgrade git-emailUpgrade git-guiUpgrade git-subtreeUpgrade git-svnNo solution existsUpgrade git-instawebUpgrade git-core-docUpgrade git-allUpgrade gitUpgrade gitkUpgrade gitwebUpgrade git-credential-libsecret | May 23, 2023 | Feb 14, 2023 |
| Rocky_linux | — | Upgrade git-coreUpgrade git-daemonUpgrade gitUpgrade git-subtreeUpgrade git-debugsourceUpgrade git-credential-libsecretUpgrade git-daemon-debuginfoUpgrade git-debuginfoUpgrade git-credential-libsecret-debuginfoUpgrade git-core-debuginfo | Mar 5, 2024 | Feb 14, 2023 |
| Suse | — | Upgrade git-credential-libsecretUpgrade git-svnUpgrade perl-GitUpgrade git-coreUpgrade git-webUpgrade git-docUpgrade gitUpgrade git-emailUpgrade git-credential-gnome-keyringUpgrade git-archUpgrade git-p4Upgrade git-cvsUpgrade gitkUpgrade git-daemonUpgrade git-gui | Feb 16, 2023 | Feb 14, 2023 |
| Ubuntu | — | Upgrade git (Ubuntu Pro)Upgrade git | Mar 22, 2023 | Feb 14, 2023 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Aug 25, 2025 | Feb 14, 2023 |
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub