cve.bz

CVE-2024-53263 (Clone2Leak) git-lfs git-lfs: Injection

8.5 highEPSS 1.1%Fix available

Known as Clone2Leak

High (8.5) in git-lfs git-lfs. EPSS 1.1% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/git-lfs/git-lfs/v3 3.6.1.

On this page
Git LFS is a Git extension for versioning large files. When Git LFS requests credentials from Git for a remote host, it passes portions of the host's URL to the `git-credential(1)` command without checking for embedded line-ending control characters, and then sends any credentials it receives back from the Git credential helper to the remote host. By inserting URL-encoded control characters such as line feed (LF) or carriage return (CR) characters into the URL, an attacker may be able to retrieve a user's Git credentials. This problem exists in all previous versions and is patched in v3.6.1. All users should upgrade to v3.6.1. There are no workarounds known at this time.

Severity

CVSS 4.0

8.5 high
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
EPSS
1.1% (unchanged from 1.1% a week ago; 1.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 65th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2025-01-28. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component (Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-53263 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-53263?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-53263?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-53263 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
git-lfs>= 0.1.0, < 3.6.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-q6r2-x2cc-vrp7Gogithub.com/git-lfs/git-lfs>=0.1.0 <=3.0.0no fix published
GHSA-q6r2-x2cc-vrp7Gogithub.com/git-lfs/git-lfs/v3>=3.0.0 <3.6.13.6.1
GO-2025-3390Gogithub.com/git-lfs/git-lfs>=0.1.0no fix published
GO-2025-3390Gogithub.com/git-lfs/git-lfs/v3>=3.0.0 <3.6.13.6.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11git-lfs2.13.2-1+deb11u1DLA-4028-1
Debian12git-lfs3.3.0-1+deb12u1DEBIAN-CVE-2024-53263 DSA-5849-1
Debian13, 14git-lfs3.5.0-2DEBIAN-CVE-2024-53263
Ubuntu25.10git-lfs3.6.1-1ubuntu0.1USN-7977-1
UbuntuPro:18.04:LTSgit-lfs2.3.4-1ubuntu0.1~esm1UBUNTU-CVE-2024-53263 USN-7977-1
UbuntuPro:20.04:LTSgit-lfs2.9.2-1ubuntu0.1~esm2UBUNTU-CVE-2024-53263 USN-7977-1
UbuntuPro:22.04:LTSgit-lfs3.0.2-1ubuntu0.3+esm2UBUNTU-CVE-2024-53263 USN-7977-1
UbuntuPro:24.04:LTSgit-lfs3.4.1-1ubuntu0.3+esm2UBUNTU-CVE-2024-53263 USN-7977-1
Red Hatenterprise_linux:8::appstreamgit-lfs, git-lfs-debuginfo, git-lfs-debugsource0:3.4.1-4.el8_10RHSA-2025:0845
Red Hatenterprise_linux:9::appstreamgit-lfs, git-lfs-debuginfo, git-lfs-debugsource0:3.4.1-4.el9_5RHSA-2025:0673
Red Hatrhel_aus:8.4::appstream, rhel_e4s:8.4::appstream, rhel_tus:8.4::appstreamgit-lfs, git-lfs-debuginfo, git-lfs-debugsource0:2.13.3-3.el8_4.1RHSA-2025:0825
Red Hatrhel_aus:8.6::appstream, rhel_e4s:8.6::appstream, rhel_tus:8.6::appstreamgit-lfs, git-lfs-debuginfo, git-lfs-debugsource0:2.13.3-3.el8_6.3RHSA-2025:0765
Red Hatrhel_e4s:9.0::appstreamgit-lfs, git-lfs-debuginfo, git-lfs-debugsource0:2.13.3-5.el9_0.3RHSA-2025:0758
Red Hatrhel_eus:8.8::appstreamgit-lfs, git-lfs-debuginfo, git-lfs-debugsource0:3.2.0-2.el8_8.3RHSA-2025:0762
Red Hatrhel_eus:9.2::appstreamgit-lfs, git-lfs-debuginfo, git-lfs-debugsource0:3.2.0-2.el9_2.2RHSA-2025:0757
Red Hatrhel_eus:9.4::appstreamgit-lfs, git-lfs-debuginfo, git-lfs-debugsource0:3.4.1-4.el9_4.1RHSA-2025:0759
SUSELinux Enterprise Module for Package Hub 15 SP6govulncheck-vulndb0.0.20250128T150132-150000.1.29.1SUSE-SU-2025:0297-1
SUSEPackage Hub 15 SP6git-lfs3.6.1-bp156.2.3.1openSUSE-SU-2025:0153-1
openSUSELeap 15.6git-lfs3.6.1-bp156.2.3.1openSUSE-SU-2025:0153-1
openSUSELeap 15.6govulncheck-vulndb0.0.20250128T150132-150000.1.29.1SUSE-SU-2025:0297-1
openSUSETumbleweedgit-lfs3.6.1-1.1openSUSE-SU-2025:14649-1
openSUSETumbleweedgovulncheck-vulndb0.0.20250115T172141-1.1openSUSE-SU-2025:14653-1
AlmaLinux8git-lfs3.4.1-4.el8_10ALSA-2025:0845
AlmaLinux9git-lfs3.4.1-4.el9_5ALSA-2025:0673
Rocky Linux8git-lfs0:3.4.1-4.el8_10RLSA-2025:0845
Rocky Linux9git-lfs0:3.4.1-4.el9_4RLSA-2025:0673
Azure Linux2git-lfs3.5.1-4AZL-55644
Azure Linux3git-lfs3.6.1-1AZL-55670

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability in Git LFS is important rather than moderate because it directly impacts the security of credential handling, a core aspect of repository access control. By allowing an attacker to inject line-ending control characters, such as LF or CR, into URLs passed to the `git-credential` command, it bypasses a fundamental trust boundary between Git and the credential helper. This issue could enable attackers to intercept or exfiltrate user credentials, granting unauthorized access to repositories, including private and sensitive data.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8git-lfs-0:3.4.1-4.el8_10Fixed 2025-01-30RHSA-2025:0845
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportgit-lfs-0:2.13.3-3.el8_4.1Fixed 2025-01-30RHSA-2025:0825
Red Hat Enterprise Linux 8.4 Telecommunications Update Servicegit-lfs-0:2.13.3-3.el8_4.1Fixed 2025-01-30RHSA-2025:0825
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutionsgit-lfs-0:2.13.3-3.el8_4.1Fixed 2025-01-30RHSA-2025:0825
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportgit-lfs-0:2.13.3-3.el8_6.3Fixed 2025-01-28RHSA-2025:0765
Red Hat Enterprise Linux 8.6 Telecommunications Update Servicegit-lfs-0:2.13.3-3.el8_6.3Fixed 2025-01-28RHSA-2025:0765
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionsgit-lfs-0:2.13.3-3.el8_6.3Fixed 2025-01-28RHSA-2025:0765
Red Hat Enterprise Linux 8.8 Extended Update Supportgit-lfs-0:3.2.0-2.el8_8.3Fixed 2025-01-28RHSA-2025:0762
Red Hat Enterprise Linux 9git-lfs-0:3.4.1-4.el9_5Fixed 2025-01-23RHSA-2025:0673
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionsgit-lfs-0:2.13.3-5.el9_0.3Fixed 2025-01-28RHSA-2025:0758
Red Hat Enterprise Linux 9.2 Extended Update Supportgit-lfs-0:3.2.0-2.el9_2.2Fixed 2025-01-28RHSA-2025:0757
Red Hat Enterprise Linux 9.4 Extended Update Supportgit-lfs-0:3.4.1-4.el9_4.1Fixed 2025-01-28RHSA-2025:0759
Red Hat Enterprise Linux 10git-lfsNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-53263.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-74 (37).

References

Check your stackJSON