CVE-2023-29011
highpriority · track · 31EPSS 0.004 · 32 %ileDEEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (44)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2023-1072git: Mehrere SchwachstellenDeutsch2023-04-25csaf · cert_bundDE
Ein Angreifer kann mehrere Schwachstellen in git ausnutzen, um Sicherheitsvorkehrungen zu umgehen, Daten zu manipulieren und seine Privilegien zu erweitern.
- WID-SEC-W-2023-1446Microsoft Developer Tools: Mehrere SchwachstellenDeutsch2023-06-13csaf · cert_bundDE
Ein entfernter, anonymer, authentisierter oder lokaler Angreifer kann mehrere Schwachstellen in Microsoft .NET Framework, Microsoft Azure DevOps Server, Microsoft NuGet, Microsoft Visual Studio und Microsoft Visual Studio Code ausnutzen, um beliebigen Code auszuführen, vertrauliche Informationen offenzulegen, einen Denial-of-Service-Zustand herbeizuführen, seine Rechte zu erweitern und Daten zu manipulieren.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (9)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2023-29011/cnnvd
- https://github.com/git-for-windows/git/releases/tag/v2.40.1.windows.1cnnvd
- https://github.com/git-for-windows/git/security/advisories/GHSA-g4fv-xjqw-q7jmcnnvd
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-29011cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2023-29011cnnvd
- https://github.com/git-for-windows/git/releases/tag/v2.40.1.windows.1enisa_euvd
- https://github.com/git-for-windows/git/security/advisories/GHSA-g4fv-xjqw-q7jmenisa_euvd
- https://github.com/git-for-windows/git/releases/tag/v2.40.1.windows.1Release Notesnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan