Arbitrary Code Injection Affecting git-lfs package, versions <0:3.4.0-78.amzn2023.0.4


Severity

Recommended
0.0
high
0
10

Based on Amazon 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-AMZN2023-GITLFS-8742254
  • published22 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 Amazon-Linux:2023 git-lfs to version 0:3.4.0-78.amzn2023.0.4 or higher.
This issue was patched in ALAS2023-2025-851.

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