CVE-2023-53158
MEDIUM4.1EPSS 0.07%gix-transport code execution vulnerability
發布日:2023/9/25修改日:2025/10/28
描述
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. PoC: `gix clone 'ssh://-oProxyCommand=open$IFS-aCalculator/foo'` This will launch a calculator on OSX. See <https://secure.phabricator.com/T12961> for more details on similar vulnerabilities in `git`. Thanks to [vin01](https://github.com/vin01) for disclosing the issue.
受影響套件(2)
- crates.io/gix-transportfrom 0, < 0.36.1
- crates.io/gix-transport>= 0.0.0-0, < 0.36.1
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM4.1 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N |
參考連結(7)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2023-53158
- PATCHhttps://crates.io/crates/gix-transport
- PATCHhttps://github.com/GitoxideLabs/gitoxide
- WEBhttps://github.com/Byron/gitoxide/pull/1032
- WEBhttps://github.com/GitoxideLabs/gitoxide/pull/1032
- WEBhttps://rustsec.org/advisories/RUSTSEC-2023-0064.html
- WEBhttps://secure.phabricator.com/T12961