CVE-2024-53263: Github.com/git lfs/git lfs Git LFS Permits Exfiltration Of Vulnerability
HIGHCVE-2024-53263 is a HIGH git lfs permits exfiltration of vulnerability (CWE-436: Interpretation Conflict) affecting Github.com/git lfs/git lfs libraries in the Go ecosystem. The issue involves git lfs permits exfiltration of credentials via crafted http urls. Remediation is available by upgrading affected packages to version 3.6.1.
CVE-2024-53263 at a Glance
How to Fix CVE-2024-53263
To remediate this vulnerability, upgrade all affected Github.com/git lfs/git lfs dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/git-lfs/git-lfs to Latest secure release
Upgrade github.com/git-lfs/git-lfs/v3 to 3.6.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/git-lfs/git-lfs
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-53263, inspect your project dependencies for Github.com/git lfs/git lfs:
inspect dependencies for github.com/git-lfs/git-lfs
Analyze the terminal output to locate any version of Github.com/git lfs/git lfs in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.6.1), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-436: Interpretation Conflict, where product a handles inputs or steps differently than product b, which causes a to perform incorrect actions based on its perception of b's state. In Github.com/git lfs/git lfs, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-53263 Affected Github.com/git lfs/git lfs Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/git-lfs/git-lfs
|
Go |
≥ 0.1.0
≤ 3.0.0
|
|
|
github.com/git-lfs/git-lfs/v3
|
Go |
≥ 3.0.0
< 3.6.1
|
3.6.1
|
References
Frequently Asked Questions
What is CVE-2024-53263?
Which Github.com/git lfs/git lfs versions are affected?
What version fixes CVE-2024-53263?
Is github.com/git-lfs/git-lfs affected?
Is github.com/git-lfs/git-lfs/v3 affected?
What CWE is associated with CVE-2024-53263?
How can I check Go dependencies for CVE-2024-53263?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-q6r2-x2cc-vrp7",
"modified" : "2025-01-23T18:31:17Z",
"published" : "2025-01-14T21:20:42Z",
"aliases" : [ "CVE-2024-53263" ],
"summary" : "Git LFS permits exfiltration of credentials via crafted HTTP URLs",
"details" : "### Impact\n\nWhen 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.\n\n### Patches\n\nThis problem exists in all previous versions and is patched in v3.6.1. All users should upgrade to v3.6.1.\n\n### Workarounds\n\nThere are no workarounds known at this time.\n\n### References\n\n* https://github.com/git-lfs/git-lfs/security/advisories/GHSA-q6r2-x2cc-vrp7\n* https://nvd.nist.gov/vuln/detail/CVE-2024-53263\n* https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-53263\n* https://github.com/git-lfs/git-lfs/releases/tag/v3.6.1\n* [git-lfs/git-lfs@0345b6f816](https://github.com/git-lfs/git-lfs/commit/0345b6f816e611d050c0df67b61f0022916a1c90)\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n* For general questions, start a discussion in the Git LFS [discussion forum](https://github.com/git-lfs/git-lfs/discussions).\n* For reports of additional vulnerabilities, please follow the Git LFS [security reporting policy](https://github.com/git-lfs/git-lfs/blob/main/SECURITY.md).",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/git-lfs/git-lfs"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.1.0"
}, {
"last_affected" : "3.0.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/git-lfs/git-lfs/v3"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.0.0"
}, {
"fixed" : "3.6.1"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 3.6.0"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/git-lfs/git-lfs/security/advisories/GHSA-q6r2-x2cc-vrp7"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-53263"
}, {
"type" : "WEB",
"url" : "https://github.com/git-lfs/git-lfs/commit/0345b6f816e611d050c0df67b61f0022916a1c90"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/git-lfs/git-lfs"
}, {
"type" : "WEB",
"url" : "https://github.com/git-lfs/git-lfs/releases/tag/v3.6.1"
}, {
"type" : "WEB",
"url" : "https://lists.debian.org/debian-lts-announce/2025/01/msg00022.html"
}, {
"type" : "WEB",
"url" : "https://pkg.go.dev/vuln/GO-2025-3390"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-436", "CWE-74" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-01-14T21:20:42Z",
"nvd_published_at" : "2025-01-14T20:15:28Z"
}
}