Every CVE Search/ Get API key

CVE-2022-25648

Command Injection

8.1 HighFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
High
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

4.91%Up 3.9 points since Apr 20, 2022
90%50%10%1%

What each source reports

CVE List Score used 8.1

Command Injection

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.

Record
CVE-2022-25648
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P
Updated
2026-11-02
EUVDEUVD-2022-1646 8.1

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.

Record
EUVD-2022-1646
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P
Updated
2026-11-03
GitHub AdvisoriesGHSA-69p6-wvmq-27gg 9.8

Command injection in ruby-git

The package prior to v1.11.0 is 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 such that additional flags can be set. The additional flags can be used to perform a command injection.

Record
GHSA-69p6-wvmq-27gg
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-88
Updated
2026-11-02
NVD 8.1

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.

Record
CVE-2022-25648
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-88
Updated
2026-11-02
OSV 8.1

Command Injection

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.

Record
CVE-2022-25648
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P
Updated
2026-11-04
OSVGHSA-69p6-wvmq-27gg 9.8

Command injection in ruby-git

The package prior to v1.11.0 is 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 such that additional flags can be set. The additional flags can be used to perform a command injection.

Record
GHSA-69p6-wvmq-27gg
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-88
Updated
2026-11-02
Show 6 moreShow less
OSVRHSA-2022:8506 9.8

Red Hat Security Advisory: Satellite 6.12 Release

Record
RHSA-2022:8506
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2022-25648 8.1

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.

Record
UBUNTU-CVE-2022-25648
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVBIT-git-2022-25648 No score

Command Injection

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.

Record
BIT-git-2022-25648
Updated
2026-11-02
OSVDEBIAN-CVE-2022-25648 No score

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.

Record
DEBIAN-CVE-2022-25648
Updated
2026-11-03
OSVMGASA-2022-0248 No score

Updated ruby-git packages fix security vulnerability

Command Injection via git argument injection (CVE-2022-25648)

Record
MGASA-2022-0248
Updated
2026-11-02
OSVRLSA-2022:8506 No score

Important: Satellite 6.12 Release

Rocky Enterprise Software Foundation Satellite is a systems management tool for Linux-based infrastructure. It allows for provisioning, remote management, and monitoring of multiple Linux deployments with a single centralized tool.

Security Fix(es):

  • netty-codec: Bzip2Decoder doesn't allow setting size restrictions for decompressed data (CVE-2021-37136)
  • netty-codec: SnappyFrameDecoder doesn't restrict chunk length and may buffer skippable chunks in an unnecessary way (CVE-2021-37137)
  • python3-django: Possible XSS via template tag (CVE-2022-22818)
  • tfm-rubygem-nokogiri: ReDoS in HTML encoding detection (CVE-2022-24836)
  • tfm-rubygem-sinatra: Path traversal possible outside of public_dir when serving static files (CVE-2022-29970)
  • tfm-rubygem-git: Package vulnerable to Command Injection via git argument injection (CVE-2022-25648)
  • rubygem-rails-html-sanitizer: Possible XSS with certain configurations (CVE-2022-32209)
  • python3-django: Potential SQL injection via Trunc and Extract arguments (CVE-2022-34265)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

The items above are not a complete list of changes. This update also fixes several bugs and adds various enhancements. Documentation for these changes is available from the Release Notes document.

