Git is a revision control system. Prior to 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, and 2.40.1, by feeding specially crafted input to `git apply --reject`, a path outside the working tree can be overwritten with partially controlled contents (corresponding to the rejected hunk(s) from the given patch). A fix is available 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, and 2.40.1. As a workaround, avoid using `git apply` with `--reject` when applying patches from an untrusted source. Use `git apply --stat` to inspect a patch before applying; avoid applying one that create a conflict where a link corresponding to the `*.rej` file exists.
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade git-instawebUpgrade git-coreUpgrade git-emailUpgrade git-allUpgrade git-guiUpgrade git-svnUpgrade perl-GitUpgrade git-daemonUpgrade git-core-docUpgrade gitkUpgrade git-credential-libsecretUpgrade gitwebUpgrade git-subtreeUpgrade gitUpgrade perl-Git-SVN | May 24, 2023 | Apr 25, 2023 |
| Alpine Linux | — | Upgrade git | Mar 26, 2024 | Apr 25, 2023 |
| Amazon Linux Ami 2 | — | Upgrade perl-GitUpgrade git-emailUpgrade git-guiUpgrade git-coreUpgrade git-p4Upgrade git-instawebUpgrade perl-Git-SVNUpgrade git-daemonUpgrade git-debuginfoUpgrade git-svnUpgrade git-cvsUpgrade gitwebUpgrade gitkUpgrade git-credential-libsecretUpgrade git-allUpgrade git-subtreeUpgrade gitUpgrade git-core-doc | Jun 8, 2023 | Apr 25, 2023 |
| Amazon_linux_2023 | — | Upgrade git-emailUpgrade git-daemon-debuginfoUpgrade git-allUpgrade git-instawebUpgrade git-daemonUpgrade git-coreUpgrade git-svnUpgrade git-core-debuginfoUpgrade git-p4Upgrade git-debuginfoUpgrade git-guiUpgrade perl-GitUpgrade git-debugsourceUpgrade gitwebUpgrade git-credential-libsecret-debuginfoUpgrade gitUpgrade perl-Git-SVNUpgrade git-cvsUpgrade git-credential-libsecretUpgrade gitkUpgrade git-subtreeUpgrade git-core-doc | Feb 17, 2025 | Apr 25, 2023 |
| Autodesk Autocad | — | Update Autodesk AutoCAD to the latest version for Windows and macOS. | Jul 22, 2025 | May 15, 2024 |
| Centos_linux | — | Upgrade emacs-git-elUpgrade git-gnome-keyringUpgrade gitUpgrade gitwebUpgrade perl-GitUpgrade git-allUpgrade git-svnUpgrade git-cvsUpgrade git-bzrUpgrade git-daemonUpgrade emacs-gitUpgrade git-instawebUpgrade git-p4Upgrade perl-Git-SVNUpgrade git-debuginfoUpgrade git-guiUpgrade gitkUpgrade git-emailUpgrade git-hg | May 23, 2023 | Apr 25, 2023 |
| Debian | — | Upgrade git | Jun 27, 2024 | Apr 25, 2023 |
| Freebsd | — | Upgrade git-liteUpgrade gitUpgrade git-tiny | Apr 27, 2023 | Apr 26, 2023 |
| Gentoo Linux | — | Upgrade dev-vcs/git. | Dec 28, 2023 | Apr 25, 2023 |
| Huawei Euleros 2_0_sp10 | — | Upgrade git-helpUpgrade git | Jul 18, 2023 | Apr 25, 2023 |
| Huawei Euleros 2_0_sp11 | — | Upgrade git-helpUpgrade git | Jan 10, 2024 | Apr 25, 2023 |
| Huawei Euleros 2_0_sp8 | — | Upgrade git-coreUpgrade gitUpgrade git-core-doc | Jan 10, 2024 | Apr 25, 2023 |
| Huawei Euleros 2_0_sp9 | — | Upgrade gitUpgrade git-help | Jul 10, 2023 | Apr 25, 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.6 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 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 2017 to the latest version in the LTSC 15.9 version stream, or upgrade to a newer supported version of Visual Studio 2017. | Jun 25, 2025 | Jun 13, 2023 |
| Oracle_linux | — | Upgrade gitkUpgrade git-credential-libsecretUpgrade emacs-git-elUpgrade git-core-docUpgrade git-gnome-keyringUpgrade gitUpgrade git-hgUpgrade git-subtreeUpgrade git-allUpgrade gitwebUpgrade git-emailUpgrade git-guiUpgrade emacs-gitUpgrade git-p4Upgrade perl-Git-SVNUpgrade perl-GitUpgrade git-instawebUpgrade git-daemonUpgrade git-cvsUpgrade git-bzrUpgrade git-svnUpgrade git-core | May 23, 2023 | Apr 25, 2023 |
| Redhat_linux | — | Upgrade emacs-gitUpgrade git-debugsourceUpgrade git-p4No solution existsUpgrade git-core-debuginfoUpgrade git-daemon-debuginfoUpgrade git-instawebUpgrade git-guiUpgrade git-allUpgrade git-hgUpgrade perl-GitUpgrade git-debuginfoUpgrade git-daemonUpgrade git-emailUpgrade gitwebUpgrade git-gnome-keyringUpgrade git-svnUpgrade git-credential-libsecretUpgrade perl-Git-SVNUpgrade git-cvsUpgrade git-bzrUpgrade gitkUpgrade git-credential-libsecret-debuginfoUpgrade git-core-docUpgrade emacs-git-elUpgrade git-subtreeUpgrade git-coreUpgrade git | May 23, 2023 | Apr 25, 2023 |
| Rocky_linux | — | Upgrade git-core-debuginfoUpgrade git-credential-libsecret-debuginfoUpgrade git-debuginfoUpgrade git-daemonUpgrade git-subtreeUpgrade git-coreUpgrade git-credential-libsecretUpgrade gitUpgrade git-daemon-debuginfoUpgrade git-debugsource | Mar 5, 2024 | Apr 25, 2023 |
| Suse | — | Upgrade git-guiUpgrade gitkUpgrade git-cvsUpgrade git-p4Upgrade git-emailUpgrade git-daemonUpgrade git-docUpgrade gitUpgrade git-svnUpgrade git-webUpgrade git-credential-libsecretUpgrade perl-GitUpgrade git-coreUpgrade git-credential-gnome-keyringUpgrade git-arch | Apr 27, 2023 | Apr 25, 2023 |
| Ubuntu | — | Upgrade gitUpgrade git (Ubuntu Pro) | May 4, 2023 | Apr 25, 2023 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Aug 25, 2025 | Apr 25, 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