High severity8.1NVD Advisory· Published Apr 19, 2022· Updated Jun 17, 2026
CVE-2022-25648
CVE-2022-25648
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
gitRubyGems | < 1.11.0 | 1.11.0 |
Affected products
9- cpe:2.3:a:fedoraproject:extra_packages_for_enterprise_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*+ 2 more
- cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
- osv-coords2 versions
< 1.11.0+ 1 more
- (no CPE)range: < 1.11.0
- (no CPE)range: < 1.11.0
Patches
Vulnerability mechanics
References
14- github.com/ruby-git/ruby-git/pull/569nvdIssue TrackingPatchWEB
- snyk.io/vuln/SNYK-RUBY-GIT-2421270nvdExploitPatchThird Party AdvisoryWEB
- github.com/advisories/GHSA-69p6-wvmq-27ggghsaADVISORY
- lists.debian.org/debian-lts-announce/2023/01/msg00043.htmlnvdMailing ListThird Party AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2022-25648ghsaADVISORY
- github.com/ruby-git/ruby-git/commit/291ca0946bec7164b90ad5c572ac147f512c7159ghsaWEB
- github.com/ruby-git/ruby-git/releases/tag/v1.11.0nvdRelease Notes
- github.com/rubysec/ruby-advisory-db/blob/master/gems/git/CVE-2022-25648.ymlghsaWEB
- lists.fedoraproject.org/archives/list/[email protected]/message/PTJUF6SFPL4ZVSJQHGQ36KFPFO5DQVYZghsaWEB
- lists.fedoraproject.org/archives/list/[email protected]/message/Q2V3HOFU4ZVTQZHAVAVL3EX2KU53SP7RghsaWEB
- lists.fedoraproject.org/archives/list/[email protected]/message/XWNJA7WPE67LJ3DJMWZ2TADHCZKWMY55ghsaWEB
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PTJUF6SFPL4ZVSJQHGQ36KFPFO5DQVYZ/nvd
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Q2V3HOFU4ZVTQZHAVAVL3EX2KU53SP7R/nvd
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XWNJA7WPE67LJ3DJMWZ2TADHCZKWMY55/nvd
News mentions
0No linked articles in our index yet.