#VU102873 Input validation error in git-lfs - CVE-2024-53263


Vulnerability identifier: #VU102873

Vulnerability risk: Medium

CVSSv4.0: 6.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2024-53263

CWE-ID: CWE-20

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
git-lfs
Other software / Other software solutions

Vendor: Git LFS

Description

The vulnerability allows a remote attacker to gain access to sensitive information.

The vulnerability exists due to insufficient validation of CR/LF characters in URLs. 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 A remote attacker can pass specially crafted URL to the application and obtain credentials.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

git-lfs: 0.1.0 - 3.6.0


External links
https://github.com/git-lfs/git-lfs/security/advisories/GHSA-q6r2-x2cc-vrp7


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability