Ubuntu CVE Tracker
UBUNTU-CVE-2024-53263
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:18.04:LTS | git-lfs | All versions before 2.3.4-1ubuntu0.1~esm1 (fixed in 2.3.4-1ubuntu0.1~esm1) |
| Ubuntu:Pro:20.04:LTS | git-lfs | All versions before 2.9.2-1ubuntu0.1~esm2 (fixed in 2.9.2-1ubuntu0.1~esm2) |
| Ubuntu:Pro:22.04:LTS | git-lfs | All versions before 3.0.2-1ubuntu0.3+esm2 (fixed in 3.0.2-1ubuntu0.3+esm2) |
| Ubuntu:Pro:24.04:LTS | git-lfs | All versions before 3.4.1-1ubuntu0.3+esm2 (fixed in 3.4.1-1ubuntu0.3+esm2) |
References
- https://ubuntu.com/security/CVE-2024-53263
- https://www.cve.org/CVERecord?id=CVE-2024-53263
- https://github.com/git-lfs/git-lfs/security/advisories/GHSA-q6r2-x2cc-vrp7
- https://github.com/git-lfs/git-lfs/commit/0345b6f816e611d050c0df67b61f0022916a1c90
- https://github.com/git-lfs/git-lfs/commit/44236960abcebdcc5889d8814e274fbe66d0f4e1
- https://github.com/git-lfs/git-lfs/releases/tag/v3.6.1
- https://ubuntu.com/security/notices/USN-7977-1