8000 Release Git for Windows 2.49.1 · git-for-windows/git · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Git for Windows 2.49.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@gitforwindowshelper gitforwindowshelper released this 08 Jul 17:52
v2.49.1.windows.1

Changes since Git for Windows v2.49.0 (March 17th 2025)

This is a security fix release, addressing CVE-2024-50349, CVE-2024-52006, CVE-2025-27613, CVE-2025-27614, CVE-2025-46334, CVE-2025-46835, CVE-2025-48384, CVE-2025-48385, and CVE-2025-48386.

New Features

Bug Fixes

  • CVE-2025-27613, Gitk: When a user clones an untrusted repository and runs Gitk without additional command arguments, any writable file can be created and truncated. The option "Support per-file encoding" must have been enabled. The operation "Show origin of this line" is affected as well, regardless of the option being enabled or not.
  • CVE-2025-27614, Gitk: A Git repository can be crafted in such a way that a user who has cloned the repository can be tricked into running any script supplied by the attacker by invoking gitk filename, where filename has a particular structure.
  • CVE-2025-46334, Git GUI (Windows only): A malicious repository can ship versions of sh.exe or typical textconv filter programs such as astextplain. On Windows, path lookup can find such executables in the worktree. These programs are invoked when the user selects "Git Bash" or "Browse Files" from the menu.
  • CVE-2025-46835, Git GUI: When a user clones an untrusted repository and is tricked into editing a file located in a maliciously named directory in the repository, then Git GUI can create and overwrite any writable file.
  • CVE-2025-48384, Git: When reading a config value, Git strips any trailing carriage return and line feed (CRLF). When writing a config entry, values with a trailing CR are not quoted, causing the CR to be lost when the config is later read. When initializing a submodule, if the submodule path contains a trailing CR, the altered path is read resulting in the submodule being checked out to an incorrect location. If a symlink exists that points the altered path to the submodule hooks directory, and the submodule contains an executable post-checkout hook, the script may be unintentionally executed after checkout.
  • CVE-2025-48385, Git: When cloning a repository Git knows to optionally fetch a bundle advertised by the remote server, which allows the server-side to offload parts of the clone to a CDN. The Git client does not perform sufficient validation of the advertised bundles, which allows the remote side to perform protocol injection. This protocol injection can cause the client to write the fetched bundle to a location controlled by the adversary. The fetched content is fully controlled by the server, which can in the worst case lead to arbitrary code execution.
  • CVE-2025-48386, Git: The wincred credential helper uses a static buffer (target) as a unique key for storing and comparing against internal storage. This credential helper does not properly bounds check the available space remaining in the buffer before appending to it with wcsncat(), leading to potential buffer overflows.
Filename SHA-256
Git-2.49.1-64-bit.exe 887015706520687bbeecad5de0b651f28dd5b5019d4ad7d698cdc9a33e7c60c3
Git-2.49.1-arm64.exe 4a57dd0af4d6abb3eb8b66393048372a86283925ae95e9be057338b23d9f1d22
PortableGit-2.49.1-64-bit.7z.exe 643def94eaa15215ebe1018804d2ac3a458e80a2fc27aef6e5139411728f3a7d
PortableGit-2.49.1-arm64.7z.exe b6e9dc984e9b8c32ad9a5bb801f6909cae2825052b9b0120dc1b130abe07ffdc
MinGit-2.49.1-64-bit.zip 3934292e3467ef4402770a966190112950203b4f3be6d58c37e80bd85bce8ee9
MinGit-2.49.1-arm64.zip 2c18f00ee5cc01222035a283e314244e38c3ec285cded76817ca2f7572b83992
MinGit-2.49.1-32-bit.zip d73eddfeca821dd7a55309281f2ee9ea06b5ebec6dc89c6394e977a07901744a
MinGit-2.49.1-busybox-64-bit.zip 1e8ea4d43534229ee11a2fba2cc218dae3182d832766f6df93fcfc1808962ff4
MinGit-2.49.1-busybox-32-bit.zip 1dcedac61666640f2fa87ec5462a299e35c325bb8a2b4dc25fc9fac1637dcb9c
Git-2.49.1-64-bit.tar.bz2 2ce022aa1bb833c515b79c52426f3e7a5e8692fab3a2af7eeb9f4062aa70d7b2
Git-2.49.1-arm64.tar.bz2 583dfbec6084d9069ff90424b1cdcf3fcc29af8140400c15867990293e74d6c5
0