CVE & CISA-KEV Catalog

CVE-2023-29011

HIGH
7.5
CVSS v3
NVD

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.

How to fix

Remediation Available
git for windowsNVD
Affected:< 2.40.1Fixed in:2.40.1CVE-2023-29011derived from NVD

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityHigh
Privileges RequiredLow
User InteractionRequired
ScopeChanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H

Exploit Intelligence

0.38%probability of exploitation in 30 days
30thpercentile

Low risk: more likely to be exploited than 30% of all known CVEs.

References

Vendor Advisory1
Release Notes1

Related Vulnerabilities

Other CWE-427 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2020-27955Critical9.883%--
CVE-2017-6517Critical9.846%--
CVE-2020-3153Medium6.528%KEV + RansomFix
CVE-2024-48990High7.820%-Fix
CVE-2019-9491High7.813%--
CVE-2020-3433High7.810%KEV + RansomFix
Embed a live status badge for CVE-2023-29011
CVE-2023-29011 severity badge

Markdown

[![CVE-2023-29011](https://tridentstack.com/cve/badge/CVE-2023-29011.svg)](https://tridentstack.com/cve/CVE-2023-29011)

HTML

<a href="https://tridentstack.com/cve/CVE-2023-29011"><img src="https://tridentstack.com/cve/badge/CVE-2023-29011.svg" alt="CVE-2023-29011"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.