{"id":"BIT-git-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":["CVE-2022-25648","GHSA-69p6-wvmq-27gg"],"modified":"2025-05-20T10:02:07.006Z","published":"2024-03-06T10:52:03.704Z","database_specific":{"cpes":["cpe:2.3:a:git:git:*:*:*:*:*:ruby:*:*"],"severity":"Critical"},"references":[{"type":"WEB","url":"https://github.com/ruby-git/ruby-git/pull/569"},{"type":"WEB","url":"https://github.com/ruby-git/ruby-git/releases/tag/v1.11.0"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/01/msg00043.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PTJUF6SFPL4ZVSJQHGQ36KFPFO5DQVYZ/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Q2V3HOFU4ZVTQZHAVAVL3EX2KU53SP7R/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XWNJA7WPE67LJ3DJMWZ2TADHCZKWMY55/"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-RUBY-GIT-2421270"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25648"}],"affected":[{"package":{"name":"git","ecosystem":"Bitnami","purl":"pkg:bitnami/git"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.11.0"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/git/BIT-git-2022-25648.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}],"schema_version":"1.7.3"}