7.8
HIGH CVSS 3.1
CVE-2023-29011
Git for Windows's config file of `connect.exe` is susceptible to malicious placing
Description

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.

INFO

Published Date :

April 25, 2023, 9:15 p.m.

Last Modified :

Nov. 21, 2024, 7:56 a.m.

Remotely Exploit :

No
Affected Products

The following products are affected by CVE-2023-29011 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Git_for_windows_project git_for_windows
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH [email protected]
CVSS 3.1 HIGH [email protected]
Solution
This information is provided by the 3rd party feeds.
  • Microsoft has released the following security updates to address this issue: - Patch for the Update 5 for Visual Studio 2013 - Patch for the Update 3 for Visual Studio 2015 - Update 15.9.55 for Visual Studio 2017 - Update 16.11.27 for Visual Studio 2019 - Update 17.0.22 for Visual Studio 2022 - Update 17.2.16 for Visual Studio 2022 - Update 17.4.8 for Visual Studio 2022 - Update 17.6.3 for Visual Studio 2022
Public PoC/Exploit Available at Github

CVE-2023-29011 has a 6 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2023-29011.

URL Resource
https://github.com/git-for-windows/git/releases/tag/v2.40.1.windows.1 Release Notes
https://github.com/git-for-windows/git/security/advisories/GHSA-g4fv-xjqw-q7jm Vendor Advisory
https://github.com/git-for-windows/git/releases/tag/v2.40.1.windows.1 Release Notes
https://github.com/git-for-windows/git/security/advisories/GHSA-g4fv-xjqw-q7jm Vendor Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2023-29011 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2023-29011 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Updated: 2 weeks, 5 days ago
0 stars 0 fork 0 watcher
Born at : Aug. 18, 2025, 8:30 p.m. This repo has been linked 56 different CVEs too.

None

HTML

Updated: 4 weeks ago
0 stars 0 fork 0 watcher
Born at : Aug. 10, 2025, 11:47 a.m. This repo has been linked 56 different CVEs too.

None

HTML

Updated: 3 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : May 19, 2025, 6:19 p.m. This repo has been linked 49 different CVEs too.

None

HTML CSS

Updated: 5 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : March 3, 2025, 2:25 p.m. This repo has been linked 49 different CVEs too.

None

Updated: 8 months, 1 week ago
0 stars 0 fork 0 watcher
Born at : Dec. 24, 2024, 7:53 p.m. This repo has been linked 22 different CVEs too.

zomotoa food app

Updated: 2 years, 2 months ago
0 stars 0 fork 0 watcher
Born at : June 9, 2023, 7:24 a.m. This repo has been linked 39 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2023-29011 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-29011 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/git-for-windows/git/releases/tag/v2.40.1.windows.1
    Added Reference https://github.com/git-for-windows/git/security/advisories/GHSA-g4fv-xjqw-q7jm
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    May. 04, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/git-for-windows/git/releases/tag/v2.40.1.windows.1 No Types Assigned https://github.com/git-for-windows/git/releases/tag/v2.40.1.windows.1 Release Notes
    Changed Reference Type https://github.com/git-for-windows/git/security/advisories/GHSA-g4fv-xjqw-q7jm No Types Assigned https://github.com/git-for-windows/git/security/advisories/GHSA-g4fv-xjqw-q7jm Vendor Advisory
    Added CPE Configuration OR *cpe:2.3:a:git_for_windows_project:git_for_windows:*:*:*:*:*:*:*:* versions up to (excluding) 2.40.1
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 7.8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.08 }} 0.01%

score

0.24203

percentile