{"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-50349 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-50349 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-50349 and fix it if it is affected.\n\nWhat it is: CVE-2024-50349 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-50349 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-50349/ (Markdown: https://insights.sbomify.com/CVE-2024-50349/index.md)","id":"CVE-2024-50349","markdown":"https://insights.sbomify.com/CVE-2024-50349/index.md","name":"CVE-2024-50349","record":{"aliases":["ALPINE-CVE-2024-50349","AZL-55640","AZL-55689","BELL-CVE-2024-50349","BIT-git-2024-50349","CLSA-2025-1757663300","CLSA-2025-1757663366","CLSA-2025-1757663410","CLSA-2025-1761744708","CLSA-2026-1768300651","CLSA-2026-1768300849","CLSA-2026-1768301920","CLSA-2026-1768310750","CLSA-2026-1769507695","CLSA-2026-1769507907","DEBIAN-CVE-2024-50349","GHSA-hmg8-h7qf-7cxr","MINI-wg97-869f-5822","RHSA-2025:19601","UBUNTU-CVE-2024-50349","USN-7964-1","openSUSE-SU-2025:14652-1"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["account_takeover","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Git version control","requires_auth":"none","summary":"Attackers can use ANSI escape sequences in URLs to trick users into sending credentials to malicious sites during interactive Git operations.","user_interaction":"required","vuln_class":"other"},"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:H/AT:P/PR:N/UI:A/VC:N/VI:L/VA:N/SC:L/SI:L/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. When Git asks for credentials via a terminal prompt (i.e. without using any credential helper), it prints out the host name for which the user is expected to provide a username and/or a password. At this stage, any URL-encoded parts have been decoded already, and are printed verbatim. This allows attackers to craft URLs that contain ANSI escape sequences that the terminal interpret to confuse users e.g. into providing passwords for trusted Git hosting sites when in fact they are then sent to untrusted sites that are under the attacker's control. This issue has been patch via commits `7725b81` and `c903985` which are 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","Red Hat:rhel_eus:9.4::appstream","openSUSE:Tumbleweed"],"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":"Git does not sanitize URLs when asking for credentials interactively","id":"CVE-2024-50349","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"debian:debian_linux","products":["debian:debian_linux"],"type":"other","year":"2024"},"n_packages":22,"n_references":3,"next":{"headline":"LibreNMS has a Stored XSS ('Cross-site Scripting') in librenms/app/Http/Controllers/Table/EditPortsController.php","id":"CVE-2024-50350"},"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-50349"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:2.43.5-1.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"git","purl":"pkg:rpm/redhat/git","source":"RHSA-2025:19601"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:2.43.5-1.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"git-all","purl":"pkg:rpm/redhat/git-all","source":"RHSA-2025:19601"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:2.43.5-1.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"git-core","purl":"pkg:rpm/redhat/git-core","source":"RHSA-2025:19601"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:2.43.5-1.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"git-core-debuginfo","purl":"pkg:rpm/redhat/git-core-debuginfo","source":"RHSA-2025:19601"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:2.43.5-1.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"git-core-doc","purl":"pkg:rpm/redhat/git-core-doc","source":"RHSA-2025:19601"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:2.43.5-1.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"git-credential-libsecret","purl":"pkg:rpm/redhat/git-credential-libsecret","source":"RHSA-2025:19601"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:2.43.5-1.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"git-credential-libsecret-debuginfo","purl":"pkg:rpm/redhat/git-credential-libsecret-debuginfo","source":"RHSA-2025:19601"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:2.43.5-1.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"git-daemon","purl":"pkg:rpm/redhat/git-daemon","source":"RHSA-2025:19601"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:2.43.5-1.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"git-daemon-debuginfo","purl":"pkg:rpm/redhat/git-daemon-debuginfo","source":"RHSA-2025:19601"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:2.43.5-1.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"git-debuginfo","purl":"pkg:rpm/redhat/git-debuginfo","source":"RHSA-2025:19601"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:2.43.5-1.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"git-debugsource","purl":"pkg:rpm/redhat/git-debugsource","source":"RHSA-2025:19601"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:2.43.5-1.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"git-email","purl":"pkg:rpm/redhat/git-email","source":"RHSA-2025:19601"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:2.43.5-1.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"git-gui","purl":"pkg:rpm/redhat/git-gui","source":"RHSA-2025:19601"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:2.43.5-1.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"git-instaweb","purl":"pkg:rpm/redhat/git-instaweb","source":"RHSA-2025:19601"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:2.43.5-1.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"git-subtree","purl":"pkg:rpm/redhat/git-subtree","source":"RHSA-2025:19601"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:2.43.5-1.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"git-svn","purl":"pkg:rpm/redhat/git-svn","source":"RHSA-2025:19601"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:2.43.5-1.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"gitk","purl":"pkg:rpm/redhat/gitk","source":"RHSA-2025:19601"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:2.43.5-1.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"gitweb","purl":"pkg:rpm/redhat/gitweb","source":"RHSA-2025:19601"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:2.43.5-1.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"perl-Git","purl":"pkg:rpm/redhat/perl-Git","source":"RHSA-2025:19601"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:2.43.5-1.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"perl-Git-SVN","purl":"pkg:rpm/redhat/perl-Git-SVN","source":"RHSA-2025:19601"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["2.48.1-1.1"],"introduced":["0"],"last_affected":[],"package":"git","purl":"pkg:rpm/opensuse/git\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:14652-1"}],"prev":{"headline":"InstantCMS has a Cross Site Scripting Vulnerability","id":"CVE-2024-50348"},"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":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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 use ANSI escape sequences in URLs to trick users into sending credentials to malicious sites during interactive Git operations.","url":"https://insights.sbomify.com/CVE-2024-50349/"}