{"schemaVersion":3,"id":"CVE-2024-35197","aliases":["CGA-66fm-43xw-842j","CGA-r6rr-wm4c-h9fm","GHSA-49jc-r788-3fc9","RUSTSEC-2024-0351","RUSTSEC-2024-0352","RUSTSEC-2024-0353"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2024-05-23T12:09:09.044Z","modified":"2024-08-02T03:07:46.729Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.4,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","exploitability":7.2,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","exploitability":7.2,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Crates.io","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","exploitability":7.2,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00448,"percentile":0.37903,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00448},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00448,"percentile":0.37903}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00448,"percentile":0.37903}]},"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-67","name":"Improper Handling of Windows Device Names","description":"The product constructs pathnames from user input, but it does not handle or incorrectly handles a pathname containing a Windows device name such as AUX or CON. This typically leads to denial of service or an information exposure when the application attempts to process the pathname as a regular file.","type":"weakness","status":"Incomplete","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/67.html"}],"affected":[{"vendor":"chainguard","product":"cargo-audit","name":"cargo-audit","label":"cargo-audit","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/cargo-audit","purlType":"apk","versions":[{"text":"< 0.21.2-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.21.2-r1","eol":null,"hubHref":null},{"vendor":"wolfi","product":"cargo-audit","name":"cargo-audit","label":"cargo-audit","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/cargo-audit","purlType":"apk","versions":[{"text":"< 0.21.2-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.21.2-r1","eol":null,"hubHref":null},{"vendor":"byron","product":"gitoxide","name":"gitoxide","label":"gitoxide","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.36.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.36.0","eol":null,"hubHref":"/vendor/byron/gitoxide"},{"vendor":"Crates.Io","product":"gitoxide","name":"gitoxide","label":"gitoxide","ecosystem":"Crates.Io","cpePart":null,"purl":"pkg:cargo/gitoxide","purlType":"cargo","versions":[{"text":"< 0.36.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.36.0","eol":null,"hubHref":null},{"vendor":"Crates.Io","product":"gitoxide-core","name":"gitoxide-core","label":"gitoxide-core","ecosystem":"Crates.Io","cpePart":null,"purl":"pkg:cargo/gitoxide-core","purlType":"cargo","versions":[{"text":"< 0.38.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.38.0","eol":null,"hubHref":null},{"vendor":"Crates.Io","product":"gix","name":"gix","label":"gix","ecosystem":"Crates.Io","cpePart":null,"purl":"pkg:cargo/gix","purlType":"cargo","versions":[{"text":"< 0.63.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.63.0","eol":null,"hubHref":null},{"vendor":"Crates.Io","product":"gix-index","name":"gix-index","label":"gix-index","ecosystem":"Crates.Io","cpePart":null,"purl":"pkg:cargo/gix-index","purlType":"cargo","versions":[{"text":"< 0.33.0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 0.0.0-0, < 0.33.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.33.0 | ≥ 0.0.0-0, < 0.33.0","eol":null,"hubHref":null},{"vendor":"Crates.Io","product":"gix-ref","name":"gix-ref","label":"gix-ref","ecosystem":"Crates.Io","cpePart":null,"purl":"pkg:cargo/gix-ref","purlType":"cargo","versions":[{"text":"< 0.44.0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 0.0.0-0, < 0.44.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.44.0 | ≥ 0.0.0-0, < 0.44.0","eol":null,"hubHref":null},{"vendor":"Crates.Io","product":"gix-worktree","name":"gix-worktree","label":"gix-worktree","ecosystem":"Crates.Io","cpePart":null,"purl":"pkg:cargo/gix-worktree","purlType":"cargo","versions":[{"text":"< 0.34.0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 0.0.0-0, < 0.34.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.34.0 | ≥ 0.0.0-0, < 0.34.0","eol":null,"hubHref":null},{"vendor":"Crates.Io","product":"gix-worktree-state","name":"gix-worktree-state","label":"gix-worktree-state","ecosystem":"Crates.Io","cpePart":null,"purl":"pkg:cargo/gix-worktree-state","purlType":"cargo","versions":[{"text":"< 0.11.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.11.0","eol":null,"hubHref":null}],"affectedCount":10,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/Byron/gitoxide/security/advisories/GHSA-49jc-r788-3fc9","label":"github.com/Byron/gitoxide/security/advisories/GHSA-49jc-r788-3fc9","hostname":"github.com","tags":["X Refsource CONFIRM","Advisory","WEB"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35197.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35197.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35197","label":"nvd.nist.gov/vuln/detail/CVE-2024-35197","hostname":"nvd.nist.gov","tags":["Advisory","WEB"]},{"url":"https://github.com/Byron/gitoxide","label":"github.com/Byron/gitoxide","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2024-0351.html","label":"rustsec.org/advisories/RUSTSEC-2024-0351.html","hostname":"rustsec.org","tags":["WEB","Advisory"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2024-0352.html","label":"rustsec.org/advisories/RUSTSEC-2024-0352.html","hostname":"rustsec.org","tags":["WEB","Advisory"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2024-0353.html","label":"rustsec.org/advisories/RUSTSEC-2024-0353.html","hostname":"rustsec.org","tags":["WEB","Advisory"]},{"url":"https://crates.io/crates/gix-ref","label":"crates.io/crates/gix-ref","hostname":"crates.io","tags":["PACKAGE"]},{"url":"https://github.com/GitoxideLabs/gitoxide/commit/79dce79c62f6072aa2653780d590dc3993dfa401","label":"github.com/GitoxideLabs/gitoxide/commit/79dce79c62f6072aa2653780d590dc3993dfa401","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-49jc-r788-3fc9","label":"github.com/advisories/GHSA-49jc-r788-3fc9","hostname":"github.com","tags":["Advisory"]},{"url":"https://crates.io/crates/gix-index","label":"crates.io/crates/gix-index","hostname":"crates.io","tags":["PACKAGE"]},{"url":"https://crates.io/crates/gix-worktree","label":"crates.io/crates/gix-worktree","hostname":"crates.io","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-2X5G-F6FW-JC38","CGA-Q9X7-XGC5-H8FP"]},"timeline":[{"kind":"published","date":"2024-05-23T12:09:09.044Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-02T03:07:46.729Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":22,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T18:30:53.298Z","stale":false,"partial":false}}