{"id":"CVE-2023-53158","aliases":["CVE-2023-53158","GHSA-rrjw-j4m2-mf34","RUSTSEC-2023-0064"],"related":[],"kind":"vulnerability","state":"published","title":"gix-transport code execution vulnerability","summary":"The gix-transport crate before 0.36.1 for Rust allows command execution via the \"gix clone 'ssh://-oProxyCommand=open$IFS\" substring. NOTE: this was discovered before CVE-2024-32884, a similar vulnerability (involving a username field) that is more difficult to exploit.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The gix-transport crate before 0.36.1 for Rust allows command execution via the \"gix clone 'ssh://-oProxyCommand=open$IFS\" substring. NOTE: this was discovered before CVE-2024-32884, a similar vulnerability (involving a username field) that is more difficult to exploit.","source":"cvelist"},{"lang":"en","text":"The `gix-transport` crate prior to the patched version 0.36.1 would allow attackers to use malicious ssh clone URLs to pass arbitrary arguments to the `ssh` program, leading to arbitrary code execution.\n\nPoC: `gix clone 'ssh://-oProxyCommand=open$IFS-aCalculator/foo'`\n\nThis will launch a calculator on OSX.\n\nSee https://secure.phabricator.com/T12961 for more details on similar vulnerabilities in `git`.\n\nThanks for [vin01](https://github.com/vin01) for disclosing this issue.","format":"markdown","source":"ghsa"},{"lang":"en","text":"The `gix-transport` crate prior to the patched version 0.36.1 would allow attackers to\nuse malicious ssh clone URLs to pass arbitrary arguments to the `ssh` program, leading\nto arbitrary code execution.\n\nPoC: `gix clone 'ssh://-oProxyCommand=open$IFS-aCalculator/foo'`\n\nThis will launch a calculator on OSX.\n\nSee <https://secure.phabricator.com/T12961> for more details on similar vulnerabilities in `git`.\n\nThanks to [vin01](https://github.com/vin01) for disclosing the issue.","format":"markdown","source":"rustsec"},{"lang":"es","text":"El paquete gix-transport para Rust, anterior a la versión 0.36.1, permite la ejecución de comandos mediante la subcadena \"gix clone 'ssh://-oProxyCommand=open$IFS\". NOTA: Esto se descubrió antes de CVE-2024-32884, una vulnerabilidad similar (que afecta a un campo de nombre de usuario) y que es más difícil de explotar.","source":"nvd"}],"published":"2023-09-23T12:00:00.000Z","modified":"2026-06-17T06:44:24.643Z","severity":{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","score":4.1,"rating":"MEDIUM"},"severities":[{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","score":4.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","score":4.1,"rating":"MEDIUM"}],"cwes":["CWE-78","CWE-88"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"0.36.1","status":"affected"}],"vendor":"GitoxideLabs","product":"gix-transport","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.36.1"}],"ecosystem":"crates.io","package":"gix-transport","purl":"pkg:cargo/gix-transport","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"0.36.1"}],"ecosystem":"crates.io","package":"gix-transport","purl":"pkg:cargo/gix-transport","source":"rustsec"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2023-0064.html","tags":["advisory","web"],"sources":["cvelist","ghsa","rustsec","nvd"]},{"url":"https://github.com/GitoxideLabs/gitoxide/pull/1032","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/advisories/GHSA-rrjw-j4m2-mf34","tags":[],"sources":["cvelist","nvd"]},{"url":"https://crates.io/crates/gix-transport","tags":["package"],"sources":["cvelist","rustsec","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53158","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/GitoxideLabs/gitoxide","tags":["package"],"sources":["ghsa"]},{"url":"https://secure.phabricator.com/T12961","tags":["web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/Byron/gitoxide/pull/1032","tags":["web"],"sources":["rustsec"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-07-28T17:23:53.586Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-53158","url":"https://www.cve.org/CVERecord?id=CVE-2023-53158","licence":"CVE Terms of Use","modified":"2025-07-28T17:24:12.615Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-rrjw-j4m2-mf34","url":"https://github.com/advisories/GHSA-rrjw-j4m2-mf34","licence":"CC-BY-4.0","modified":"2025-07-28T16:41:59.949Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2023-0064","url":"https://rustsec.org/advisories/RUSTSEC-2023-0064.html","licence":"CC0-1.0","modified":"2025-10-28T06:02:18.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-53158","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53158","licence":"Public domain","modified":"2026-06-17T06:44:24.643Z"}],"updatedAt":"2026-11-25T22:58:34.725Z","epss":{"score":0.00308,"percentile":0.16082,"date":"2026-11-30T12:00:22.000Z"}}