{"api_version":"1","generated_at":"2026-04-23T02:25:03+00:00","cve":"CVE-2022-25648","urls":{"html":"https://cve.report/CVE-2022-25648","api":"https://cve.report/api/cve/CVE-2022-25648.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-25648","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-25648"},"summary":{"title":"CVE-2022-25648","description":"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.","state":"PUBLIC","assigner":"report@snyk.io","published_at":"2022-04-19 17:15:00","updated_at":"2023-11-07 03:44:00"},"problem_types":["CWE-88"],"metrics":[],"references":[{"url":"https://snyk.io/vuln/SNYK-RUBY-GIT-2421270","name":"https://snyk.io/vuln/SNYK-RUBY-GIT-2421270","refsource":"MISC","tags":[],"title":"Command Injection in git | CVE-2022-25648 | Snyk","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Q2V3HOFU4ZVTQZHAVAVL3EX2KU53SP7R/","name":"FEDORA-2022-1aa40056fc","refsource":"","tags":[],"title":"[SECURITY] Fedora 36 Update: rubygem-git-1.11.0-1.fc36 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PTJUF6SFPL4ZVSJQHGQ36KFPFO5DQVYZ/","name":"FEDORA-2022-f09e0d8b0e","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 35 Update: rubygem-git-1.11.0-1.fc35 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XWNJA7WPE67LJ3DJMWZ2TADHCZKWMY55/","name":"FEDORA-2022-353e1cf8b6","refsource":"","tags":[],"title":"[SECURITY] Fedora 34 Update: rubygem-git-1.11.0-1.fc34 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/ruby-git/ruby-git/pull/569","name":"https://github.com/ruby-git/ruby-git/pull/569","refsource":"MISC","tags":[],"title":"Address command line injection in Git::Lib#fetch by jcouball · Pull Request #569 · ruby-git/ruby-git · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PTJUF6SFPL4ZVSJQHGQ36KFPFO5DQVYZ/","name":"FEDORA-2022-f09e0d8b0e","refsource":"","tags":[],"title":"[SECURITY] Fedora 35 Update: rubygem-git-1.11.0-1.fc35 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Q2V3HOFU4ZVTQZHAVAVL3EX2KU53SP7R/","name":"FEDORA-2022-1aa40056fc","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 36 Update: rubygem-git-1.11.0-1.fc36 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/ruby-git/ruby-git/releases/tag/v1.11.0","name":"https://github.com/ruby-git/ruby-git/releases/tag/v1.11.0","refsource":"MISC","tags":[],"title":"Release Release v1.11.0 · ruby-git/ruby-git · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XWNJA7WPE67LJ3DJMWZ2TADHCZKWMY55/","name":"FEDORA-2022-353e1cf8b6","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 34 Update: rubygem-git-1.11.0-1.fc34 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.debian.org/debian-lts-announce/2023/01/msg00043.html","name":"[debian-lts-announce] 20230130 [SECURITY] [DLA 3303-1] ruby-git security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 3303-1] ruby-git security update","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-25648","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25648","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"LEGACY","value":"Alessio Della Libera of Snyk Research Team","lang":""}],"nvd_cpes":[{"cve_year":"2022","cve_id":"25648","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"10.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"25648","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"fedoraproject","cpe5":"extra_packages_for_enterprise_linux","cpe6":"8.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"25648","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"34","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"25648","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"35","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"25648","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"36","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"25648","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"git","cpe5":"git","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"ruby","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2022-25648","qid":"181523","title":"Debian Security Update for ruby-git (DLA 3303-1)"},{"cve":"CVE-2022-25648","qid":"182408","title":"Debian Security Update for ruby-git (CVE-2022-25648)"},{"cve":"CVE-2022-25648","qid":"240925","title":"Red Hat Update for Satellite 6.12 (RHSA-2022:8506)"},{"cve":"CVE-2022-25648","qid":"282775","title":"Fedora Security Update for rubygem (FEDORA-2022-353e1cf8b6)"},{"cve":"CVE-2022-25648","qid":"282776","title":"Fedora Security Update for rubygem (FEDORA-2022-1aa40056fc)"},{"cve":"CVE-2022-25648","qid":"282777","title":"Fedora Security Update for rubygem (FEDORA-2022-f09e0d8b0e)"},{"cve":"CVE-2022-25648","qid":"960485","title":"Rocky Linux Security Update for Satellite (RLSA-2022:8506)"}]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ASSIGNER":"report@snyk.io","DATE_PUBLIC":"2022-04-19T16:34:12.673664Z","ID":"CVE-2022-25648","STATE":"PUBLIC","TITLE":"Command Injection"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"git","version":{"version_data":[{"version_affected":"<","version_value":"1.11.0"}]}}]},"vendor_name":"n/a"}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Command Injection"}]}]},"references":{"reference_data":[{"refsource":"MISC","url":"https://snyk.io/vuln/SNYK-RUBY-GIT-2421270","name":"https://snyk.io/vuln/SNYK-RUBY-GIT-2421270"},{"refsource":"MISC","url":"https://github.com/ruby-git/ruby-git/releases/tag/v1.11.0","name":"https://github.com/ruby-git/ruby-git/releases/tag/v1.11.0"},{"refsource":"MISC","url":"https://github.com/ruby-git/ruby-git/pull/569","name":"https://github.com/ruby-git/ruby-git/pull/569"},{"refsource":"FEDORA","name":"FEDORA-2022-353e1cf8b6","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XWNJA7WPE67LJ3DJMWZ2TADHCZKWMY55/"},{"refsource":"FEDORA","name":"FEDORA-2022-f09e0d8b0e","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PTJUF6SFPL4ZVSJQHGQ36KFPFO5DQVYZ/"},{"refsource":"FEDORA","name":"FEDORA-2022-1aa40056fc","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Q2V3HOFU4ZVTQZHAVAVL3EX2KU53SP7R/"},{"refsource":"MLIST","name":"[debian-lts-announce] 20230130 [SECURITY] [DLA 3303-1] ruby-git security update","url":"https://lists.debian.org/debian-lts-announce/2023/01/msg00043.html"}]},"description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","baseScore":8.1,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},"credit":[{"lang":"eng","value":"Alessio Della Libera of Snyk Research Team"}]},"nvd":{"publishedDate":"2022-04-19 17:15:00","lastModifiedDate":"2023-11-07 03:44:00","problem_types":["CWE-88"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":7.5},"severity":"HIGH","exploitabilityScore":10,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:git:git:*:*:*:*:*:ruby:*:*","versionEndExcluding":"1.11.0","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:fedoraproject:extra_packages_for_enterprise_linux:8.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}