Lack of data validation In git-lfs
Description
Git LFS permits exfiltration of credentials via crafted HTTP URLs
Impact
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.
Patches
This problem exists in all previous versions and is patched in v3.6.1. All users should upgrade to v3.6.1.
Workarounds
There are no workarounds known at this time.
References
https://github.com/git-lfs/git-lfs/security/advisories/GHSA-q6r2-x2cc-vrp7
https://nvd.nist.gov/vuln/detail/CVE-2024-53263
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-53263
For more information
If you have any questions or comments about this advisory:
For general questions, start a discussion in the Git LFS discussion forum.
For reports of additional vulnerabilities, please follow the Git LFS security reporting policy.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Package | Affected version | Patched versions |
|---|---|---|---|
debian 11 | 2.13.2-1+deb11u1 | ||
debian 14 | 3.5.0-2 | ||
go | 3.6.1 | ||
go | - | ||
debian 12 | 3.3.0-1+deb12u1 | ||
debian 13 | 3.5.0-2 | ||
rpm rhel8.8 | 0:3.2.0-2.el8_8.3 | ||
rpm rhel8 | 0:3.4.1-4.el8_10 | ||
rpm rhel9 | 0:3.4.1-4.el9_5 | ||
rpm rhel9.2 | 0:3.2.0-2.el9_2.2 |
1-10 of 11
10
Aliases
References