CVE-2024-50349
mediumpriority · track · 19EPSS 0.007 · 51 %ileDEEURUUSEPSS · scored 2026-10-27
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.
remediations
Vendor fix, mitigation, or workaround guidance, as published by each source.
A vendor fix is available.
- Fixedgit-0:2.43.5-1.el9_4.3.aarch64 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2025:19601 - Fixedgit-0:2.43.5-1.el9_4.3.ppc64le as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2025:19601 - Fixedgit-0:2.43.5-1.el9_4.3.s390x as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2025:19601 - Fixedgit-0:2.43.5-1.el9_4.3.src as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2025:19601 - Fixedgit-0:2.43.5-1.el9_4.3.x86_64 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2025:19601 - Fixedgit-all-0:2.43.5-1.el9_4.3.noarch as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2025:19601 - Fixedgit-core-0:2.43.5-1.el9_4.3.aarch64 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2025:19601 - Fixedgit-core-0:2.43.5-1.el9_4.3.ppc64le as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2025:19601 - Fixedgit-core-0:2.43.5-1.el9_4.3.s390x as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2025:19601 - Fixedgit-core-0:2.43.5-1.el9_4.3.x86_64 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2025:19601 - Fixedgit-core-debuginfo-0:2.43.5-1.el9_4.3.aarch64 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2025:19601 - Fixedgit-core-debuginfo-0:2.43.5-1.el9_4.3.ppc64le as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2025:19601 - Fixedgit-core-debuginfo-0:2.43.5-1.el9_4.3.s390x as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2025:19601 - Fixedgit-core-debuginfo-0:2.43.5-1.el9_4.3.x86_64 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2025:19601 - Fixedgit-core-doc-0:2.43.5-1.el9_4.3.noarch as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2025:19601 - Fixedgit-credential-libsecret-0:2.43.5-1.el9_4.3.aarch64 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2025:19601 - Fixedgit-credential-libsecret-0:2.43.5-1.el9_4.3.ppc64le as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2025:19601 - Fixedgit-credential-libsecret-0:2.43.5-1.el9_4.3.s390x as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2025:19601 - Fixedgit-credential-libsecret-0:2.43.5-1.el9_4.3.x86_64 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2025:19601 - Fixedgit-credential-libsecret-debuginfo-0:2.43.5-1.el9_4.3.aarch64 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2025:19601 - Fixedgit-credential-libsecret-debuginfo-0:2.43.5-1.el9_4.3.ppc64le as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2025:19601 - Fixedgit-credential-libsecret-debuginfo-0:2.43.5-1.el9_4.3.s390x as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2025:19601 - Fixedgit-credential-libsecret-debuginfo-0:2.43.5-1.el9_4.3.x86_64 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2025:19601 - Fixedgit-daemon-0:2.43.5-1.el9_4.3.aarch64 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2025:19601 - Fixedgit-daemon-0:2.43.5-1.el9_4.3.ppc64le as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2025:19601 - Fixedgit-daemon-0:2.43.5-1.el9_4.3.s390x as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2025:19601 - Fixedgit-daemon-0:2.43.5-1.el9_4.3.x86_64 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2025:19601 - Fixedgit-daemon-debuginfo-0:2.43.5-1.el9_4.3.aarch64 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2025:19601 - Fixedgit-daemon-debuginfo-0:2.43.5-1.el9_4.3.ppc64le as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2025:19601 - Fixedgit-daemon-debuginfo-0:2.43.5-1.el9_4.3.s390x as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2025:19601 - Fixedgit-daemon-debuginfo-0:2.43.5-1.el9_4.3.x86_64 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2025:19601 - Fixedgit-debuginfo-0:2.43.5-1.el9_4.3.aarch64 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2025:19601 - Fixedgit-debuginfo-0:2.43.5-1.el9_4.3.ppc64le as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2025:19601 - Fixedgit-debuginfo-0:2.43.5-1.el9_4.3.s390x as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2025:19601 - Fixedgit-debuginfo-0:2.43.5-1.el9_4.3.x86_64 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2025:19601 - Fixedgit-debugsource-0:2.43.5-1.el9_4.3.aarch64 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2025:19601 - Fixedgit-debugsource-0:2.43.5-1.el9_4.3.ppc64le as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2025:19601 - Fixedgit-debugsource-0:2.43.5-1.el9_4.3.s390x as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2025:19601 - Fixedgit-debugsource-0:2.43.5-1.el9_4.3.x86_64 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2025:19601 - Fixedgit-email-0:2.43.5-1.el9_4.3.noarch as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2025:19601 - Fixedgit-gui-0:2.43.5-1.el9_4.3.noarch as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2025:19601 - Fixedgit-instaweb-0:2.43.5-1.el9_4.3.noarch as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2025:19601 - Fixedgit-subtree-0:2.43.5-1.el9_4.3.aarch64 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2025:19601 - Fixedgit-subtree-0:2.43.5-1.el9_4.3.ppc64le as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2025:19601 - Fixedgit-subtree-0:2.43.5-1.el9_4.3.s390x as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2025:19601 - Fixedgit-subtree-0:2.43.5-1.el9_4.3.x86_64 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2025:19601 - Fixedgit-svn-0:2.43.5-1.el9_4.3.noarch as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2025:19601 - Fixedgitk-0:2.43.5-1.el9_4.3.noarch as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2025:19601 - Fixedgitweb-0:2.43.5-1.el9_4.3.noarch as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2025:19601 - Fixedperl-Git-0:2.43.5-1.el9_4.3.noarch as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2025:19601 - Fixedperl-Git-SVN-0:2.43.5-1.el9_4.3.noarch as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2025:19601
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–high · 0.5–7.3
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (116)
Products and version ranges known to be affected.
- Red Hat OpenShift Container Platformall versionscert_bundDEcpe:/a:redhat:openshift:container_platform
advisories (4)
Vendor and ecosystem advisories describing this.
- RHSA-2025:19601Red Hat Security Advisory: git security update2025-11-04csaf · redhat_csafUS
An update for git is now available for Red Hat Enterprise Linux 9.4 Extended Update Support. Red Hat Product Security has rated this update as having a security impact of Low. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.
- WID-SEC-W-2025-0097git: Mehrere Schwachstellen ermöglichen ManipulationDeutsch2025-01-14csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in git ausnutzen, um Daten zu manipulieren.
- WID-SEC-W-2025-1905IBM QRadar SIEM Komponente: Mehrere SchwachstellenDeutsch2025-08-25csaf · cert_bundDE
Ein Angreifer kann mehrere Schwachstellen in IBM QRadar SIEM Komponenten ausnutzen, um Daten zu manipulieren, um einen Denial of Service Angriff durchzuführen, um beliebigen Programmcode auszuführen, um Sicherheitsvorkehrungen zu umgehen, und um Informationen offenzulegen.
- BIT-git-2024-50349Git does not sanitize URLs when asking for credentials interactively2025-04-14vendor · osvUS
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.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (12)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2024-50349cnnvd
- https://github.com/git/git/commit/7725b8100ffbbff2750ee4d61a0fcc1f53a086e8cnnvd
- https://github.com/git/git/commit/c903985bf7e772e2d08275c1a95c8a55ab011577cnnvd
- https://github.com/git/git/security/advisories/GHSA-hmg8-h7qf-7cxrcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2024-50349cnnvd
- https://github.com/git/git/commit/7725b8100ffbbff2750ee4d61a0fcc1f53a086e8enisa_euvd
- https://github.com/git/git/commit/c903985bf7e772e2d08275c1a95c8a55ab011577enisa_euvd
- https://github.com/git/git/security/advisories/GHSA-hmg8-h7qf-7cxrenisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan