Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS1xNnIyLXgyY2MtdnJwN84ABDXJ

Git LFS permits exfiltration of credentials via crafted HTTP URLs

Impact

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.

Patches

This problem exists in all previous versions and is patched in v3.6.1. All users should upgrade to v3.6.1.

Workarounds

There are no workarounds known at this time.

References

For more information

If you have any questions or comments about this advisory:

Permalink: https://github.com/advisories/GHSA-q6r2-x2cc-vrp7
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1xNnIyLXgyY2MtdnJwN84ABDXJ
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: 15 days ago
Updated: 6 days ago


EPSS Percentage: 0.00045
EPSS Percentile: 0.17612

Identifiers: GHSA-q6r2-x2cc-vrp7, CVE-2024-53263
References: Repository: https://github.com/git-lfs/git-lfs
Blast Radius: 0.0

Affected Packages

go:github.com/git-lfs/git-lfs
Dependent packages: 5
Dependent repositories: 26
Downloads:
Affected Version Ranges: >= 0.1.0, <= 3.0.0
No known fixed version
All affected versions: 0.1.0, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6, 0.4.0, 0.4.1, 0.4.2, 0.5.0, 0.5.1, 0.5.2, 0.5.3, 0.5.4, 0.6.0, 1.0.0, 1.0.1, 1.0.2, 1.1.0, 1.1.1, 1.1.2, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.4.0, 1.4.1, 1.4.2, 1.4.3, 1.4.4, 1.5.0, 1.5.1, 1.5.2, 1.5.3, 1.5.4, 1.5.5, 1.5.6, 2.0.0, 2.0.1, 2.0.2, 2.1.0, 2.1.1, 2.2.0, 2.2.1, 2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4, 2.4.0, 2.4.1, 2.4.2, 2.5.0, 2.5.1, 2.5.2
go:github.com/git-lfs/git-lfs/v3
Dependent packages: 5
Dependent repositories: 15
Downloads:
Affected Version Ranges: >= 3.0.0, <= 3.6.0
Fixed in: 3.6.1
All affected versions: 3.0.0, 3.0.1, 3.0.2, 3.1.0, 3.1.1, 3.1.2, 3.1.3, 3.1.4, 3.2.0, 3.3.0, 3.4.0, 3.4.1, 3.5.0, 3.5.1, 3.6.0
All unaffected versions: 3.6.1