{"answers":{"affected":"1 open source package ship an affected version, including git. It affects 3 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-32021 exists.","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-32021 is a low-severity vulnerability in Debian Debian Linux, published on 14 May 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-32021 and fix it if it is affected.\n\nWhat it is: CVE-2024-32021 is a low-severity vulnerability in Debian Debian Linux, published on 14 May 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-32021 exists.\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-32021/ (Markdown: https://insights.sbomify.com/CVE-2024-32021/index.md)","id":"CVE-2024-32021","markdown":"https://insights.sbomify.com/CVE-2024-32021/index.md","name":"CVE-2024-32021","record":{"aliases":["ALPINE-CVE-2024-32021","AZL-42013","AZL-43042","BELL-CVE-2024-32021","BIT-git-2024-32021","CLEANSTART-2026-DT73617","CLSA-2024-1730919636","CLSA-2024-1731523206","CLSA-2026-1767950442","CLSA-2026-1768223578","CLSA-2026-1768392809","CLSA-2026-1768393530","CLSA-2026-1768570231","CLSA-2026-1768917823","DEBIAN-CVE-2024-32021","GHSA-mvxm-9j2h-qjx7","UBUNTU-CVE-2024-32021"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Git version control","requires_auth":"low_privilege","summary":"Attackers can exploit a race condition during local Git clones to create hardlinks to arbitrary user-readable files, potentially exposing sensitive data.","user_interaction":"required","vuln_class":"race_condition"},"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":3.9,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-547","name":"Use of Hard-coded, Security-relevant Constants"}],"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, when cloning a local source repository that contains symlinks via the filesystem, Git may create hardlinks to arbitrary user-readable files on the same filesystem as the target repository in the `objects/` directory. Cloning a local repository over the filesystem may creating hardlinks to arbitrary user-owned files on the same filesystem in the target Git repository's `objects/` directory. When cloning a repository over the filesystem (without explicitly specifying the `file://` protocol or `--no-local`), the optimizations for local cloning\nwill be used, which include attempting to hard link the object files instead of copying them. While the code includes checks against symbolic links in the source repository, which were added during the fix for CVE-2022-39253, these checks can still be raced because the hard link operation ultimately follows symlinks. If the object on the filesystem appears as a file during the check, and then a symlink during the operation, this will allow the adversary to bypass the check and create hardlinks in the destination objects directory to arbitrary, user-readable files. 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.","ecosystems":["Bitnami"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Local Git clone may hardlink arbitrary user-readable files into the new repository's \"objects/\" directory","id":"CVE-2024-32021","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"debian:debian_linux","products":["debian:debian_linux","fedoraproject:fedora"],"type":"race_condition","year":"2024"},"n_packages":1,"n_references":4,"next":{"headline":"Kohya_ss is vulnerable to a command injection in basic_caption_gui.py (GHSL-2024-019)","id":"CVE-2024-32022"},"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-32021"}],"prev":{"headline":"Race condition in git","id":"CVE-2024-32020"},"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":"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)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-11-04","vendors":["git"]},"summary":"Attackers can exploit a race condition during local Git clones to create hardlinks to arbitrary user-readable files, potentially exposing sensitive data.","url":"https://insights.sbomify.com/CVE-2024-32021/"}