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.com/ruby-git/ruby-git/pull/569
github.com/ruby-git/ruby-git/releases/tag/v1.11.0
lists.debian.org/debian-lts-announce/2023/01/msg00043.html
lists.fedoraproject.org/archives/list/[email protected]/message/PTJUF6SFPL4ZVSJQHGQ36KFPFO5DQVYZ/
lists.fedoraproject.org/archives/list/[email protected]/message/Q2V3HOFU4ZVTQZHAVAVL3EX2KU53SP7R/
lists.fedoraproject.org/archives/list/[email protected]/message/XWNJA7WPE67LJ3DJMWZ2TADHCZKWMY55/
snyk.io/vuln/SNYK-RUBY-GIT-2421270