Skip to content
Fencer Vulns
high 8.1

CVE-2022-25648 json

Command Injection

published 2022-04-19 4 y ago modified 2026-09-08 2 mo ago also BIT-git-2022-25648 , EUVD-2022-1646 , GHSA-69p6-wvmq-27gg

cvss
8.1
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
4.6%
EPSS 4.6% chance of exploitation in 30 days, percentile 91%
public exploits
0
none known

Summary

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.

Patch / fix

  • rubygems git 1.11.0
  • bitnami git 1.11.0
  • n/a git 1.11.0
  • ruby-git Debian 14, Debian 13, Debian 12 1.13.1-1

debian advisories DEBIAN-CVE-2022-25648

  • foreman satellite utils 6.12, satellite capsule 6.12, satellite 6.12 3.3.0.17-1.el8sat
  • candlepin satellite 6.12 4.1.15-1.el8sat
  • foreman-cli satellite utils 6.12, satellite 6.12 3.3.0.17-1.el8sat
  • foreman-ec2 satellite 6.12 3.3.0.17-1.el8sat
  • foreman-gce satellite 6.12 3.3.0.17-1.el8sat
  • rubygem-git satellite 6.12 1.11.0-1.el8sat
  • foreman-ovirt satellite 6.12 3.3.0.17-1.el8sat
  • python-django satellite capsule 6.12, satellite 6.12 3.2.14-2.el8pc

red hat advisories RHSA-2022:8506

  • libdb Rocky Linux 8 5.3.28-42.el8_4

rocky linux advisories RLSA-2022:8506

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-25648 updated cvss 9.8

ruby-git: package vulnerable to Command Injection via git argument injection

  • Red Hat Satellite 6.12 for RHEL 8 rubygem-git 1.11.0-1.el8sat
    fixed: vendor fix RHSA-2022:8506
  • Red Hat Satellite 6.12 for RHEL 8 cjson 1.7.14-5.el8sat, libdb 5.3.28-42.el8_4, katello 4.5.0-1.el8sat, libsolv 0.7.22-4.el8pc, libcomps 0.1.18-4.el8pc, python-idna 3.3-2.el8pc, +640 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

4.59% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • snyk.io https://snyk.io/vuln/SNYK-RUBY-GIT-2421270 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P
GitHub 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CNA 3.1 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P
OSV 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
rubygems git
<1.11.0
1.11.0
bitnami git
<1.11.0
1.11.0

Affected products

  • n/a git

Classification

Weakness
  • CWE-88 Improper Neutralization of Argument Delimiters in a Command

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.