{"api_version":"1","generated_at":"2026-04-22T19:36:51+00:00","cve":"CVE-2022-47318","urls":{"html":"https://cve.report/CVE-2022-47318","api":"https://cve.report/api/cve/CVE-2022-47318.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-47318","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-47318"},"summary":{"title":"CVE-2022-47318","description":"ruby-git versions prior to v1.13.0 allows a remote authenticated attacker to execute an arbitrary ruby code by having a user to load a repository containing a specially crafted filename to the product. This vulnerability is different from CVE-2022-46648.","state":"PUBLIC","assigner":"vultures@jpcert.or.jp","published_at":"2023-01-17 10:15:00","updated_at":"2023-11-07 03:56:00"},"problem_types":["NVD-CWE-noinfo"],"metrics":[],"references":[{"url":"https://github.com/ruby-git/ruby-git","name":"https://github.com/ruby-git/ruby-git","refsource":"MISC","tags":[],"title":"GitHub - ruby-git/ruby-git: Ruby/Git is a Ruby library that can be used to create, read and manipulate Git repositories by wrapping system calls to the git binary.","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4KPFLSZPUM7APWVBRM5DCAY5OUVQBF4K/","name":"FEDORA-2023-e3985c2b3b","refsource":"","tags":[],"title":"[SECURITY] Fedora 37 Update: rubygem-git-1.13.0-1.fc37 - 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/4KPFLSZPUM7APWVBRM5DCAY5OUVQBF4K/","name":"FEDORA-2023-e3985c2b3b","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 37 Update: rubygem-git-1.13.0-1.fc37 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/ruby-git/ruby-git/pull/602","name":"https://github.com/ruby-git/ruby-git/pull/602","refsource":"MISC","tags":[],"title":"In ls-files do not unescape file paths with eval by jcouball · Pull Request #602 · ruby-git/ruby-git · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://jvn.jp/en/jp/JVN16765254/index.html","name":"https://jvn.jp/en/jp/JVN16765254/index.html","refsource":"MISC","tags":[],"title":"JVN#16765254: Multiple code injection vulnerabilities in ruby-git","mime":"text/xml","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-47318","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-47318","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"47318","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":"47318","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"37","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"47318","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"ruby-git_project","cpe5":"ruby-git","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2022-47318","qid":"181523","title":"Debian Security Update for ruby-git (DLA 3303-1)"},{"cve":"CVE-2022-47318","qid":"184049","title":"Debian Security Update for ruby-git (CVE-2022-47318)"},{"cve":"CVE-2022-47318","qid":"242229","title":"Red Hat Update for Satellite 6.11.5.6 (RHSA-2023:5980)"},{"cve":"CVE-2022-47318","qid":"242230","title":"Red Hat Update for Satellite 6.12.5.2 (RHSA-2023:5979)"},{"cve":"CVE-2022-47318","qid":"242347","title":"Red Hat Update for Satellite 6.14 (RHSA-2023:6818)"},{"cve":"CVE-2022-47318","qid":"242363","title":"Red Hat Update for Satellite 6.13.5 (RHSA-2023:5931)"},{"cve":"CVE-2022-47318","qid":"283647","title":"Fedora Security Update for rubygem (FEDORA-2023-e3985c2b3b)"},{"cve":"CVE-2022-47318","qid":"961065","title":"Rocky Linux Security Update for Satellite (RLSA-2023:6818)"}]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ID":"CVE-2022-47318","ASSIGNER":"vultures@jpcert.or.jp","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"vendor_name":"ruby-git","product":{"product_data":[{"product_name":"ruby-git","version":{"version_data":[{"version_value":"versions prior to v1.13.0"}]}}]}}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Code injection"}]}]},"references":{"reference_data":[{"url":"https://github.com/ruby-git/ruby-git","refsource":"MISC","name":"https://github.com/ruby-git/ruby-git"},{"url":"https://github.com/ruby-git/ruby-git/pull/602","refsource":"MISC","name":"https://github.com/ruby-git/ruby-git/pull/602"},{"url":"https://jvn.jp/en/jp/JVN16765254/index.html","refsource":"MISC","name":"https://jvn.jp/en/jp/JVN16765254/index.html"},{"refsource":"FEDORA","name":"FEDORA-2023-e3985c2b3b","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4KPFLSZPUM7APWVBRM5DCAY5OUVQBF4K/"},{"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":"ruby-git versions prior to v1.13.0 allows a remote authenticated attacker to execute an arbitrary ruby code by having a user to load a repository containing a specially crafted filename to the product. This vulnerability is different from CVE-2022-46648."}]}},"nvd":{"publishedDate":"2023-01-17 10:15:00","lastModifiedDate":"2023-11-07 03:56:00","problem_types":["NVD-CWE-noinfo"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8,"baseSeverity":"HIGH"},"exploitabilityScore":2.1,"impactScore":5.9}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:ruby-git_project:ruby-git:*:*:*:*:*:*:*:*","versionEndExcluding":"1.13.0","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}