Arbitrary Argument Injection Affecting tfm-rubygem-git package, versions *


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.2% (58th percentile)

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 IDSNYK-RHEL7-TFMRUBYGEMGIT-4459266
  • published20 Apr 2022
  • disclosed13 Apr 2022

Introduced: 13 Apr 2022

CVE-2022-25648  (opens in a new tab)
CWE-88  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:7 tfm-rubygem-git.

NVD Description

Note: Versions mentioned in the description apply only to the upstream tfm-rubygem-git package and not the tfm-rubygem-git package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

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 can be set. The additional flags can be used to perform a command injection.

CVSS Scores

version 3.1