{"id":"CVE-2023-53158","aliases":["AZL-66020","EUVD-2023-59769","GHSA-rrjw-j4m2-mf34","RUSTSEC-2023-0064","UBUNTU-CVE-2023-53158"],"status":"published","title":"gix-transport code execution vulnerability","description":"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.","severity":{"version":"3.1","score":4.1,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00206,"percentile":0.10747,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-78","CWE-88"],"published":"2023-09-23T12:00:00Z","modified":"2026-10-28T02:30:37Z","fixes":[{"ecosystem":"crates.io","package":"gix-transport","fixed_in":["0.36.1"],"sources":["ghsa","osv"]},{"ecosystem":"Azure Linux:2","package":"rust","fixed_in":["1.72.0-8"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"crates.io","package":"gix-transport","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.36.1"}]}]},{"source":"osv","ecosystem":"Azure Linux:2","package":"rust","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.72.0-8"}]}]},{"source":"osv","ecosystem":"crates.io","package":"gix-transport","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.36.1"}]}]},{"source":"osv","ecosystem":"crates.io","package":"gix-transport","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.36.1"}]}]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"rust-gix-transport","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.41.1-1","0.41.1-1build1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"rust-gix-transport","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.44.0-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"rust-gix-transport","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.48.0-1","0.57.0-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"rust-gix-transport","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.44.0-1","0.48.0-1"]}],"products":[{"vendor":"gitoxidelabs","product":"gix-transport"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2023-0064.html","tags":["advisory","web","report"]},{"url":"https://github.com/GitoxideLabs/gitoxide/pull/1032","tags":["fix","web","report"]},{"url":"https://github.com/advisories/GHSA-rrjw-j4m2-mf34","tags":["advisory","report"]},{"url":"https://crates.io/crates/gix-transport","tags":["web","package","report"]},{"url":"https://secure.phabricator.com/T12961","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53158","tags":["web","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53158.json","tags":["advisory"]},{"url":"https://github.com/GitoxideLabs/gitoxide","tags":["package"]},{"url":"https://github.com/Byron/gitoxide/pull/1032","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2023-53158","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-53158","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2023-53158","description":"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.","status":"published","published":"2025-07-28T00:00:00Z","modified":"2025-07-28T17:24:12.615Z","cvss":[{"version":"3.1","score":4.1,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:35:31.264455Z"}],"euvd":[{"id":"EUVD-2023-59769","description":"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.","status":"published","published":"2025-07-28T00:00:00Z","modified":"2025-07-28T17:24:12Z","cvss":[{"version":"3.1","score":4.1,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T20:32:03.359865Z"}],"ghsa":[{"id":"GHSA-rrjw-j4m2-mf34","title":"gix-transport code execution vulnerability","description":"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.","status":"published","published":"2023-09-25T20:21:16Z","modified":"2025-07-28T15:37:25Z","cvss":[{"version":"3.1","score":4.1,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-78","CWE-88"],"updated_at":"2026-11-02T14:38:51.864708Z"}],"nvd":[{"id":"CVE-2023-53158","description":"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.","status":"published","published":"2025-07-28T01:15:24.837Z","modified":"2026-06-17T06:44:24.643Z","cvss":[{"version":"3.1","score":4.1,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:09:21.774456Z"}],"osv":[{"id":"CVE-2023-53158","description":"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.","status":"published","published":"2025-07-28T00:00:00Z","modified":"2026-10-28T02:30:37.871632297Z","cvss":[{"version":"3.1","score":4.1,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T15:44:35.70651Z"},{"id":"GHSA-rrjw-j4m2-mf34","title":"gix-transport code execution vulnerability","description":"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.","status":"published","published":"2023-09-25T20:21:16Z","modified":"2025-07-28T16:41:59.949086Z","cvss":[{"version":"3.1","score":4.1,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-78","CWE-88"],"updated_at":"2026-11-02T15:46:56.281047Z"},{"id":"UBUNTU-CVE-2023-53158","description":"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.","status":"published","published":"2025-07-28T01:15:00Z","modified":"2026-10-17T12:57:22.830091662Z","cvss":[{"version":"3.1","score":4.1,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T16:54:32.299999Z"},{"id":"AZL-66020","title":"CVE-2023-53158 affecting package rust for versions less than 1.72.0-8","description":"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.","status":"published","published":"2025-07-28T01:15:24Z","modified":"2026-04-21T04:37:45.046066Z","updated_at":"2026-11-02T15:28:08.354547Z"},{"id":"RUSTSEC-2023-0064","title":"gix-transport code execution vulnerability","description":"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 \u003chttps://secure.phabricator.com/T12961\u003e for more details on similar vulnerabilities in `git`.\n\nThanks to [vin01](https://github.com/vin01) for disclosing the issue.","status":"published","published":"2023-09-23T12:00:00Z","modified":"2025-10-28T06:02:18Z","updated_at":"2026-11-02T15:53:39.971022Z"}]}}
