---
title: "CVE-2024-32002"
canonical_url: "https://pkgseek.com/security/CVE-2024-32002"
locale: "zh-CN"
source: "pkgseek"
entity_type: "cve"
severity: "critical"
---

# CVE-2024-32002

Git is a revision control system. Prior to versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4, repositories with submodules can be crafted in a way that exploits a bug in Git whereby it can be fooled into writing files not into the submodule's worktree but into a \`.git/\` directory. This allows writing a hook that will be executed while the clone operation is still running, giving the user no opportunity to inspect the code that is being executed. The problem has been patched in versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4. If symbolic link support is dis…

CVE-2024-32002 严重级别为 CRITICAL (9.0)，共索引 82 条受影响软件包构建记录，涉及 5 个发行版。

- **级别 / 评分**: CRITICAL (9.0)
- **受影响构建数**: 82
- **涉及发行版**: 5
- **已标明修复版本发行版**: Alibaba Cloud Linux, openSUSE, Oracle Linux, Red Hat Enterprise Linux, Ubuntu

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Alibaba Cloud Linux | 3 | git | 2.39.3-1.1.al8 | 2.43.5-1.0.1.al8 |
| Alibaba Cloud Linux | 3 | git-all | 2.39.3-1.1.al8 | 2.43.5-1.0.1.al8 |
| Alibaba Cloud Linux | 3 | git-core | 2.39.3-1.1.al8 | 2.43.5-1.0.1.al8 |
| Alibaba Cloud Linux | 3 | git-core-doc | 2.39.3-1.1.al8 | 2.43.5-1.0.1.al8 |
| Alibaba Cloud Linux | 3 | git-credential-libsecret | 2.39.3-1.1.al8 | 2.43.5-1.0.1.al8 |
| Alibaba Cloud Linux | 3 | git-daemon | 2.39.3-1.1.al8 | 2.43.5-1.0.1.al8 |
| Alibaba Cloud Linux | 3 | git-email | 2.39.3-1.1.al8 | 2.43.5-1.0.1.al8 |
| Alibaba Cloud Linux | 3 | git-gui | 2.39.3-1.1.al8 | 2.43.5-1.0.1.al8 |
| Alibaba Cloud Linux | 3 | git-instaweb | 2.39.3-1.1.al8 | 2.43.5-1.0.1.al8 |
| Alibaba Cloud Linux | 3 | gitk | 2.39.3-1.1.al8 | 2.43.5-1.0.1.al8 |
| Alibaba Cloud Linux | 3 | git-subtree | 2.39.3-1.1.al8 | 2.43.5-1.0.1.al8 |
| Alibaba Cloud Linux | 3 | git-svn | 2.39.3-1.1.al8 | 2.43.5-1.0.1.al8 |
| Alibaba Cloud Linux | 3 | gitweb | 2.39.3-1.1.al8 | 2.43.5-1.0.1.al8 |
| Alibaba Cloud Linux | 3 | perl-Git | 2.39.3-1.1.al8 | 2.43.5-1.0.1.al8 |
| Alibaba Cloud Linux | 3 | perl-Git-SVN | 2.39.3-1.1.al8 | 2.43.5-1.0.1.al8 |
| openSUSE | 15.6 | git | 2.43.0-150600.1.10 | 2.43.0-150600.3.3.1 |
| openSUSE | 15.6 | git-arch | 2.43.0-150600.1.10 | 2.43.0-150600.3.3.1 |
| openSUSE | 15.6 | git-core | 2.43.0-150600.1.10 | 2.43.0-150600.3.3.1 |
| openSUSE | 15.6 | git-credential-libsecret | 2.43.0-150600.1.10 | 2.43.0-150600.3.3.1 |
| openSUSE | 15.6 | git-cvs | 2.43.0-150600.1.10 | 2.43.0-150600.3.3.1 |
| openSUSE | 15.6 | git-daemon | 2.43.0-150600.1.10 | 2.43.0-150600.3.3.1 |
| openSUSE | 15.6 | git-doc | 2.43.0-150600.1.10 | 2.43.0-150600.3.3.1 |
| openSUSE | 15.6 | git-email | 2.43.0-150600.1.10 | 2.43.0-150600.3.3.1 |
| openSUSE | 15.6 | git-gui | 2.43.0-150600.1.10 | 2.43.0-150600.3.3.1 |
| openSUSE | 15.6 | gitk | 2.43.0-150600.1.10 | 2.43.0-150600.3.3.1 |
| openSUSE | 15.6 | git-svn | 2.43.0-150600.1.10 | 2.43.0-150600.3.3.1 |
| openSUSE | 15.6 | git-web | 2.43.0-150600.1.10 | 2.43.0-150600.3.3.1 |
| openSUSE | 15.6 | perl-Git | 2.43.0-150600.1.10 | 2.43.0-150600.3.3.1 |
| Oracle Linux | 8 | git | 2.43.0-1.el8 | 2.43.5-1.el8_10 |
| Oracle Linux | 8 | git-all | 2.43.0-1.el8 | 2.43.5-1.el8_10 |
| Oracle Linux | 8 | git-core | 2.43.0-1.el8 | 2.43.5-1.el8_10 |
| Oracle Linux | 8 | git-core-doc | 2.43.0-1.el8 | 2.43.5-1.el8_10 |
| Oracle Linux | 8 | git-credential-libsecret | 2.43.0-1.el8 | 2.43.5-1.el8_10 |
| Oracle Linux | 8 | git-daemon | 2.43.0-1.el8 | 2.43.5-1.el8_10 |
| Oracle Linux | 8 | git-email | 2.43.0-1.el8 | 2.43.5-1.el8_10 |
| Oracle Linux | 8 | git-gui | 2.43.0-1.el8 | 2.43.5-1.el8_10 |
| Oracle Linux | 8 | git-instaweb | 2.43.0-1.el8 | 2.43.5-1.el8_10 |
| Oracle Linux | 8 | gitk | 2.43.0-1.el8 | 2.43.5-1.el8_10 |
| Oracle Linux | 8 | git-subtree | 2.43.0-1.el8 | 2.43.5-1.el8_10 |
| Oracle Linux | 8 | git-svn | 2.43.0-1.el8 | 2.43.5-1.el8_10 |
| Oracle Linux | 8 | gitweb | 2.43.0-1.el8 | 2.43.5-1.el8_10 |
| Oracle Linux | 8 | perl-Git | 2.43.0-1.el8 | 2.43.5-1.el8_10 |
| Oracle Linux | 8 | perl-Git-SVN | 2.43.0-1.el8 | 2.43.5-1.el8_10 |
| Oracle Linux | 9 | git | 2.43.0-1.el9 | 2.43.5-1.el9_4 |
| Oracle Linux | 9 | git-all | 2.43.0-1.el9 | 2.43.5-1.el9_4 |
| Oracle Linux | 9 | git-core | 2.43.0-1.el9 | 2.43.5-1.el9_4 |
| Oracle Linux | 9 | git-core-doc | 2.43.0-1.el9 | 2.43.5-1.el9_4 |
| Oracle Linux | 9 | git-credential-libsecret | 2.43.0-1.el9 | 2.43.5-1.el9_4 |
| Oracle Linux | 9 | git-daemon | 2.43.0-1.el9 | 2.43.5-1.el9_4 |
| Oracle Linux | 9 | git-email | 2.43.0-1.el9 | 2.43.5-1.el9_4 |
| Oracle Linux | 9 | git-gui | 2.43.0-1.el9 | 2.43.5-1.el9_4 |
| Oracle Linux | 9 | git-instaweb | 2.43.0-1.el9 | 2.43.5-1.el9_4 |
| Oracle Linux | 9 | gitk | 2.43.0-1.el9 | 2.43.5-1.el9_4 |
| Oracle Linux | 9 | git-subtree | 2.43.0-1.el9 | 2.43.5-1.el9_4 |
| Oracle Linux | 9 | git-svn | 2.43.0-1.el9 | 2.43.5-1.el9_4 |
| Oracle Linux | 9 | gitweb | 2.43.0-1.el9 | 2.43.5-1.el9_4 |
| Oracle Linux | 9 | perl-Git | 2.43.0-1.el9 | 2.43.5-1.el9_4 |
| Oracle Linux | 9 | perl-Git-SVN | 2.43.0-1.el9 | 2.43.5-1.el9_4 |
| Red Hat Enterprise Linux | 9.8 | git | 2.43.0-1.el9 | 2.43.5-1.el9_4 |
| Red Hat Enterprise Linux | 9.8 | git-all | 2.43.0-1.el9 | 2.43.5-1.el9_4 |
| Red Hat Enterprise Linux | 9.8 | git-core | 2.43.0-1.el9 | 2.43.5-1.el9_4 |
| Red Hat Enterprise Linux | 9.8 | git-core-doc | 2.43.0-1.el9 | 2.43.5-1.el9_4 |
| Red Hat Enterprise Linux | 9.8 | git-credential-libsecret | 2.43.0-1.el9 | 2.43.5-1.el9_4 |
| Red Hat Enterprise Linux | 9.8 | git-daemon | 2.43.0-1.el9 | 2.43.5-1.el9_4 |
| Red Hat Enterprise Linux | 9.8 | git-email | 2.43.0-1.el9 | 2.43.5-1.el9_4 |
| Red Hat Enterprise Linux | 9.8 | git-gui | 2.43.0-1.el9 | 2.43.5-1.el9_4 |
| Red Hat Enterprise Linux | 9.8 | git-instaweb | 2.43.0-1.el9 | 2.43.5-1.el9_4 |
| Red Hat Enterprise Linux | 9.8 | gitk | 2.43.0-1.el9 | 2.43.5-1.el9_4 |
| Red Hat Enterprise Linux | 9.8 | git-subtree | 2.43.0-1.el9 | 2.43.5-1.el9_4 |
| Red Hat Enterprise Linux | 9.8 | git-svn | 2.43.0-1.el9 | 2.43.5-1.el9_4 |
| Red Hat Enterprise Linux | 9.8 | gitweb | 2.43.0-1.el9 | 2.43.5-1.el9_4 |
| Red Hat Enterprise Linux | 9.8 | perl-Git | 2.43.0-1.el9 | 2.43.5-1.el9_4 |
| Red Hat Enterprise Linux | 9.8 | perl-Git-SVN | 2.43.0-1.el9 | 2.43.5-1.el9_4 |
| Ubuntu | focal | git | 1:2.25.1-1ubuntu3 | 1:2.25.1-1ubuntu3.12 |
| Ubuntu | focal | git-doc | 1:2.25.1-1ubuntu3 | 1:2.25.1-1ubuntu3.12 |
| Ubuntu | focal | git-man | 1:2.25.1-1ubuntu3 | 1:2.25.1-1ubuntu3.12 |
| Ubuntu | jammy | git | 1:2.34.1-1ubuntu1 | 1:2.34.1-1ubuntu1.11 |
| Ubuntu | jammy | git-doc | 1:2.34.1-1ubuntu1 | 1:2.34.1-1ubuntu1.11 |
| Ubuntu | jammy | git-man | 1:2.34.1-1ubuntu1 | 1:2.34.1-1ubuntu1.11 |
| Ubuntu | noble | git | 1:2.43.0-1ubuntu7 | 1:2.43.0-1ubuntu7.1 |
| Ubuntu | noble | git-doc | 1:2.43.0-1ubuntu7 | 1:2.43.0-1ubuntu7.1 |
| Ubuntu | noble | git-man | 1:2.43.0-1ubuntu7 | 1:2.43.0-1ubuntu7.1 |
