BlackTreeCVE Intelligence
← Back to the CVE catalogue
Full vulnerability report · 2023
CVE-2023-29011High confidence

Git for Windows's config file of `connect.exe` is susceptible to malicious placing

git-for-windows · git

Official source article: GitHub GHSA-G4FV-XJQW-Q7JM ↗. Check the applicable product and release in the original source.

7.6HighCVSS 3.1
Recommended action
Within 7 days

High technical severity; prioritise exposed affected systems while verifying vendor guidance.

Fix not verified
R
Operational reassessment

Published severity in operational context

Open reassessment dashboard →
Published severityHighOperational priority:Medium, lowered one band.downgradedsince 3 Feb 2025

Evidence used

  • No CISA KEV confirmation is currently recorded.
  • Exploitation requires an existing local or physical foothold with privileges.
  • EPSS is 0.38% for the current model date.

Compensating controls

  • Restrict local access and enforce least privilege on affected hosts.
  • Monitor vendor guidance and exploitation sources for a material change.

Verification

  1. Confirm that the asset runs git-for-windows git and falls inside the recorded affected range.
  2. Recheck the vendor advisory before scheduling a change because no verified fixed version is currently retained.
  3. Validate exposure, authentication requirements and compensating controls in the actual environment.
  4. Reopen this reassessment when CVSS, KEV, EPSS, exploit evidence or remediation changes.
Mitigation target: As exposure requiresRemediation target: Within 365 days

This automated reassessment organises public evidence. It does not know asset exposure, business impact or control effectiveness and does not replace CVSS or a human risk decision.

Optional official sources

National CERT insights
?CERT means Computer Emergency Response Team; CSIRT is the closely related term Computer Security Incident Response Team.

Choose official national sources for this report. Each advisory shows its original language. Your selection is remembered on this device and included in shared links.

Official European source

ENISA European Vulnerability Database

Official EUVD identifiers, advisory evidence and known-exploited context. Missing fields are not treated as evidence of low risk.

1 current
ENISA EUVD identifier

EUVD-2023-32624

No EUVD known-exploited evidence

ENISA has published the identifier mapping but no EUVD description has been stored yet.

EUVD state
Present in the current official mapping
Known exploitation
Not present in the current ENISA EUVD known-exploited dataset. This is not proof of no exploitation.
ENISA score
Not supplied in the stored EUVD record
Advisory evidence
No linked advisory details stored yet
Recommended actionWithin 7 days

High technical severity; prioritise exposed affected systems while verifying vendor guidance.

Fix not verified
01

What, why and how

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.

What

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.

Why

The product uses a fixed or controlled search path to find resources, but one or more locations in that path can be under the control of unintended actors.

How

An attacker operating through local access may attempt exploitation with low privileges. If successful, the issue may cause the confidentiality, integrity or availability impact described by the vendor.

What

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.

Why

The product uses a fixed or controlled search path to find resources, but one or more locations in that path can be under the control of unintended actors.

How

An attacker operating through local access may attempt exploitation with low privileges. If successful, the issue may cause the confidentiality, integrity or availability impact described by the vendor.

02

Exploit reality and attack path

CVSS severity, EPSS forecast probability, public exploit material and CISA-confirmed exploitation are separate signals.

Observed exploitation
?Confirmed exploitation and public exploit material are separate signals. Attacks can occur without public proof-of-concept or exploit code.
No confirmed evidence

No CISA KEV match was present at the last successful refresh. This means no confirmation from that source, not proof of no exploitation.

Public PoC / exploit material
?Confirmed exploitation and public exploit material are separate signals. Attacks can occur without public proof-of-concept or exploit code.
None recorded

No exploit-tagged reference or CISA SSVC proof-of-concept state is currently recorded. Research may still exist outside the structured feeds.

Likely attack path
local access → Uncontrolled Search Path Element → cause the confidentiality, integrity or availability impact described by the vendor
Attack surface
Local
Privileges required
Low: a basic authenticated account is required
User interaction
Required interaction required
Attack complexity
High: exploitation depends on specific conditions
Security boundary
Changed: exploitation can affect a different security authority
Weakness
?CWE means Common Weakness Enumeration: a standard category for the underlying weakness.
CWE-427 ↗

CWE-427: Uncontrolled Search Path Element. The product uses a fixed or controlled search path to find resources, but one or more locations in that path can be under the control of unintended actors.

CVSS vector
?CVSS means Common Vulnerability Scoring System. The vector records the metric values used to calculate technical severity.
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H

Common Vulnerability Scoring System 3.1: the compact vector below is decoded into plain language.

AVLocalAttack vector: The attacker needs local access to the vulnerable system.ACHighAttack complexity: Successful exploitation depends on specific conditions outside the attacker's direct control.PRLowPrivileges required: The attacker needs basic user-level privileges.UIRequiredUser interaction: Another user must perform an action for exploitation to succeed.SChangedScope: The attack can affect a component governed by a different security authority.CHighConfidentiality impact: A successful attack can cause a major loss.IHighIntegrity impact: A successful attack can cause a major loss.AHighAvailability impact: A successful attack can cause a major loss.
Post-exploitation / living off the land
The issue can support a local privilege or sandbox boundary transition; normal system utilities may then be available in the gained context.
CWE-427
A

Official authority intelligence

Only matched European and national findings are included. Language selectors and unavailable sources are omitted.

BSI · German · WID-SEC-2023-1446Microsoft Developer Tools: Mehrere Schwachstellen

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.

Official advisory ↗
BSI · German · WID-SEC-2023-1072git: Mehrere Schwachstellen

Ein Angreifer kann mehrere Schwachstellen in git ausnutzen, um Sicherheitsvorkehrungen zu umgehen, Daten zu manipulieren und seine Privilegien zu erweitern.

Official advisory ↗
Cyber Security Agency of Singapore · English · CSA-SB-20230426Security Bulletin 26 Apr 2023

The Cyber Security Agency of Singapore included this CVE in its official Security Bulletin 26 Apr 2023, published on 26 April 2023. Open the linked bulletin for the product, severity and reference information published in that issue.

Official advisory ↗
CERT-FR · French · CERTFR-2023-AVI-0465Multiples vulnérabilités dans les produits Microsoft

023-27909 du 13 juin 2023 https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-27909 Bulletin de sécurité Microsoft CVE-2023-27910 du 13 juin 2023 https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-27910 Bulletin de sécurité Microsoft CVE-2023-27911 du 13 juin 2023 https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-27911 Bulletin de sécurité Microsoft CVE-2023-28310 du 13 juin 2023 https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-28310 Bulletin de sécurité Microsoft CVE-2023-29007 du 13 juin 2023 https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-29007 Bulletin de sécurité Microsoft CVE-2023-29011 du 13 juin 2023 https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-29011 Bulletin de sécurité Microsoft CVE-2023-29012 du 13 juin 2023 https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-29012 Bulletin de sécurité Microsoft CVE-2023-29331 du 13 juin 2023 https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-29331 Bulletin de sécurité Microsoft CVE-2023-29337 du 13 juin 2023 https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-29337 Bulletin de sécurité Microsoft CVE-2023-29353 du 13 juin 2023 https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-29353 Bulletin de sécurité Microsoft CVE-2023-

Official advisory ↗
JVN iPedia · Japanese · JVNDB-2023-009208Git for Windows project の Git for Windows における制御されていない検索パスの要素に関する脆弱性

Git for Windows project の Git for Windows には、制御されていない検索パスの要素に関する脆弱性が存在します。

Official advisory ↗
KISA KrCERT/CC · Korean · KNVD-5951MS 7월 보안 위협에 따른 정기 보안 업데이트 권고

esktop Client | CVE-2023-29352 | Windows 원격 데스크톱 보안 기능 우회 취약성 | | Windows Group Policy | CVE-2023-29351 | Windows 그룹 정책 권한 상승 취약성 | | SQL Server | CVE-2023-29349 | Microsoft ODBC 및 OLE DB 원격 코드 실행 취약성 | | Windows Admin Center | CVE-2023-29347 | Windows 관리 센터 스푸핑 취약성 | | Windows NTFS | CVE-2023-29346 | NTFS 권한 상승 취약성 | | NuGet Client | CVE-2023-29337 | NuGet 클라이언트 원격 코드 실행 취약성 | | .NET Core | CVE-2023-29331 | .NET, .NET Framework, Visual Studio 서비스 거부 취약성 | | .NET Framework | CVE-2023-29326 | .NET Framework 원격 코드 실행 취약성 | | Visual Studio | CVE-2023-29012 | GitHub: CVE-2023-29012 Git CMD가 현재 디렉터리에 있는 경우 'doskey.exe'를 잘못 실행함 | | Visual Studio | CVE-2023-29011 | GitHub: CVE-2023-29011 `connect.exe`의 구성 파일이 악의적인 배치에 취약함 | | Visual Studio | CVE-2023-29007 | GitHub: CVE-2023-29007 `git submodule deinit`를 통한 임의 구성 삽입 | | Microsoft Exchange Server | CVE-2023-28310 | Microsoft Exchange Server 원격 코드 실행 취약성 | | Microsoft Edge (Chromium-based) | CVE-2023-28301 | Microsoft Edge (Chromium-based) Tampering Vulnerability | | Microsoft Office SharePoint | CVE-2023-28288 | Microsoft SharePoint Server 스푸핑 취약성 | | Visual Studio | CVE-2023-28263 | Visual Studio 정보 유출 취약성 | | Microsoft Edge (Chromium-based) | CVE-2023-28261 | Microsoft Edge(Chromium 기반) 권한 상승 취약성 | | Visual Studio | CVE-2023-27911 | AutoDesk: CVE-20

