# CVE-2024-32465: Git's protections for cloning untrusted repositories can be bypassed

- Severity: High 7.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.59%, higher than 42% of CVEs (2026-11-30)
- Published: 2024-05-14T19:18:33.914Z
- Modified: 2026-09-08T08:47:33.100Z
- Also known as: BIT-GIT-2024-32465, GHSA-vm9j-46j9-qvq4
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

Git is a revision control system. The Git project recommends to avoid working in untrusted repositories, and instead to clone it first with `git clone --no-local` to obtain a clean copy. Git has specific protections to make that a safe operation even with an untrusted source repository, but vulnerabilities allow those protections to be bypassed. In the context of cloning local repositories owned by other users, this vulnerability has been covered in CVE-2024-32004. But there are circumstances where the fixes for CVE-2024-32004 are not enough: For example, when obtaining a `.zip` file containing a full copy of a Git repository, it should not be trusted by default to be safe, as e.g. hooks could be configured to run within the context of that repository. 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. As a workaround, avoid using Git in repositories that have been obtained via archives from untrusted sources.

(As written by CVE List.)

## Affected

- git git: = 2.45.0; = 2.44.0; >= 2.43.0, < 2.43.4; >= 2.42.0, < 2.42.2; = 2.41.0; >= 2.40.0, < 2.40.2; < 2.39.4; 2.45.0; 2.44.0; from 2.43.0 up to 2.43.4; from 2.42.0 up to 2.42.2; 2.41.0; and 2 more
- git-scm git: before 2.39.4; from 2.40.0 before 2.40.2; from 2.42.0 before 2.42.2; from 2.43.0 before 2.43.4; 2.41.0; 2.44.0; 2.45.0
- fedoraproject fedora: 40
- debian debian_linux: 10.0; 11.0
- git (Bitnami): before 2.39.4; from 2.40.0 before 2.40.2; from 2.41.0 before 2.41.1; from 2.42.0 before 2.42.2; from 2.43.0 before 2.43.4; from 2.44.0 before 2.44.1; from 2.45.0 before 2.45.1

## Every score

- GitHub_M: CVSS:3.1 7.4 High `CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/git/git/security/advisories/GHSA-vm9j-46j9-qvq4> (advisory, vendor-advisory)
- <https://github.com/git/git/commit/7b70e9efb18c2cc3f219af399bd384c5801ba1d7> (fix, patch)
- <https://git-scm.com/docs/git#_security> (article, technical-description)
- <https://git-scm.com/docs/git-clone> (article, technical-description)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/S4CK4IYTXEOBZTEM5K3T6LWOIZ3S44AR/> (advisory, mailing-list, third-party-advisory)
- <http://www.openwall.com/lists/oss-security/2024/05/14/2> (advisory, mailing-list, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00018.html> (advisory, mailing-list, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2024/09/msg00009.html> (advisory, mailing-list, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-32465> (web)

## Sources

- CVE List: [CVE-2024-32465](https://www.cve.org/CVERecord?id=CVE-2024-32465), CVE Terms of Use, modified 2025-11-04
- NVD: [CVE-2024-32465](https://nvd.nist.gov/vuln/detail/CVE-2024-32465), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-GIT-2024-32465](https://osv.dev/vulnerability/BIT-GIT-2024-32465), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2024-32465 · Whole record: https://cve.day/CVE-2024-32465.json · Rebuilt by cve.day 2026-11-25T22:58:40.357Z
