git is vulnerable to Command Injection. The vulnerability exists in the fetch
function in lib.rb
because remote parameter does not properly sanitize which allows a malicious attacker to inject and execute arbitrary codes.
github.com/advisories/GHSA-69p6-wvmq-27gg
github.com/ruby-git/ruby-git/commit/e36039105c86f1b0512d707054f6158129191472
github.com/ruby-git/ruby-git/pull/569
github.com/ruby-git/ruby-git/releases/tag/v1.11.0
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/