8.1high
Command Injection
- Severity
- 8.1high CVSS:3.1 by snyk
- Exploit likelihood
- 4.59% (higher than 91% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-69p6-wvmq-27ggBIT-GIT-2022-25648SNYK-RUBY-GIT-2421270
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| git | from unspecified before 1.11.0 | CVE List |
| git (RubyGems) | before 1.11.0 | GitHub Advisory Database |
| git git | before 1.11.0 | NVD |
| fedoraproject extra_packages_for_enterprise_linux | 8.0 | NVD |
| fedoraproject fedora | 34, 35, 36 | NVD |
| debian debian_linux | 10.0 | NVD |
| git (Bitnami) | before 1.11.0 | Bitnami Vulnerability Database |
All scores
| snyk | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P |
| GitHub | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| Bitnami Vulnerability Database | critical rating |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
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.
NVD (es)
El paquete git versiones anteriores a 1.11.0, es vulnerable a una inyección de comandos por medio de una inyección de argumentos git. Cuando es llamada a la función fetch(remote = "origin", opts = {}), el parámetro remoto es pasado al subcomando git fetch de forma que pueden establecerse flags adicionales. Los flags adicionales pueden ser usados para llevar a cabo una inyección de comandos
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-25648 changed 2024-09-16 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-69p6-wvmq-27gg changed 2026-07-08 | CC-BY-4.0 |
| NVD | CVE-2022-25648 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-GIT-2022-25648 changed 2026-09-08 | Apache-2.0 |