Cyber Resilience

CVE-2022-25648

HighPublic PoC

Published: 19 April 2022

Published
19 April 2022
Modified
21 November 2024
KEV Added
Patch
CVSS Score v3.1 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0573 90.6th percentile
Risk Priority 20 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2022-25648 is a high-severity Argument Injection (CWE-88) vulnerability in Fedoraproject Fedora. Its CVSS base score is 8.1 (High).

Operationally, ranked in the top 9.4% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

Deeper analysis

The vulnerability is a command injection issue, tracked as CWE-88, that affects the ruby-git package in versions before 1.11.0. It occurs because the fetch(remote = 'origin', opts = {}) function passes the remote parameter directly to the underlying git fetch subcommand without sufficient sanitization, allowing arbitrary flags to be supplied.

An unauthenticated remote attacker can supply a malicious remote value to trigger the injection. Successful exploitation can lead to execution of arbitrary commands on the host running the affected code, resulting in full compromise of confidentiality, integrity, and availability under the reported CVSS 8.1 conditions.

The project addressed the flaw in release 1.11.0 via pull request 569. Distribution advisories for Debian and Fedora likewise direct users to update to the patched ruby-git version to eliminate the argument-injection vector. The associated EPSS score has remained flat at a modest level since disclosure and shows no material increase.

EU & UK References

Vulnerability details

The package git before 1.11.0 are vulnerable to Command Injection via git argument injection. When calling the fetch(remote = 'origin', opts = {}) function, the remote parameter is passed to the git fetch subcommand in a way that additional flags…

more

can be set. The additional flags can be used to perform a command injection.

CWE(s)

Related Threats

No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.

Affected Assets

git
git
≤ 1.11.0
fedoraproject
extra packages for enterprise linux
8.0
fedoraproject
fedora
34, 35, 36
debian
debian linux
10.0

Mitigating Controls

No mitigating controls mapped yet. The per-CVE control annotator has not reached this CVE.

References