{"answers":{"affected":"1 open source package ship an affected version, including git. It affects 3 products.","exploited":"There is no known exploitation of CVE-2024-32004 in the wild and no public exploit code.","fix":"Upgrade git to a fixed version for your release line: 2.39.4, 2.40.2, 2.41.1 or 2.42.2.","what":"CVE-2024-32004 is a high-severity code injection vulnerability in Debian Debian Linux, published on 14 May 2024. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-32004 and fix it if it is affected.\n\nWhat it is: CVE-2024-32004 is a high-severity code injection vulnerability in Debian Debian Linux, published on 14 May 2024. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-32004 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- git (Bitnami): affected all versions; fixed in 2.39.4, 2.40.2, 2.41.1, 2.42.2, 2.43.4, 2.44.1, 2.45.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-32004/ (Markdown: https://insights.sbomify.com/CVE-2024-32004/index.md)","id":"CVE-2024-32004","markdown":"https://insights.sbomify.com/CVE-2024-32004/index.md","name":"CVE-2024-32004","record":{"aliases":["ALPINE-CVE-2024-32004","AZL-42022","AZL-43041","BELL-CVE-2024-32004","BIT-git-2024-32004","CLEANSTART-2026-KN73658","CLSA-2024-1719943366","CLSA-2024-1722529344","CLSA-2024-1725652305","CLSA-2024-1725652323","CLSA-2024-1725655852","CLSA-2025-1737155612","CLSA-2025-1748464675","CLSA-2026-1768395600","DEBIAN-CVE-2024-32004","GHSA-xfc6-vwr8-r389","RHSA-2024:7701","UBUNTU-CVE-2024-32004"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Git version control","requires_auth":"none","summary":"Attackers can execute arbitrary code on a victim's machine by tricking them into cloning a specially crafted local Git repository.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"debian_linux","vendor":"debian"},{"product":"fedora","vendor":"fedoraproject"},{"product":"git","vendor":"git-scm"}],"cvss":{"score":8.2,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-114","name":"Process Control"}],"description":"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, an attacker can prepare a local repository in such a way that, when cloned, will execute arbitrary code during the operation. 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 cloning repositories from untrusted sources.","ecosystems":["Bitnami","Red Hat:rhel_aus:8.2::appstream"],"exploits":{"exploitdb":0,"first_seen":"2024-05-19","github_poc":2,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2024-05-19T13:57:46Z","kind":"github_poc","ref":"https://github.com/Wadewfsssss/CVE-2024-32004","stars":0,"title":null},{"date":"2024-05-20T14:59:16Z","kind":"github_poc","ref":"https://github.com/10cks/CVE-2024-32004-POC","stars":0,"title":null}],"tier":"poc_unverified"},"has_fix":true,"headline":"Git vulnerable to Remote Code Execution while cloning special-crafted local repositories","id":"CVE-2024-32004","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"debian:debian_linux","products":["debian:debian_linux","fedoraproject:fedora"],"type":"code_injection","year":"2024"},"n_packages":20,"n_references":6,"next":{"headline":"Local File Inclusion in NiceGUI leaflet component","id":"CVE-2024-32005"},"packages":[{"ecosystem":"Bitnami","fixed":["2.39.4","2.40.2","2.41.1","2.42.2","2.43.4","2.44.1","2.45.1"],"introduced":["0","2.40.0","2.41.0","2.42.0","2.43.0","2.44.0","2.45.0"],"last_affected":[],"package":"git","purl":"pkg:bitnami/git","source":"BIT-git-2024-32004"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:2.18.4-5.el8_2"],"introduced":["0"],"last_affected":[],"package":"git","purl":"pkg:rpm/redhat/git","source":"RHSA-2024:7701"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:2.18.4-5.el8_2"],"introduced":["0"],"last_affected":[],"package":"git-all","purl":"pkg:rpm/redhat/git-all","source":"RHSA-2024:7701"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:2.18.4-5.el8_2"],"introduced":["0"],"last_affected":[],"package":"git-core","purl":"pkg:rpm/redhat/git-core","source":"RHSA-2024:7701"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:2.18.4-5.el8_2"],"introduced":["0"],"last_affected":[],"package":"git-core-debuginfo","purl":"pkg:rpm/redhat/git-core-debuginfo","source":"RHSA-2024:7701"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:2.18.4-5.el8_2"],"introduced":["0"],"last_affected":[],"package":"git-core-doc","purl":"pkg:rpm/redhat/git-core-doc","source":"RHSA-2024:7701"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:2.18.4-5.el8_2"],"introduced":["0"],"last_affected":[],"package":"git-daemon","purl":"pkg:rpm/redhat/git-daemon","source":"RHSA-2024:7701"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:2.18.4-5.el8_2"],"introduced":["0"],"last_affected":[],"package":"git-daemon-debuginfo","purl":"pkg:rpm/redhat/git-daemon-debuginfo","source":"RHSA-2024:7701"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:2.18.4-5.el8_2"],"introduced":["0"],"last_affected":[],"package":"git-debuginfo","purl":"pkg:rpm/redhat/git-debuginfo","source":"RHSA-2024:7701"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:2.18.4-5.el8_2"],"introduced":["0"],"last_affected":[],"package":"git-debugsource","purl":"pkg:rpm/redhat/git-debugsource","source":"RHSA-2024:7701"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:2.18.4-5.el8_2"],"introduced":["0"],"last_affected":[],"package":"git-email","purl":"pkg:rpm/redhat/git-email","source":"RHSA-2024:7701"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:2.18.4-5.el8_2"],"introduced":["0"],"last_affected":[],"package":"git-gui","purl":"pkg:rpm/redhat/git-gui","source":"RHSA-2024:7701"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:2.18.4-5.el8_2"],"introduced":["0"],"last_affected":[],"package":"git-instaweb","purl":"pkg:rpm/redhat/git-instaweb","source":"RHSA-2024:7701"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:2.18.4-5.el8_2"],"introduced":["0"],"last_affected":[],"package":"git-subtree","purl":"pkg:rpm/redhat/git-subtree","source":"RHSA-2024:7701"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:2.18.4-5.el8_2"],"introduced":["0"],"last_affected":[],"package":"git-svn","purl":"pkg:rpm/redhat/git-svn","source":"RHSA-2024:7701"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:2.18.4-5.el8_2"],"introduced":["0"],"last_affected":[],"package":"git-svn-debuginfo","purl":"pkg:rpm/redhat/git-svn-debuginfo","source":"RHSA-2024:7701"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:2.18.4-5.el8_2"],"introduced":["0"],"last_affected":[],"package":"gitk","purl":"pkg:rpm/redhat/gitk","source":"RHSA-2024:7701"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:2.18.4-5.el8_2"],"introduced":["0"],"last_affected":[],"package":"gitweb","purl":"pkg:rpm/redhat/gitweb","source":"RHSA-2024:7701"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:2.18.4-5.el8_2"],"introduced":["0"],"last_affected":[],"package":"perl-Git","purl":"pkg:rpm/redhat/perl-Git","source":"RHSA-2024:7701"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:2.18.4-5.el8_2"],"introduced":["0"],"last_affected":[],"package":"perl-Git-SVN","purl":"pkg:rpm/redhat/perl-Git-SVN","source":"RHSA-2024:7701"}],"prev":{"headline":"Dusk plugin may allow unfettered user authentication in misconfigured installs","id":"CVE-2024-32003"},"products":["git"],"published":"2024-05-14","related":[{"cvss_score":10,"headline":"ProFTPD Improper Access Control","id":"CVE-2015-3306","kev_date_added":"2026-10-08","published":"2015-05-18"},{"cvss_score":9.9,"headline":"RoundCube Webmail Deserialization of Untrusted Data","id":"CVE-2025-49113","kev_date_added":"2026-02-20","published":"2025-06-02"},{"cvss_score":9.8,"headline":"GNU InetUtils Argument Injection","id":"CVE-2026-24061","kev_date_added":"2026-01-26","published":"2026-01-21"},{"cvss_score":9.8,"headline":"Linux Kernel Improper Check for Unusual or Exceptional Conditions","id":"CVE-2025-39682","kev_date_added":"2026-09-18","published":"2025-09-05"},{"cvss_score":9.8,"headline":"Mozilla Firefox Use-After-Free","id":"CVE-2024-9680","kev_date_added":"2024-10-15","published":"2024-10-09"},{"cvss_score":9.8,"headline":"RARLAB UnRAR Directory Traversal","id":"CVE-2022-30333","kev_date_added":"2022-08-09","published":"2022-05-09"},{"cvss_score":9.8,"headline":"Roundcube Webmail SQL Injection","id":"CVE-2021-44026","kev_date_added":"2023-06-22","published":"2021-11-19"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-11-04","vendors":["git"]},"summary":"Attackers can execute arbitrary code on a victim's machine by tricking them into cloning a specially crafted local Git repository.","url":"https://insights.sbomify.com/CVE-2024-32004/"}