CVEvulnerability
CVE-2022-25648
9.8 CRITICAL
Official page ↗
- Status
- Modified
- Published
- 2022-04-19
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 8.1 HIGH — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.1 ([email protected])
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-88
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 configurations
• git git (< 1.11.0)
• fedoraproject extra packages for enterprise linux 8.0
• fedoraproject fedora 34
• fedoraproject fedora 35
• fedoraproject fedora 36
• debian debian linux 10.0
Related
Weakness · CWE (1)
- CWE-88 Improper Neutralization of Argument Delimiters in a Command weakness
References
- https://github.com/ruby-git/ruby-git/pull/569 Issue Tracking, Patch
- https://github.com/ruby-git/ruby-git/releases/tag/v1.11.0 Release Notes
- https://lists.debian.org/debian-lts-announce/2023/01/msg00043.html Mailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PTJUF6SFPL4ZVSJQHGQ36KFPFO5DQVYZ/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Q2V3HOFU4ZVTQZHAVAVL3EX2KU53SP7R/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XWNJA7WPE67LJ3DJMWZ2TADHCZKWMY55/ lists.fedoraproject.org
- https://snyk.io/vuln/SNYK-RUBY-GIT-2421270 Exploit, Patch, Third Party Advisory
- https://github.com/ruby-git/ruby-git/pull/569 Issue Tracking, Patch
- https://github.com/ruby-git/ruby-git/releases/tag/v1.11.0 Release Notes
- https://lists.debian.org/debian-lts-announce/2023/01/msg00043.html Mailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PTJUF6SFPL4ZVSJQHGQ36KFPFO5DQVYZ/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Q2V3HOFU4ZVTQZHAVAVL3EX2KU53SP7R/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XWNJA7WPE67LJ3DJMWZ2TADHCZKWMY55/ lists.fedoraproject.org
- https://snyk.io/vuln/SNYK-RUBY-GIT-2421270 Exploit, Patch, Third Party Advisory