CVE-2022-25648

Summary

CVECVE-2022-25648
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-04-19 17:15:00 UTC
Updated2023-11-07 03:44:00 UTC
DescriptionThe 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.

Risk And Classification

Problem Types: CWE-88

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Debian Debian Linux 10.0 All All All
Application Fedoraproject Extra Packages For Enterprise Linux 8.0 All All All
Operating System Fedoraproject Fedora 34 All All All
Operating System Fedoraproject Fedora 35 All All All
Operating System Fedoraproject Fedora 36 All All All
Application Git Git All All All All

References

ReferenceSourceLinkTags
Command Injection in git | CVE-2022-25648 | Snyk MISC snyk.io
[SECURITY] Fedora 36 Update: rubygem-git-1.11.0-1.fc36 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[SECURITY] Fedora 35 Update: rubygem-git-1.11.0-1.fc35 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
[SECURITY] Fedora 34 Update: rubygem-git-1.11.0-1.fc34 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
Address command line injection in Git::Lib#fetch by jcouball · Pull Request #569 · ruby-git/ruby-git · GitHub MISC github.com
[SECURITY] Fedora 35 Update: rubygem-git-1.11.0-1.fc35 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[SECURITY] Fedora 36 Update: rubygem-git-1.11.0-1.fc36 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
Release Release v1.11.0 · ruby-git/ruby-git · GitHub MISC github.com
[SECURITY] Fedora 34 Update: rubygem-git-1.11.0-1.fc34 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
[SECURITY] [DLA 3303-1] ruby-git security update MLIST lists.debian.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

LEGACY: Alessio Della Libera of Snyk Research Team

Legacy QID Mappings

  • 181523 Debian Security Update for ruby-git (DLA 3303-1)
  • 182408 Debian Security Update for ruby-git (CVE-2022-25648)
  • 240925 Red Hat Update for Satellite 6.12 (RHSA-2022:8506)
  • 282775 Fedora Security Update for rubygem (FEDORA-2022-353e1cf8b6)
  • 282776 Fedora Security Update for rubygem (FEDORA-2022-1aa40056fc)
  • 282777 Fedora Security Update for rubygem (FEDORA-2022-f09e0d8b0e)
  • 960485 Rocky Linux Security Update for Satellite (RLSA-2022:8506)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report