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.
CVSS Details
- CVSS 3.1 Base Score: 6.2
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade git-credential-libsecretUpgrade git-svnUpgrade git-subtreeUpgrade perl-Git-SVNUpgrade gitUpgrade gitkUpgrade git-emailUpgrade git-guiUpgrade git-daemonUpgrade gitwebUpgrade git-coreUpgrade git-allUpgrade perl-GitUpgrade git-instawebUpgrade git-core-doc | May 24, 2023 | Feb 14, 2023 |
| Alpine Linux | — | Upgrade git | Aug 22, 2024 | Feb 14, 2023 |
| Amazon Linux Ami 2 | — | Upgrade git-coreUpgrade git-cvsUpgrade git-guiUpgrade git-emailUpgrade git-daemonUpgrade git-debuginfoUpgrade git-svnUpgrade perl-Git-SVNUpgrade git-p4Upgrade perl-GitUpgrade git-instawebUpgrade gitkUpgrade gitUpgrade git-credential-libsecretUpgrade git-subtreeUpgrade gitwebUpgrade git-core-docUpgrade git-all | Mar 7, 2023 | Feb 14, 2023 |
| Amazon_linux | — | Upgrade git | Mar 7, 2023 | Feb 14, 2023 |
| Amazon_linux_2023 | — | Upgrade git-core-docUpgrade perl-Git-SVNUpgrade gitwebUpgrade git-credential-libsecret-debuginfoUpgrade git-credential-libsecretUpgrade gitkUpgrade git-cvsUpgrade git-subtreeUpgrade perl-GitUpgrade git-guiUpgrade git-instawebUpgrade git-svnUpgrade git-coreUpgrade git-allUpgrade git-debuginfoUpgrade git-core-debuginfoUpgrade git-debugsourceUpgrade git-daemon-debuginfoUpgrade git-emailUpgrade git-p4Upgrade git-daemon | Feb 17, 2025 | Feb 14, 2023 |
| Centos_linux | — | Upgrade perl-GitUpgrade git-instawebUpgrade git-emailUpgrade git-core-debuginfoUpgrade git-credential-libsecret-debuginfoUpgrade git-subtreeUpgrade git-credential-libsecretUpgrade git-svnUpgrade perl-Git-SVNUpgrade git-coreUpgrade git-guiUpgrade git-daemonUpgrade git-debugsourceUpgrade git-daemon-debuginfoUpgrade git-allUpgrade gitwebUpgrade gitkUpgrade gitUpgrade git-debuginfoUpgrade git-core-doc | 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 gitUpgrade git-help | 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-coreUpgrade git-core-docUpgrade git | Jun 9, 2023 | Feb 14, 2023 |
| Huawei Euleros 2_0_sp9 | — | Upgrade gitUpgrade git-help | May 10, 2023 | Feb 14, 2023 |
| Microsoft Visual_studio | — | 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.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 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 current channel channel. | Jun 25, 2025 | Mar 14, 2023 |
| Oracle_linux | — | Upgrade git-core-docUpgrade git-coreUpgrade git-svnUpgrade gitwebUpgrade gitUpgrade git-subtreeUpgrade git-credential-libsecretUpgrade git-emailUpgrade git-allUpgrade gitkUpgrade git-daemonUpgrade perl-Git-SVNUpgrade git-guiUpgrade git-instawebUpgrade perl-Git | May 23, 2023 | Feb 14, 2023 |
| Redhat_linux | — | Upgrade git-guiUpgrade perl-Git-SVNUpgrade git-core-debuginfoUpgrade git-credential-libsecret-debuginfoNo solution existsUpgrade git-daemon-debuginfoUpgrade git-instawebUpgrade git-debuginfoUpgrade git-emailUpgrade git-svnUpgrade git-debugsourceUpgrade git-daemonUpgrade git-coreUpgrade perl-GitUpgrade git-subtreeUpgrade gitUpgrade git-core-docUpgrade git-allUpgrade gitkUpgrade git-credential-libsecretUpgrade gitweb | May 23, 2023 | Feb 14, 2023 |
| Rocky_linux | — | Upgrade git-credential-libsecret-debuginfoUpgrade git-core-debuginfoUpgrade git-debuginfoUpgrade git-debugsourceUpgrade git-subtreeUpgrade gitUpgrade git-daemonUpgrade git-daemon-debuginfoUpgrade git-credential-libsecretUpgrade git-core | Mar 5, 2024 | Feb 14, 2023 |
| Suse | — | Upgrade git-credential-libsecretUpgrade git-svnUpgrade git-webUpgrade gitUpgrade git-docUpgrade git-coreUpgrade perl-GitUpgrade git-daemonUpgrade gitkUpgrade git-emailUpgrade git-guiUpgrade git-cvsUpgrade git-p4Upgrade git-credential-gnome-keyringUpgrade git-arch | 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 |
Prioritise with Active Threat Intelligence
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