{"schema_version":"1.7.3","id":"GHSA-q6r2-x2cc-vrp7","published":"2025-01-14T21:20:42Z","modified":"2025-01-23T18:31:17Z","aliases":["BIT-git-lfs-2024-53263","CVE-2024-53263","GO-2025-3390"],"summary":"Git LFS permits exfiltration of credentials via crafted HTTP URLs","details":"### Impact\n\nWhen 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.\n\n### Patches\n\nThis problem exists in all previous versions and is patched in v3.6.1.  All users should upgrade to v3.6.1.\n\n### Workarounds\n\nThere are no workarounds known at this time.\n\n### References\n\n* https://github.com/git-lfs/git-lfs/security/advisories/GHSA-q6r2-x2cc-vrp7\n* https://nvd.nist.gov/vuln/detail/CVE-2024-53263\n* https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-53263\n* https://github.com/git-lfs/git-lfs/releases/tag/v3.6.1\n* [git-lfs/git-lfs@0345b6f816](https://github.com/git-lfs/git-lfs/commit/0345b6f816e611d050c0df67b61f0022916a1c90)\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n* For general questions, start a discussion in the Git LFS [discussion forum](https://github.com/git-lfs/git-lfs/discussions).\n* For reports of additional vulnerabilities, please follow the Git LFS [security reporting policy](https://github.com/git-lfs/git-lfs/blob/main/SECURITY.md).","affected":[{"package":{"name":"github.com/git-lfs/git-lfs","ecosystem":"Go","purl":"pkg:golang/github.com/git-lfs/git-lfs"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.1.0"},{"last_affected":"3.0.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/01/GHSA-q6r2-x2cc-vrp7/GHSA-q6r2-x2cc-vrp7.json"}},{"package":{"name":"github.com/git-lfs/git-lfs/v3","ecosystem":"Go","purl":"pkg:golang/github.com/git-lfs/git-lfs/v3"},"ranges":[{"type":"SEMVER","events":[{"introduced":"3.0.0"},{"fixed":"3.6.1"}]}],"database_specific":{"last_known_affected_version_range":"<= 3.6.0","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/01/GHSA-q6r2-x2cc-vrp7/GHSA-q6r2-x2cc-vrp7.json"}}],"references":[{"type":"WEB","url":"https://github.com/git-lfs/git-lfs/security/advisories/GHSA-q6r2-x2cc-vrp7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-53263"},{"type":"WEB","url":"https://github.com/git-lfs/git-lfs/commit/0345b6f816e611d050c0df67b61f0022916a1c90"},{"type":"PACKAGE","url":"https://github.com/git-lfs/git-lfs"},{"type":"WEB","url":"https://github.com/git-lfs/git-lfs/releases/tag/v3.6.1"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00022.html"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2025-3390"}],"database_specific":{"cwe_ids":["CWE-436","CWE-74"],"github_reviewed":true,"github_reviewed_at":"2025-01-14T21:20:42Z","nvd_published_at":"2025-01-14T20:15:28Z","severity":"HIGH"},"severity":[{"type":"CVSS_V4","score":"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"}]}