Code Injection in ruby-git - CVE-2022-46648

 

Code Injection in ruby-git - CVE-2022-46648

Published: January 5, 2023


Vulnerability identifier: #VU70699
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2022-46648
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: ruby-git
Affected software:
ruby-git

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to improper input validation. A remote user can use a specially crafted filename and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


How to mitigate CVE-2022-46648

Install updates from vendor's website.

Sources