Critical severityNVD Advisory· Published Apr 19, 2022· Updated Sep 16, 2024
Command Injection
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
3- 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/advisories/GHSA-69p6-wvmq-27ggghsaADVISORY
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PTJUF6SFPL4ZVSJQHGQ36KFPFO5DQVYZ/mitrevendor-advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Q2V3HOFU4ZVTQZHAVAVL3EX2KU53SP7R/mitrevendor-advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XWNJA7WPE67LJ3DJMWZ2TADHCZKWMY55/mitrevendor-advisory
- nvd.nist.gov/vuln/detail/CVE-2022-25648ghsaADVISORY
- github.com/ruby-git/ruby-git/commit/291ca0946bec7164b90ad5c572ac147f512c7159ghsaWEB
- github.com/ruby-git/ruby-git/pull/569ghsaWEB
- github.com/rubysec/ruby-advisory-db/blob/master/gems/git/CVE-2022-25648.ymlghsaWEB
- lists.debian.org/debian-lts-announce/2023/01/msg00043.htmlghsamailing-listWEB
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PTJUF6SFPL4ZVSJQHGQ36KFPFO5DQVYZghsaWEB
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Q2V3HOFU4ZVTQZHAVAVL3EX2KU53SP7RghsaWEB
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XWNJA7WPE67LJ3DJMWZ2TADHCZKWMY55ghsaWEB
- snyk.io/vuln/SNYK-RUBY-GIT-2421270ghsaWEB
- github.com/ruby-git/ruby-git/releases/tag/v1.11.0mitre
News mentions
0No linked articles in our index yet.