{"schemaVersion":3,"id":"CVE-2023-29011","aliases":[],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2023-04-25T20:40:30.247Z","modified":"2025-02-03T18:07:25.939Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.6,"severity":"high","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00381,"percentile":0.30593,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00381},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00381,"percentile":0.30593}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00381,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00381,"percentile":0.30593}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-427","name":"Uncontrolled Search Path Element","description":"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.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/427.html"}],"affected":[{"vendor":"git_for_windows_project","product":"git_for_windows","name":"git for windows","label":"git_for_windows","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.40.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.40.1","eol":null,"hubHref":"/vendor/git_for_windows_project/git_for_windows"},{"vendor":"git-for-windows","product":"git","name":"git","label":"git","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.40.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.40.1","eol":null,"hubHref":"/vendor/git-for-windows/git"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/git-for-windows/git/security/advisories/GHSA-g4fv-xjqw-q7jm","label":"github.com/git-for-windows/git/security/advisories/GHSA-g4fv-xjqw-q7jm","hostname":"github.com","tags":["X Refsource CONFIRM","Vendor Advisory"]},{"url":"https://github.com/git-for-windows/git/releases/tag/v2.40.1.windows.1","label":"github.com/git-for-windows/git/releases/tag/v2.40.1.windows.1","hostname":"github.com","tags":["X Refsource MISC","Release Notes"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2023-04-25T20:40:30.247Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-02-03T18:07:25.939Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":31,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T09:51:59.307Z","stale":false,"partial":false}}