Arbitrary Code Execution Affecting gix-transport package, versions <0.36.1


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Execution vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-GIXTRANSPORT-5918834
  • published26 Sept 2023
  • disclosed25 Sept 2023
  • creditvin01

Introduced: 25 Sep 2023

CVE NOT AVAILABLE CWE-94  (opens in a new tab)
First added by Snyk

How to fix?

Upgrade gix-transport to version 0.36.1 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Execution via the file.rs file, allowing attackers to use malicious ssh clone URLs to pass arbitrary arguments to the ssh program.

PoC

gix clone 'ssh://-oProxyCommand=open$IFS-aCalculator/foo'

CVSS Scores

version 3.1