CVE-2024-53263 Details
Description
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.
A vulnerability in Git Large File Storage (LFS) versions 0.1.0 prior to 3.6.0 allows for the retrieval of Git credentials through manipulated HTTP URLs. When Git LFS requests credentials from Git for a remote host, it inadvertently includes parts of the host's URL in the `git-credential` command without removing embedded line-ending control characters. This oversight enables attackers to insert URL-encoded control characters, such as line feed (LF) or carriage return (CR), into the URL, potentially leading to the extraction of a user's Git credentials. The issue arises because the Git credential helper cannot distinguish between legitimate line feed characters and those added by the URL encoding, causing a credential request to fail if a line feed is detected. This vulnerability is similar to a previously addressed issue in Git, indicating a common flaw in handling URL-encoded data.
Users should upgrade to Git LFS version 3.6.1 or later, where this vulnerability has been patched. Instructions for upgrading Git LFS can be found in the Git LFS release notes.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jan 14, 2025CISA-ADP
Assessed Jan 28, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://lists.debian.org/debian-lts-announce/2025/01/msg00022.html | CVE | AdvisoryMailing ListRemedyVendor |
| https://github.com/git-lfs/git-lfs/commit/0345b6f816e611d050c0df67b61f0022916a1c90 | [email protected] | Source CodeVendor |
| https://github.com/git-lfs/git-lfs/releases/tag/v3.6.1 | [email protected] | Release NotesVendor |
| https://github.com/git-lfs/git-lfs/security/advisories/GHSA-q6r2-x2cc-vrp7 | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Git LFS | >= 0.1.0, <= 3.6.0 (semver) |
CPE
Remediation
| |
| Debian | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 23, 2025 | CVE Modified | CVE |
| Jan 14, 2025 | New CVE Received | [email protected] |
Volerion