Record
RLSA-2022:8506
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
git
RubyGems
before 1.11.0
1.11.0
git
Bitnami
before 1.11.0
1.11.0
ruby-git
Debian:12
before 1.13.1-1
1.13.1-1
ruby-git
Debian:13
before 1.13.1-1
1.13.1-1
ruby-git
Debian:14
before 1.13.1-1
1.13.1-1
ruby-git
Debian:10
From an advisory covering 3 CVEs
before 1.2.8-1+deb10u1, plus listed versions
1.2.8-1
1.2.8-1+deb10u1
ruby-git
Debian:11
From an advisory covering 3 CVEs
before 1.7.0-1+deb11u1, plus listed versions
1.7.0-1
1.7.0-1+deb11u1
git
RubyGems
before 1.11.0, plus listed versions
1.0.11.0.21.0.31.0.41.0.5
Show 25 moreShow less
1.1.11.10.01.10.11.10.21.2.01.2.11.2.21.2.31.2.41.2.51.2.61.2.71.2.81.2.91.2.9.11.3.01.4.01.5.01.6.01.6.0.pre11.7.01.8.01.8.11.9.01.9.1
1.11.0
ruby-git
Mageia:8
before 1.6.0-1.1.mga8
1.6.0-1.1.mga8
candlepin
Red Hat:satellite:6.12::el8
From an advisory covering 10 CVEs
before 0:4.1.15-1.el8sat
0:4.1.15-1.el8sat
Show 42 moreShow less
Affected packages
PackageAffectedFixed
candlepin-selinux
Red Hat:satellite:6.12::el8
From an advisory covering 10 CVEs
before 0:4.1.15-1.el8sat
0:4.1.15-1.el8sat
python-django
Red Hat:satellite_capsule:6.12::el8
From an advisory covering 10 CVEs
before 0:3.2.14-2.el8pc
0:3.2.14-2.el8pc
python39-django
Red Hat:satellite_capsule:6.12::el8
From an advisory covering 10 CVEs
before 0:3.2.14-2.el8pc
0:3.2.14-2.el8pc
python-django
Red Hat:satellite:6.12::el8
From an advisory covering 10 CVEs
before 0:3.2.14-2.el8pc
0:3.2.14-2.el8pc
python39-django
Red Hat:satellite:6.12::el8
From an advisory covering 10 CVEs
before 0:3.2.14-2.el8pc
0:3.2.14-2.el8pc
rubygem-nokogiri
Red Hat:satellite_capsule:6.12::el8
From an advisory covering 10 CVEs
before 0:1.13.8-1.el8sat
0:1.13.8-1.el8sat
rubygem-nokogiri-debuginfo
Red Hat:satellite_capsule:6.12::el8
From an advisory covering 10 CVEs
before 0:1.13.8-1.el8sat
0:1.13.8-1.el8sat
rubygem-nokogiri-debugsource
Red Hat:satellite_capsule:6.12::el8
From an advisory covering 10 CVEs
before 0:1.13.8-1.el8sat
0:1.13.8-1.el8sat
rubygem-nokogiri
Red Hat:satellite:6.12::el8
From an advisory covering 10 CVEs
before 0:1.13.8-1.el8sat
0:1.13.8-1.el8sat
rubygem-nokogiri-debuginfo
Red Hat:satellite:6.12::el8
From an advisory covering 10 CVEs
before 0:1.13.8-1.el8sat
0:1.13.8-1.el8sat
rubygem-nokogiri-debugsource
Red Hat:satellite:6.12::el8
From an advisory covering 10 CVEs
before 0:1.13.8-1.el8sat
0:1.13.8-1.el8sat
rubygem-git
Red Hat:satellite:6.12::el8
From an advisory covering 10 CVEs
before 0:1.11.0-1.el8sat
0:1.11.0-1.el8sat
rubygem-sinatra
Red Hat:satellite_capsule:6.12::el8
From an advisory covering 10 CVEs
before 1:2.2.0-1.el8sat
1:2.2.0-1.el8sat
rubygem-sinatra
Red Hat:satellite:6.12::el8
From an advisory covering 10 CVEs
before 1:2.2.0-1.el8sat
1:2.2.0-1.el8sat
rubygem-rails-html-sanitizer
Red Hat:satellite:6.12::el8
From an advisory covering 10 CVEs
before 0:1.4.3-2.el8sat
0:1.4.3-2.el8sat
foreman
Red Hat:satellite_capsule:6.12::el8
From an advisory covering 10 CVEs
before 0:3.3.0.17-1.el8sat
0:3.3.0.17-1.el8sat
foreman-debug
Red Hat:satellite_capsule:6.12::el8
From an advisory covering 10 CVEs
before 0:3.3.0.17-1.el8sat
0:3.3.0.17-1.el8sat
foreman
Red Hat:satellite_utils:6.12::el8
From an advisory covering 10 CVEs
before 0:3.3.0.17-1.el8sat
0:3.3.0.17-1.el8sat
foreman-cli
Red Hat:satellite_utils:6.12::el8
From an advisory covering 10 CVEs
before 0:3.3.0.17-1.el8sat
0:3.3.0.17-1.el8sat
foreman
Red Hat:satellite:6.12::el8
From an advisory covering 10 CVEs
before 0:3.3.0.17-1.el8sat
0:3.3.0.17-1.el8sat
foreman-cli
Red Hat:satellite:6.12::el8
From an advisory covering 10 CVEs
before 0:3.3.0.17-1.el8sat
0:3.3.0.17-1.el8sat
foreman-debug
Red Hat:satellite:6.12::el8
From an advisory covering 10 CVEs
before 0:3.3.0.17-1.el8sat
0:3.3.0.17-1.el8sat
foreman-dynflow-sidekiq
Red Hat:satellite:6.12::el8
From an advisory covering 10 CVEs
before 0:3.3.0.17-1.el8sat
0:3.3.0.17-1.el8sat
foreman-ec2
Red Hat:satellite:6.12::el8
From an advisory covering 10 CVEs
before 0:3.3.0.17-1.el8sat
0:3.3.0.17-1.el8sat
foreman-gce
Red Hat:satellite:6.12::el8
From an advisory covering 10 CVEs
before 0:3.3.0.17-1.el8sat
0:3.3.0.17-1.el8sat
foreman-journald
Red Hat:satellite:6.12::el8
From an advisory covering 10 CVEs
before 0:3.3.0.17-1.el8sat
0:3.3.0.17-1.el8sat
foreman-libvirt
Red Hat:satellite:6.12::el8
From an advisory covering 10 CVEs
before 0:3.3.0.17-1.el8sat
0:3.3.0.17-1.el8sat
foreman-openstack
Red Hat:satellite:6.12::el8
From an advisory covering 10 CVEs
before 0:3.3.0.17-1.el8sat
0:3.3.0.17-1.el8sat
foreman-ovirt
Red Hat:satellite:6.12::el8
From an advisory covering 10 CVEs
before 0:3.3.0.17-1.el8sat
0:3.3.0.17-1.el8sat
foreman-postgresql
Red Hat:satellite:6.12::el8
From an advisory covering 10 CVEs
before 0:3.3.0.17-1.el8sat
0:3.3.0.17-1.el8sat
foreman-service
Red Hat:satellite:6.12::el8
From an advisory covering 10 CVEs
before 0:3.3.0.17-1.el8sat
0:3.3.0.17-1.el8sat
foreman-telemetry
Red Hat:satellite:6.12::el8
From an advisory covering 10 CVEs
before 0:3.3.0.17-1.el8sat
0:3.3.0.17-1.el8sat
foreman-vmware
Red Hat:satellite:6.12::el8
From an advisory covering 10 CVEs
before 0:3.3.0.17-1.el8sat
0:3.3.0.17-1.el8sat
libdb
Rocky Linux:8
From an advisory covering 8 CVEs
before 0:5.3.28-42.el8_4
0:5.3.28-42.el8_4
ruby-git
Ubuntu:16.04:LTS
All versions, plus listed versions
1.2.8-1
None known
ruby-git
Ubuntu:18.04:LTS
All versions, plus listed versions
1.2.8-1
None known
ruby-git
Ubuntu:20.04:LTS
All versions, plus listed versions
1.2.8-11.6.0+0-1
None known
ruby-git
Ubuntu:22.04:LTS
All versions, plus listed versions
1.7.0-11.9.1-1
None known
ruby-git
Ubuntu:24.04:LTS
All versions, plus listed versions
1.13.1-1
None known
ruby-git
Ubuntu:25.10
All versions, plus listed versions
1.13.1-1
None known
ruby-git
Ubuntu:26.10
All versions, plus listed versions
1.13.1-14.3.2-14.4.0-1
None known
ruby-git
Ubuntu:26.04:LTS
All versions, plus listed versions
1.13.1-1
None known

History

History
RecordedChangedSources
affected
factsOSV
aliases, products, publishedEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2022-25648 is a high vulnerability (CVSS 8.1) in Git, published April 19, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 4.91%, the 92nd percentile. Fixed in git 1.11.0.

References

Show 194 moreShow less
This page doesn't list everything

Left out here: 140 references. The JSON record has them.

MoveEnter Open