Arbitrary Code Injection Affecting git-lfs-debugsource package, versions <0:3.4.1-4.el9_4


Severity

Recommended
high

Based on Rocky Linux security rating.

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.05% (18th percentile)

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-ROCKY9-GITLFSDEBUGSOURCE-8721646
  • published14 Feb 2025
  • disclosed14 Jan 2025

Introduced: 14 Jan 2025

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

How to fix?

Upgrade Rocky-Linux:9 git-lfs-debugsource to version 0:3.4.1-4.el9_4 or higher.
This issue was patched in RLSA-2025:0673.

NVD Description

Note: Versions mentioned in the description apply only to the upstream git-lfs-debugsource package and not the git-lfs-debugsource package as distributed by Rocky-Linux. See How to fix? for Rocky-Linux:9 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