Git
Git for Windows: Server-advertised bundle-uri can trigger outbound SMB callbacks via UNC and file:// paths on Windows
Git for Windows is the Windows port of Git. Prior to 2.55.0.windows.4, a malicious remote Git server can advertise a bundle URI that reaches transport_get_remote_bundle_uri(), fetch_bundle_uri_internal(), and copy_uri_to_file() in bundle-uri.c during clone or fetch when transfer.bundleuri=true. Non-HTTP(S) values are treated as local filesystem paths, and file URI prefixes are removed, so a bare UNC path or file URI targeting an attacker-controlled share causes Windows to initiate an outbound SMB connection. This can expose NTLM authentication material to the attacker-selected host. This issue is fixed in version 2.55.0.windows.4.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 2.55.0.windows.4
Fixed in 2.55.0.windows.4
Mitigation
Upgrade git to 2.55.0.windows.4 or later.
References
- Vendor advisory github.com/git-for-windows/git/security/adviso…
- Patch github.com/git-for-windows/git/commit/a9352474…
- Release notes github.com/git-for-windows/git/releases/tag/v2…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.