CVE-2024-53263 Git LFS permits exfiltration of credentials via crafted HTTP URLs
HighCVSS 8.5
EPSS 1.1%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| git-lfs github.com/git-lfs/git-lfs/v3(Go) | >= 0.1.0, <= 3.0.0 | No fix listed |
| git-lfs github.com/git-lfs/git-lfs/v3(Go) | >= 3.0.0, < 3.6.1 | 3.6.1 |
| git-lfs github.com/git-lfs/git-lfs/v3(Go) | >= 0.1.0 | No fix listed |
| cbl-mariner git-lfs(CBL-Mariner:2.0) | < 3.5.1-4 | 3.5.1-4 |
| azure linux git-lfs(Azure Linux:3.0) | < 3.6.1-1 | 3.6.1-1 |
| git-lfs github.com/git-lfs/git-lfs/v3(Go) | >= 3.0.0, <= 3.6.0 | No fix listed |
| debian/git-lfs(Debian:12) | < 3.3.0-1+deb12u1 | 3.3.0-1+deb12u1 |
| debian/git-lfs(Debian:12) | = 3.3.0-1 | No fix listed |
| debian/git-lfs(Debian:13) | < 3.5.0-2 | 3.5.0-2 |
| debian/git-lfs(Debian:14) | < 3.5.0-2 | 3.5.0-2 |
| ubuntu/git-lfs(Ubuntu:22.04) | < 3.0.2-1ubuntu0.3+esm2 | 3.0.2-1ubuntu0.3+esm2 |
| git-lfs github.com/git-lfs/git-lfs/v3 | = >= 0.1.0, < 3.6.1 | No fix listed |
| ubuntu/git-lfs(Ubuntu:24.04) | < 3.4.1-1ubuntu0.3+esm2 | 3.4.1-1ubuntu0.3+esm2 |
References
- https://github.com/git-lfs/git-lfs/security/advisories/GHSA-q6r2-x2cc-vrp7 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/git-lfs/git-lfs/commit/0345b6f816e611d050c0df67b61f0022916a1c90 patch
- github.com product
- https://github.com/git-lfs/git-lfs/releases/tag/v3.6.1
- lists.debian.org
- pkg.go.dev
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- github.com
- Debian Security Tracker CVE-2024-53263 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-7977-1 vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking