Skip to content
OpenAdvisories
Low USN-7207-1 2 CVEs

git vulnerabilities

Published Jan 14, 2025 · Updated Feb 10, 2026

Summary

It was discovered that Git incorrectly handled certain URLs when
asking for credentials. An attacker could possibly use this
issue to mislead the user into typing passwords for trusted
sites that would then be sent to untrusted sites instead.
(CVE-2024-50349)

It was discovered that git incorrectly handled line endings when
using credential helpers. (CVE-2024-52006)

Fixed packages 2

ReleasePackageFixed in
Ubuntu · 22.04 LTS 22.04:LTS git 1:2.34.1-1ubuntu1.12
Ubuntu · 24.04 LTS 24.04:LTS git 1:2.43.0-1ubuntu7.2

Vulnerabilities 2

  • Low 2.1

    Git does not sanitize URLs when asking for credentials interactively

    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 helpe…

  • Low 2.1

    Newline confusion in credential helpers can lead to credential exfiltration in git

    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 c…

References

  • report
    https://ubuntu.com/security/CVE-2024-50349
  • report
    https://ubuntu.com/security/CVE-2024-52006