{"id":"CVE-2022-47318","aliases":["CVE-2022-47318","GHSA-pphf-gfrm-v32r"],"related":[],"kind":"vulnerability","state":"published","title":"Code injection in ruby git","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Las versiones de ruby-git anteriores a v1.13.0 permiten a un atacante remoto autenticado ejecutar un código Ruby arbitrario haciendo que un usuario cargue en el producto un repositorio que contiene un nombre de archivo especialmente manipulado. Esta vulnerabilidad es diferente de CVE-2022-46648.","source":"nvd"}],"published":"2023-01-17T00:00:00.000Z","modified":"2026-06-17T05:13:16.580Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","score":8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","score":8,"rating":"HIGH"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"version":"versions prior to v1.13.0","status":"affected"}],"vendor":"ruby-git","product":"ruby-git","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.13.0"}],"ecosystem":"RubyGems","package":"git","purl":"pkg:gem/git","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.13.0"}],"vendor":"ruby-git_project","product":"ruby-git","cpe":"cpe:2.3:a:ruby-git_project:ruby-git:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"10.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"37"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/ruby-git/ruby-git","tags":["package","product","third-party-advisory","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/ruby-git/ruby-git/pull/602","tags":["patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://jvn.jp/en/jp/JVN16765254/index.html","tags":["third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4KPFLSZPUM7APWVBRM5DCAY5OUVQBF4K/","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/01/msg00043.html","tags":["mailing-list","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-47318","tags":["advisory"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4KPFLSZPUM7APWVBRM5DCAY5OUVQBF4K","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"jpcert","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-04-04T15:52:43.778Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-47318","url":"https://www.cve.org/CVERecord?id=CVE-2022-47318","licence":"CVE Terms of Use","modified":"2025-04-04T15:54:32.976Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-pphf-gfrm-v32r","url":"https://github.com/advisories/GHSA-pphf-gfrm-v32r","licence":"CC-BY-4.0","modified":"2024-02-19T05:28:03.923Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-47318","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-47318","licence":"Public domain","modified":"2026-06-17T05:13:16.580Z"}],"updatedAt":"2026-11-25T22:58:18.224Z","epss":{"score":0.01476,"percentile":0.74602,"date":"2026-12-01T12:00:22.000Z"}}