{"id":"CVE-2022-25648","summary":"Command Injection","details":"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.","aliases":["BIT-git-2022-25648","GHSA-69p6-wvmq-27gg","SNYK-RUBY-GIT-2421270"],"modified":"2026-05-17T11:55:03.253757769Z","published":"2022-04-19T16:35:11.215Z","database_specific":{"cna_assigner":"snyk","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25648.json"},"references":[{"type":"WEB","url":"https://github.com/ruby-git/ruby-git/releases/tag/v1.11.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25648.json"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PTJUF6SFPL4ZVSJQHGQ36KFPFO5DQVYZ/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Q2V3HOFU4ZVTQZHAVAVL3EX2KU53SP7R/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XWNJA7WPE67LJ3DJMWZ2TADHCZKWMY55/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25648"},{"type":"ADVISORY","url":"https://snyk.io/vuln/SNYK-RUBY-GIT-2421270"},{"type":"FIX","url":"https://github.com/ruby-git/ruby-git/pull/569"},{"type":"ARTICLE","url":"https://lists.debian.org/debian-lts-announce/2023/01/msg00043.html"}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P"}]}