{"answers":{"affected":"1 open source package ship an affected version, including git. It affects 2 products.","exploited":"There is no known exploitation of CVE-2024-52006 in the wild and no public exploit code.","fix":"Upgrade git to a fixed version for your release line: 2.40.4, 2.41.3, 2.42.4 or 2.43.6.","what":"CVE-2024-52006 is a low-severity vulnerability in Debian Debian Linux, published on 14 Jan 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-52006 and fix it if it is affected.\n\nWhat it is: CVE-2024-52006 is a low-severity vulnerability in Debian Debian Linux, published on 14 Jan 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2024-52006 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- git (Bitnami): affected all versions; fixed in 2.40.4, 2.41.3, 2.42.4, 2.43.6, 2.44.3, 2.45.3, 2.46.3, 2.47.2, 2.48.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-52006/ (Markdown: https://insights.sbomify.com/CVE-2024-52006/index.md)","id":"CVE-2024-52006","markdown":"https://insights.sbomify.com/CVE-2024-52006/index.md","name":"CVE-2024-52006","record":{"aliases":["ALPINE-CVE-2024-52006","AZL-55652","AZL-55667","BELL-CVE-2024-52006","BIT-git-2024-52006","CLSA-2025-1754648780","CLSA-2025-1754939766","CLSA-2025-1754940005","CLSA-2025-1758040547","CLSA-2026-1767870671","CLSA-2026-1768211193","CLSA-2026-1768225263","DEBIAN-CVE-2024-52006","MINI-3hm6-mgx4-28c5"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Git version control","requires_auth":"none","summary":"Attackers can exfiltrate credentials via newline confusion in Git credential helpers when interacting with untrusted repositories.","user_interaction":"required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"debian_linux","vendor":"debian"},{"product":"git","vendor":"git"}],"cvss":{"score":2.1,"severity":"low","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-150","name":"Improper Neutralization of Escape, Meta, or Control Sequences"},{"id":"CWE-147","name":"Improper Neutralization of Input Terminators"},{"id":"CWE-116","name":"Improper Encoding or Escaping of Output"}],"description":"Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals. Git defines a line-based protocol that is used to exchange information between Git and Git credential helpers. Some ecosystems (most notably, .NET and node.js) interpret single Carriage Return characters as newlines, which renders the protections against CVE-2020-5260 incomplete for credential helpers that treat Carriage Returns in this way. This issue has been addressed in commit `b01b9b8` which is included in release versions v2.48.1, v2.47.2, v2.46.3, v2.45.3, v2.44.3, v2.43.6, v2.42.4, v2.41.3, and v2.40.4. Users are advised to upgrade. Users unable to upgrade should avoid cloning from untrusted URLs, especially recursive clones.","ecosystems":["Bitnami"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Newline confusion in credential helpers can lead to credential exfiltration in git","id":"CVE-2024-52006","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"debian:debian_linux","products":["debian:debian_linux"],"type":"information_disclosure","year":"2024"},"n_packages":1,"n_references":4,"next":{"headline":"XXE vulnerability in XSLT parsing in `org.hl7.fhir.core`","id":"CVE-2024-52007"},"packages":[{"ecosystem":"Bitnami","fixed":["2.40.4","2.41.3","2.42.4","2.43.6","2.44.3","2.45.3","2.46.3","2.47.2","2.48.1"],"introduced":["0","2.41.0","2.42.0","2.43.0","2.44.0","2.45.0","2.46.0","2.47.0","2.48.0"],"last_affected":[],"package":"git","purl":"pkg:bitnami/git","source":"BIT-git-2024-52006"}],"prev":{"headline":"The sideband payload is passed unfiltered to the terminal in git","id":"CVE-2024-52005"},"products":["git"],"published":"2025-01-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":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-11-03","vendors":["git"]},"summary":"Attackers can exfiltrate credentials via newline confusion in Git credential helpers when interacting with untrusted repositories.","url":"https://insights.sbomify.com/CVE-2024-52006/"}