{"id":"CVE-2024-35197","published":"2024-05-23T12:09:09Z","modified":"2024-08-02T03:07:46Z","title":"gix refs and paths with reserved Windows device names access the devices","vendor":"Byron","product":"gitoxide","tier":"tail","description":{"text":"gitoxide is a pure Rust implementation of Git. On Windows, fetching refs that clash with legacy device names reads from the devices, and checking out paths that clash with such names writes arbitrary data to the devices. This allows a repository, when cloned, to cause indefinite blocking or the production of arbitrary message that appear to have come from the application, and potentially other harmful effects under limited circumstances. If Windows is not used, or untrusted repositories are not cloned or otherwise used, then there is no impact. A minor degradation in availability may also be possible, such as with a very large file named `CON`, though the user could interrupt the application.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00448,"percentile":0.3985,"provenance":"source"},"cwes":[{"id":"CWE-67","name":"Improper Handling of Windows Device Names"}],"references":[{"url":"https://github.com/Byron/gitoxide/security/advisories/GHSA-49jc-r788-3fc9","tags":["x_refsource_CONFIRM"]}],"priority":{"score":11.8,"factors":[{"name":"EPSS percentile","points":7.97},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"byron","affectedVersions":[{"vendor":"Byron","product":"gitoxide","versions":["< 0.36.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-05-23T15:29:05.667742Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"gix-worktree-state","vulnerableRanges":["<0.11.0"],"patched":["0.11.0"],"from":["GHSA-49jc-r788-3fc9"],"provenance":"source"},{"ecosystem":"crates.io","package":"gitoxide","vulnerableRanges":["<0.36.0"],"patched":["0.36.0"],"from":["GHSA-49jc-r788-3fc9"],"provenance":"source"},{"ecosystem":"crates.io","package":"gix-worktree","vulnerableRanges":["<0.34.0",">=0.0.0-0, <0.34.0"],"patched":["0.34.0"],"from":["GHSA-49jc-r788-3fc9","RUSTSEC-2024-0353"],"provenance":"source"},{"ecosystem":"crates.io","package":"gitoxide-core","vulnerableRanges":["<0.38.0"],"patched":["0.38.0"],"from":["GHSA-49jc-r788-3fc9"],"provenance":"source"},{"ecosystem":"crates.io","package":"gix","vulnerableRanges":["<0.63.0"],"patched":["0.63.0"],"from":["GHSA-49jc-r788-3fc9"],"provenance":"source"},{"ecosystem":"crates.io","package":"gix-ref","vulnerableRanges":["<0.44.0",">=0.0.0-0, <0.44.0"],"patched":["0.44.0"],"from":["GHSA-49jc-r788-3fc9","RUSTSEC-2024-0351"],"provenance":"source"},{"ecosystem":"crates.io","package":"gix-index","vulnerableRanges":["<0.33.0",">=0.0.0-0, <0.33.0"],"patched":["0.33.0"],"from":["GHSA-49jc-r788-3fc9","RUSTSEC-2024-0352"],"provenance":"source"}],"summary":{"text":"The flaw is in gitoxide, Byron's pure Rust implementation of Git, on Windows: fetching refs whose names collide with legacy Windows device names (such as CON) reads from those devices, and checking out paths with such names writes data to them. An attacker can supply a malicious repository that, when a user clones or otherwise processes it on Windows, causes indefinite blocking or arbitrary messages appearing to come from the application, requiring user interaction to clone or use the untrusted repository and having no impact on non-Windows systems or where untrusted repositories are not used.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:56:30Z"},"euvd":{"id":"EUVD-2024-1408","exploited":false,"provenance":"source"}}