CVE-2022-25648
highpriority · track · 41EPSS 0.049 · 92 %ileDEEURUUSEPSS · scored 2026-10-27
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 7.5–9.8
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (23)
Products and version ranges known to be affected.
- fedoraproject extra packages for enterprise linux= 8.0nvdUScpe:2.3:a:fedoraproject:extra_packages_for_enterprise_linux:*:*:*:*:*:*:*:*
advisories (3)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2022-2059Ruby: Schwachstelle ermöglicht CodeausführungDeutsch2022-04-27csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann eine Schwachstelle in ruby-git ausnutzen, um beliebigen Programmcode auszuführen.
- GHSA-69p6-wvmq-27ggCommand injection in ruby-git2022-04-20ghsa · osvUS
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.
- BIT-git-2022-25648Command Injection2024-03-06vendor · osvUS
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.
also known as (7)
Other names and identifiers for this entity.
- CNNVD-202204-3791cnnvd
- EUVD-2022-1646enisa_euvd
- BDU:2024-02281fstec_bdu
- GHSA-69p6-wvmq-27ggenisa_euvd
- BIT-git-2022-25648osv
- GHSA-69p6-wvmq-27ggosv
- SNYK-RUBY-GIT-2421270osv
sources
Which sources assert this record, and when.
references (27)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2022-25648cnnvd
- https://cxsecurity.com/cveshow/CVE-2022-25648/cnnvd
- https://github.com/ruby-git/ruby-git/pull/569cnnvd
- https://github.com/ruby-git/ruby-git/releases/tag/v1.11.0cnnvd
- https://lists.debian.org/debian-lts-announce/2023/01/msg00043.htmlcnnvd
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PTJUF6SFPL4ZVSJQHGQ36KFPFO5DQVYZ/cnnvd
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Q2V3HOFU4ZVTQZHAVAVL3EX2KU53SP7R/cnnvd
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XWNJA7WPE67LJ3DJMWZ2TADHCZKWMY55/cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan