Arbitrary Code Injection Affecting git-lfs package, versions *


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIANUNSTABLE-GITLFS-8622735
  • published15 Jan 2025
  • disclosed14 Jan 2025

Introduced: 14 Jan 2025

NewCVE-2024-53263  (opens in a new tab)
CWE-74  (opens in a new tab)

How to fix?

There is no fixed version for Debian:unstable git-lfs.

NVD Description

Note: Versions mentioned in the description apply only to the upstream git-lfs package and not the git-lfs package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

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.

CVSS Scores

version 3.1