CVE-2024-53263

Published Jan 14, 2025

Last updated a month ago

Overview

AI description

Generated using AI and has not been reviewed by Intruder. May contain errors.

CVE-2024-53263 is a vulnerability found in Git Large File Storage (LFS), a Git extension used for managing large files within repositories. The vulnerability stems from how Git LFS handles URLs when requesting credentials. Specifically, it fails to check for embedded line-ending control characters (like line feed or carriage return) in the URLs passed to the `git-credential` command. This oversight allows attackers to craft malicious URLs containing these encoded control characters. When Git LFS subsequently sends credentials received from the helper back to the remote host, these manipulated URLs can enable an attacker to capture the user's Git credentials. Git LFS versions prior to v3.6.1 are susceptible to this vulnerability. Users are strongly encouraged to upgrade to the patched version (v3.6.1) to mitigate the risk of credential theft. Currently, there are no known workarounds for this vulnerability other than updating to the latest version. This vulnerability allows attackers to potentially gain unauthorized access to sensitive data and disrupt services that rely on Git LFS for file management.

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
security-advisories@github.com
NVD status
Awaiting Analysis

Risk scores

CVSS 4.0

Type
Secondary
Base score
8.5
Impact score
-
Exploitability score
-
Vector string
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Severity
HIGH

Weaknesses

security-advisories@github.com
CWE-74

Social media

Hype score
Not currently trending