CVE-2023-53158
gix-transport code execution vulnerability
4.1
MEDIUM
CVSS 3.1
EPSS 0.17%
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. 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.
How to fix CVE-2023-53158
To remediate CVE-2023-53158, upgrade the affected package to a fixed version below.
- —upgrade to 0.36.1 or later
- —upgrade to 0.36.1 or later
Is CVE-2023-53158 being exploited?
Low — EPSS is 0.2%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 0.36.1
- >= 0.0.0-0, < 0.36.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| 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 |