Git For Windows
Approved changes feed: RSS · Atom
cpe:2.3:a:git_for_windows_project:git_for_windows:*:*:*:*:*:*:*:*part: a version: * update: *
| Vendor | Git For Windows Project (ba19bc72-c508-5ae5-8bdf-0c98bbfffbf0) |
|---|---|
| Product | Git For Windows (48e488b1-1c8c-5b1f-9752-1c6bb1904bc2) |
| Edition | * |
| Language | * |
| Software edition | * |
| Target software | * |
| Target hardware | * |
| Other | * |
Notes
Imported from purl2cpe mapping
PURL mappings
| PURL | Source | Last updated |
|---|---|---|
pkg:github/git-for-windows/git |
purl2cpe | 2026-06-01 10:11:28.717232 |
pkg:github/git/git |
purl2cpe | 2026-06-01 10:11:28.717235 |
pkg:nuget/GitForWindows |
purl2cpe | 2026-06-01 10:11:28.717238 |
Vulnerability references
| Identifier | cpeApplicability | Submitted | db.gcve.eu details | Rationale |
|---|---|---|---|---|
CVE:CVE-2023-29012 |
vulnerable | 2026-06-08 06:02:37.926208 |
Git CMD erroneously executes `doskey.exe` in the current directory, if it exists
HIGH (7.3)
Git for Windows is the Windows port of Git. Prior to version 2.40.1, any user of Git CMD who starts the command in an untrusted directory is impacted by an Uncontrolles Search Path Element vulnerability. Maliciously-placed `doskey.exe` would be executed silently upon running Git CMD. The problem has been patched in Git for Windows v2.40.1. As a workaround, avoid using Git CMD or, if using Git CMD, avoid starting it in an untrusted directory.
Published: 2023-04-25T20:44:05.329Z
Updated: 2025-02-03T18:06:37.041Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2023-29011 |
vulnerable | 2026-06-08 06:02:37.925628 |
Git for Windows's config file of `connect.exe` is susceptible to malicious placing
HIGH (7.6)
Git for Windows, the Windows port of Git, ships with an executable called `connect.exe`, which implements a SOCKS5 proxy that can be used to connect e.g. to SSH servers via proxies when certain ports are blocked for outgoing connections. The location of `connect.exe`'s config file is hard-coded as `/etc/connectrc` which will typically be interpreted as `C:\etc\connectrc`. Since `C:\etc` can be created by any authenticated user, this makes `connect.exe` susceptible to malicious files being placed there by other users on the same multi-user machine. The problem has been patched in Git for Windows v2.40.1. As a workaround, create the folder `etc` on all drives where Git commands are run, and remove read/write access from those folders. Alternatively, watch out for malicious `<drive>:\etc\connectrc` files on multi-user machines.
Published: 2023-04-25T20:40:30.247Z
Updated: 2025-02-03T18:07:25.939Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2023-25815 |
vulnerable | 2026-06-08 05:56:10.663207 |
Git looks for localized messages in the wrong place
LOW (3.3)
In Git for Windows, the Windows port of Git, no localized messages are shipped with the installer. As a consequence, Git is expected not to localize messages at all, and skips the gettext initialization. However, due to a change in MINGW-packages, the `gettext()` function's implicit initialization no longer uses the runtime prefix but uses the hard-coded path `C:\mingw64\share\locale` to look for localized messages. And since any authenticated user has the permission to create folders in `C:\` (and since `C:\mingw64` does not typically exist), it is possible for low-privilege users to place fake messages in that location where `git.exe` will pick them up in version 2.40.1.
This vulnerability is relatively hard to exploit and requires social engineering. For example, a legitimate message at the end of a clone could be maliciously modified to ask the user to direct their web browser to a malicious website, and the user might think that the message comes from Git and is legitimate. It does require local write access by the attacker, though, which makes this attack vector less likely. Version 2.40.1 contains a patch for this issue. Some workarounds are available. Do not work on a Windows machine with shared accounts, or alternatively create a `C:\mingw64` folder and leave it empty. Users who have administrative rights may remove the permission to create folders in `C:\`.
Published: 2023-04-25T19:51:38.433Z
Updated: 2026-11-02T22:31:41.007Z Reference links
|
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2023-23618 |
vulnerable | 2026-06-08 05:56:03.955249 |
gitk can inadvertently call executables in the worktree
HIGH (8.6)
Git for Windows is the Windows port of the revision control system Git. Prior to Git for Windows version 2.39.2, when `gitk` is run on Windows, it potentially runs executables from the current directory inadvertently, which can be exploited with some social engineering to trick users into running untrusted code. A patch is available in version 2.39.2. As a workaround, avoid using `gitk` (or Git GUI's "Visualize History" functionality) in clones of untrusted repositories.
Published: 2023-02-14T20:38:04.921Z
Updated: 2025-03-10T21:11:24.730Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2023-22743 |
vulnerable | 2026-06-08 05:54:27.000799 |
Git for Windows' installer is susceptible to DLL side loading attacks
HIGH (7.3)
Git for Windows is the Windows port of the revision control system Git. Prior to Git for Windows version 2.39.2, by carefully crafting DLL and putting into a subdirectory of a specific name living next to the Git for Windows installer, Windows can be tricked into side-loading said DLL. This potentially allows users with local write access to place malicious payloads in a location where automated upgrades might run the Git for Windows installer with elevation. Version 2.39.2 contains a patch for this issue. Some workarounds are available. Never leave untrusted files in the Downloads folder or its sub-folders before executing the Git for Windows installer, or move the installer into a different directory before executing it.
Published: 2023-02-14T20:39:30.094Z
Updated: 2025-03-10T21:11:18.086Z Reference links
|
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2022-24767 |
vulnerable | 2026-06-08 05:41:01.588961 | db.gcve.eu details were skipped to keep the page responsive. | Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2016-9274 |
vulnerable | 2026-06-08 05:08:23.200073 | db.gcve.eu details were skipped to keep the page responsive. | Imported from gcve-enriched-dumps CVE data |
Contribute
You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.
Inspect record JSON
Open this panel to browse, search, copy or download the JSON record.