#VU69430 OS Command Injection in ruby-git - CVE-2022-25648 

 

#VU69430 OS Command Injection in ruby-git - CVE-2022-25648

Published: November 18, 2022


Vulnerability identifier: #VU69430
Vulnerability risk: High
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2022-25648
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
ruby-git
Software vendor:
ruby-git

Description

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

The vulnerability exists due to improper input validation when calling the fetch(remote = 'origin', opts = {}) function. A remote unauthenticated attacker can pass specially crafted data to the application and execute arbitrary OS commands via git argument.

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


Remediation

Install updates from vendor's website.

External links