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


Severity

Recommended
high

Based on Oracle Linux security rating.

Threat Intelligence

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-ORACLE9-GITLFS-8661525
  • published25 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?

Upgrade Oracle:9 git-lfs to version 0:3.4.1-4.el9_5 or higher.
This issue was patched in ELSA-2025-0673.

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 Oracle. See How to fix? for Oracle: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