CVE-2024-53263
git-lfs: Git LFS permits exfiltration of credentials via crafted HTTP URLs
Overview
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.
Source: OX vulnerability database
Severity
8.1 · HIGH
CVSS 3.1 base score, scored by redhat.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Weakness: CWE-74
Affected packages · 3
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | git-lfs | >=0.1.0, <3.6.1 | 3.6.1 |
| Go | github.com/git-lfs/git-lfs | >=0.1.0, <=3.0.0 | No fix yet |
| Go | github.com/git-lfs/git-lfs/v3 | >=3.0.0, <3.6.1 | 3.6.1 |
Open a package to see all its vulnerabilities.
Operating systems · 29 fixes
Azure Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | git-lfs | 0:3.6.1-1.azl3 |
Oracle Linux 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 8 | git-lfs | 3.4.1-4.el8_10 |
| 9 | git-lfs | 3.4.1-4.el9_5 |
Photon OS 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | git-lfs | 3.2.0-9.ph4 |
| 5.0 | git-lfs | 3.2.0-15.ph5 |
Red Hat 2 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 8 | git-lfs | 0:2.13.3-3.el8_4.1 | RHSA-2025:0825 |
| 8 | git-lfs | 0:2.13.3-3.el8_6.3 | RHSA-2025:0765 |
| 8 | git-lfs | 0:3.2.0-2.el8_8.3 | RHSA-2025:0762 |
| 8 | git-lfs | 0:3.4.1-4.el8_10 | RHSA-2025:0845 |
| 9 | git-lfs | 0:2.13.3-5.el9_0.3 | RHSA-2025:0758 |
| 9 | git-lfs | 0:3.2.0-2.el9_2.2 | RHSA-2025:0757 |
2 more rows
alma 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 8 | git-lfs | 3.4.1-4.el8_10 |
| 9 | git-lfs | 3.4.1-4.el9_5 |
amazon linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 2023 | git-lfs +2 | 3.4.0-78.amzn2023.0.4 |
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | git-lfs | 2.13.2-1+deb11u1 |
| 12 | git-lfs | 3.3.0-1+deb12u1 |
| 13 | git-lfs | 3.5.0-2 |
| 14 | git-lfs | 3.5.0-2 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| git-lfs | 3.5.0-2 |
openSUSE 1 release · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | govulncheck-vulndb | 0.0.20250115T172141-1.1 | openSUSE-SU-2025:14653-1 |
| Tumbleweed | git-lfs | 3.6.1-1.1 | openSUSE-SU-2025:14649-1 |
rocky 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 8 | git-lfs | 3.4.1-4.el8_10 |
| 9 | git-lfs | 3.4.1-4.el9_4 |
ubuntu 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | git-lfs | 2.3.4-1ubuntu0.1~esm1 |
| 20.04-ESM | git-lfs | 2.9.2-1ubuntu0.1~esm2 |
| 22.04 | git-lfs | affected |
| 24.04 | git-lfs | affected |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2025:0673
- access.redhat.com https://access.redhat.com/errata/RHSA-2025:0845
- access.redhat.com https://access.redhat.com/security/cve/CVE-2024-53263
- bugzilla.redhat.com https://bugzilla.redhat.com/2338002
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2338002
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-53263
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2025-0673.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2025:0845
- github.com https://github.com/git-lfs/git-lfs
Show all 21 references
- github.com https://github.com/git-lfs/git-lfs/commit/0345b6f816e611d050c0df67b61f0022916a1c90
- github.com https://github.com/git-lfs/git-lfs/commit/44236960abcebdcc5889d8814e274fbe66d0f4e1
- github.com https://github.com/git-lfs/git-lfs/releases/tag/v3.6.1
- github.com https://github.com/git-lfs/git-lfs/security/advisories/GHSA-q6r2-x2cc-vrp7
- linux.oracle.com https://linux.oracle.com/cve/CVE-2024-53263.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2025-0845.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2025/01/msg00022.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2024-53263
- pkg.go.dev https://pkg.go.dev/vuln/GO-2025-3390
- ubuntu.com https://ubuntu.com/security/notices/USN-7977-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2024-53263
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.