Jenkins Git Client Plugin 2.8.4 and earlier and 3.0.0-rc did not properly restrict values passed as URL argument to an invocation of 'git ls-remote', resulting in OS command injection.
https://github.com/advisories/GHSA-hw6x-2qwv-rxr7
https://github.com/ftk-sostupid/CVE-2019-10392_EXP
https://github.com/jas502n/CVE-2019-10392
https://jenkins.io/security/advisory/2019-09-12/#SECURITY-1534