{"schemaVersion":3,"id":"CVE-2024-32884","aliases":["CGA-4pgv-4f5p-c2r5","CGA-cm94-9p54-6h35","GHSA-98p4-xjmm-8mfh","RUSTSEC-2024-0335"],"status":"published","duplicateOf":null,"title":null,"description":"gitoxide is a pure Rust implementation of Git. `gix-transport` does not check the username part of a URL for text that the external `ssh` program would interpret as an option. A specially crafted clone URL can smuggle options to SSH. The possibilities are syntactically limited, but if a malicious clone URL is used by an application whose current working directory contains a malicious file, arbitrary code execution occurs. This is related to the patched vulnerability GHSA-rrjw-j4m2-mf34, but appears less severe due to a greater attack complexity. This issue has been patched in versions 0.35.0, 0.42.0 and 0.62.0.","dates":{"published":"2024-04-26T18:04:04.374Z","modified":"2024-08-02T02:20:35.704Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.4,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":6.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:L","exploitability":4.1,"impact":7.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":6.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:L","exploitability":4.1,"impact":7.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Crates.io","score":6.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:L","exploitability":4.1,"impact":7.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:L","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00514,"percentile":0.42851,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00514},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00514,"percentile":0.42851}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00514,"percentile":0.42851}]},"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-77","name":"Improper Neutralization of Special Elements used in a Command ('Command Injection')","description":"The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-88","name":"Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')","description":"The product constructs a string for a command to be executed by a separate component\nin another control sphere, but it does not properly delimit the\nintended arguments, options, or switches within that command string.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/88.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.42.0","noFixRecorded":false,"fixedIn":null},{"text":"< 0.62","noFixRecorded":false,"fixedIn":null},{"text":"< 0.35","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.42.0 | < 0.62 | < 0.35","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.35","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.35","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.62","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.62","eol":null,"hubHref":null},{"vendor":"Crates.Io","product":"gix-transport","name":"gix-transport","label":"gix-transport","ecosystem":"Crates.Io","cpePart":null,"purl":"pkg:cargo/gix-transport","purlType":"cargo","versions":[{"text":"< 0.42.0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 0.0.0-0, < 0.42.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.42.0 | ≥ 0.0.0-0, < 0.42.0","eol":null,"hubHref":null}],"affectedCount":6,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/Byron/gitoxide/security/advisories/GHSA-98p4-xjmm-8mfh","label":"github.com/Byron/gitoxide/security/advisories/GHSA-98p4-xjmm-8mfh","hostname":"github.com","tags":["X Refsource CONFIRM","Advisory","WEB"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2024-0335.html","label":"rustsec.org/advisories/RUSTSEC-2024-0335.html","hostname":"rustsec.org","tags":["X Refsource MISC","Advisory","WEB"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/32xxx/CVE-2024-32884.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2024/32xxx/CVE-2024-32884.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-32884","label":"nvd.nist.gov/vuln/detail/CVE-2024-32884","hostname":"nvd.nist.gov","tags":["Advisory","Oval"]},{"url":"https://github.com/Byron/gitoxide","label":"github.com/Byron/gitoxide","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://crates.io/crates/gix-transport","label":"crates.io/crates/gix-transport","hostname":"crates.io","tags":["PACKAGE"]},{"url":"https://github.com/Byron/gitoxide/pull/1032","label":"github.com/Byron/gitoxide/pull/1032","hostname":"github.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-J7CM-QG23-32V5","CGA-Q7Q5-4FXR-7M2C"]},"timeline":[{"kind":"published","date":"2024-04-26T18:04:04.374Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-02T02:20:35.704Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":26,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T17:45:50.996Z","stale":false,"partial":false}}