{"id":"CVE-2022-47318","details":"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.","aliases":["GHSA-pphf-gfrm-v32r"],"modified":"2026-10-22T10:34:04.193601073Z","published":"2023-01-17T00:00:00Z","database_specific":{"cna_assigner":"jpcert","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/47xxx/CVE-2022-47318.json"},"references":[{"type":"WEB","url":"https://jvn.jp/en/jp/JVN16765254/index.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/47xxx/CVE-2022-47318.json"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4KPFLSZPUM7APWVBRM5DCAY5OUVQBF4K/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-47318"},{"type":"FIX","url":"https://github.com/ruby-git/ruby-git/pull/602"},{"type":"PACKAGE","url":"https://github.com/ruby-git/ruby-git"},{"type":"ARTICLE","url":"https://lists.debian.org/debian-lts-announce/2023/01/msg00043.html"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ruby-git/ruby-git","events":[{"introduced":"0"},{"fixed":"ca8ff350a63172630b8e9e919e02a0ce8e7a7a6d"}],"database_specific":{"extracted_events":[{"strategy":"VersionTextExtraction","range":[{"introduced":"0"},{"fixed":"1.13.0"}],"source":"AFFECTED_FIELD"},{"cpe":"cpe:2.3:a:ruby-git_project:ruby-git:*:*:*:*:*:*:*:*","range":[{"introduced":"0"},{"fixed":"1.13.0"}],"source":"CPE_RANGE"}]}}],"versions":["v1.12.0","v1.11.0","v1.10.0","v1.9.1","v1.9.0","v1.8.1","v1.8.0","v1.7.0","v1.6.0","v1.5.0","v1.4.0","v1.3.0","v1.2.10","v1.2.9.1","v1.2.9","v1.2.8","v1.2.7","v1.2.6","v1.2.5","v1.2.4","v1.2.3","v1.2.2","v1.2.1","v1.2.0","v1.0.7","1.0.5.1","1.0.5","1.0.3"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-47318.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}