GHSA-q6r2-x2cc-vrp7

Suggest an improvement
Source
https://github.com/advisories/GHSA-q6r2-x2cc-vrp7
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/01/GHSA-q6r2-x2cc-vrp7/GHSA-q6r2-x2cc-vrp7.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-q6r2-x2cc-vrp7
Aliases
Published
2025-01-14T21:20:42Z
Modified
2025-01-23T18:31:17Z
Severity
  • 8.5 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
Git LFS permits exfiltration of credentials via crafted HTTP URLs
Details

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

  • https://github.com/git-lfs/git-lfs/security/advisories/GHSA-q6r2-x2cc-vrp7
  • https://nvd.nist.gov/vuln/detail/CVE-2024-53263
  • https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-53263
  • https://github.com/git-lfs/git-lfs/releases/tag/v3.6.1
  • git-lfs/git-lfs@0345b6f816

For more information

If you have any questions or comments about this advisory: * For general questions, start a discussion in the Git LFS discussion forum. * For reports of additional vulnerabilities, please follow the Git LFS security reporting policy.

Database specific
{
    "nvd_published_at": "2025-01-14T20:15:28Z",
    "cwe_ids": [
        "CWE-436",
        "CWE-74"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2025-01-14T21:20:42Z"
}
References

Affected packages

Go / github.com/git-lfs/git-lfs

Package

Name
github.com/git-lfs/git-lfs
View open source insights on deps.dev
Purl
pkg:golang/github.com/git-lfs/git-lfs

Affected ranges

Type
SEMVER
Events
Introduced
0.1.0
Last affected
3.0.0

Go / github.com/git-lfs/git-lfs/v3

Package

Name
github.com/git-lfs/git-lfs/v3
View open source insights on deps.dev
Purl
pkg:golang/github.com/git-lfs/git-lfs/v3

Affected ranges

Type
SEMVER
Events
Introduced
3.0.0
Fixed
3.6.1

Database specific

{
    "last_known_affected_version_range": "<= 3.6.0"
}