Skip to main content
← All vulnerabilities
CVE-2022-25648GHSA-69P6-WVMQ-27GGBIT-GIT-2022-25648SNYK-RUBY-GIT-2421270

Command Injection

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.11.0
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a git

    fixed in 1.11.0

  • gitRubyGems

    fixed in 1.11.0

References 7

snyk.io

GitHub · ruby-git/ruby-git

lists.fedoraproject.org

lists.debian.org