Official advisory ↗
KISA KrCERT/CC · Korean · KNVD-5936MS 6월 보안 위협에 따른 정기 보안 업데이트 권고

성 | | Windows MSHTML Platform | CVE-2023-29324 | Windows MSHTML Platform Security Feature Bypass Vulnerability | | Microsoft Edge (Chromium-based) | CVE-2023-2932 | Chromium: CVE-2023-2932 PDF에서 UaF(Use after free) | | Microsoft Edge (Chromium-based) | CVE-2023-2931 | Chromium: CVE-2023-2931 PDF에서 UaF(Use after free) | | Microsoft Edge (Chromium-based) | CVE-2023-2930 | Chromium: CVE-2023-2930 확장에서 UaF(Use after free) | | Microsoft Edge (Chromium-based) | CVE-2023-2929 | Chromium: CVE-2023-2929 Swiftshader에서 범위를 벗어난 쓰기 | | Visual Studio | CVE-2023-29012 | GitHub: CVE-2023-29012 Git CMD가 현재 디렉터리에 있는 경우 'doskey.exe'를 잘못 실행함 | | Visual Studio | CVE-2023-29011 | GitHub: CVE-2023-29011 `connect.exe`의 구성 파일이 악의적인 배치에 취약함 | | Visual Studio | CVE-2023-29007 | GitHub: CVE-2023-29007 `git submodule deinit`를 통한 임의 구성 삽입 | | Microsoft Exchange Server | CVE-2023-28310 | Microsoft Exchange Server 원격 코드 실행 취약성 | | SQL Server | CVE-2023-28304 | Microsoft ODBC 및 OLE DB 원격 코드 실행 취약성 | | Windows Active Directory | CVE-2023-28302 | Microsoft 메시지 큐 서비스 거부 취약성 | | Windows RDP Client | CVE-2023-28290 | Microsoft Remote Desktop app for Windows Information Disclosure Vulnerability | | Windows LDAP - Lightweight Directory Access Protocol | CVE-2023-28283 | Windows LDAP(Lightweight Directory Access Protocol) 원격 코드 실행 취약

Official advisory ↗
03

Patch and workaround

Operational remediation based on structured source evidence.

Status
?Patch availability is based on structured fixed-version fields and authoritative update references. If no fix is verified, check the vendor advisory before making a change.
Fix not verified
Affected
git: < 2.40.1
Fixed
No fixed version is explicitly recorded in the structured CVE data.
Action
No verified patch reference is present in the current structured sources. Check the vendor advisory before making a change.
Workaround
No verified workaround is recorded. Limit untrusted access and use least privilege until authoritative guidance is available.
04

Evidence and provenance

Published 25 Apr 2023 · Last source change 3 Feb 2025, 18:07 UTC · CWE-427 · Uncontrolled Search Path Element

CVE recordCVE.org · 5.1
CVSS sourceCNA
EPSS source
?The date BlackTree first stored a score for this CVE from the daily FIRST EPSS feed.
FIRST · tracked since 2026-08-14
European sourceENISA EUVD · EUVD-2023-32624
Product sourceCNA
Remediation sourceCVE/CNA references
CWE sourceCNA
NVD statusNVD modified after enrichment

Core structured fields are present and their contributing authorities are shown above.

Material change intelligence

What changed after publication

View recent updates ↗

No material field changes have been recorded since change tracking began. Routine source refreshes and cosmetic edits are intentionally excluded.

Material fields only · duplicate refreshes suppressed · history retained for the configured operational retention period
Technical terms and abbreviations used in this report
CVE
Common Vulnerabilities and Exposures: the public identifier for one disclosed vulnerability.
CVSS
Common Vulnerability Scoring System: a technical severity framework; it is not patching priority by itself.
EPSS
Exploit Prediction Scoring System: FIRST's estimate of the probability that exploitation activity will be observed in the next 30 days; it is a forecast, not confirmation.
CWE
Common Weakness Enumeration: the standard category describing the underlying software or hardware weakness.
CNA
CVE Numbering Authority: an organisation authorised to assign and publish CVE records.
CISA ADP
Cybersecurity and Infrastructure Security Agency Authorized Data Publisher: structured enrichment added to a CVE record.
NVD
National Vulnerability Database: NIST's enrichment service for CVE records.
CERT / CSIRT
A computer security incident response team that publishes warnings or coordinates incident response.
PoC
Proof of concept: public material that demonstrates or helps reproduce exploitation.
CSAF
Common Security Advisory Framework: a machine-readable format for security advisories.
LoTL
Living off the land: abuse of legitimate tools or system functions during an attack.
Free version - for non-commercial use only.CVE-2023-29011 · cve.blacktree.nl