{"id":"CVE-2024-32884","state":"PUBLISHED","title":"gix-transport indirect code execution via malicious username","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.","publishedAt":"2024-04-26T18:04:04.374Z","updatedAt":"2024-08-02T02:20:35.704Z","severity":{"score":6.4,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["Byron gitoxide"],"affected":[{"vendor":"Byron","product":"gitoxide","versions":[{"version":"< 0.42.0","status":"affected"},{"version":"< 0.62","status":"affected"},{"version":"< 0.35","status":"affected"}]}],"references":["https://github.com/Byron/gitoxide/security/advisories/GHSA-98p4-xjmm-8mfh","https://rustsec.org/advisories/RUSTSEC-2024-0335.html"],"weaknesses":["CWE-77","CWE-88"],"ingestedAt":"2026-10-29T20:07:21.467Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/32xxx/CVE-2024-32884.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-32884","state":"PUBLISHED","datePublished":"2024-04-26T18:04:04.374Z","dateUpdated":"2024-08-02T02:20:35.704Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-04-19T14:07:11.231Z"},"containers":{"cna":{"title":"gix-transport indirect code execution via malicious username","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Byron","product":"gitoxide","versions":[{"version":"< 0.42.0","status":"affected"},{"version":"< 0.62","status":"affected"},{"version":"< 0.35","status":"affected"}]}],"references":[{"url":"https://github.com/Byron/gitoxide/security/advisories/GHSA-98p4-xjmm-8mfh","name":"https://github.com/Byron/gitoxide/security/advisories/GHSA-98p4-xjmm-8mfh","tags":["x_refsource_CONFIRM"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2024-0335.html","name":"https://rustsec.org/advisories/RUSTSEC-2024-0335.html","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":6.4,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-77","lang":"en","description":"CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-88","lang":"en","description":"CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-04-26T18:04:04.374Z"},"source":{"advisory":"GHSA-98p4-xjmm-8mfh","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"byron","product":"gitoxide","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"0.35.0","versionType":"custom"},{"version":"0","status":"affected","lessThan":"0.62.0","versionType":"custom"},{"version":"0","status":"affected","lessThan":"0.42.0","versionType":"custom"}],"cpes":["cpe:2.3:a:byron:gitoxide:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-32884","role":"CISA Coordinator","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2024-05-01T17:14:15.110574Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-04T17:49:52.416Z"}},{"title":"CVE Program Container","references":[{"url":"https://github.com/Byron/gitoxide/security/advisories/GHSA-98p4-xjmm-8mfh","name":"https://github.com/Byron/gitoxide/security/advisories/GHSA-98p4-xjmm-8mfh","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2024-0335.html","name":"https://rustsec.org/advisories/RUSTSEC-2024-0335.html","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T02:20:35.704Z"}}]}}}