{"id":"CVE-2022-46648","published":"2023-01-17T00:00:00Z","modified":"2025-04-04T18:52:30Z","title":"ruby-git versions prior to v1.13.0 allows a remote authenticated attacker to execute an arbitrary ruby code by having…","vendor":"ruby-git","product":"ruby-git","tier":"tail","description":{"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-47318.","provenance":"source","from":"CVE.org"},"cvss":{"score":8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.01467,"percentile":0.74333,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/ruby-git/ruby-git","tags":[]},{"url":"https://github.com/ruby-git/ruby-git/pull/602","tags":[]},{"url":"https://jvn.jp/en/jp/JVN16765254/index.html","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2023/01/msg00043.html","tags":["mailing-list"]}],"priority":{"score":20.5,"factors":[{"name":"EPSS percentile","points":14.87},{"name":"CVSS severity","points":5.6}]},"vendorSlug":"ruby-git","affectedVersions":[{"vendor":"ruby-git","product":"ruby-git","versions":["versions prior to v1.13.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-04-04T18:51:53.886578Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"git","vulnerableRanges":[">=1.2.0, <1.13.0"],"patched":["1.13.0"],"from":["GHSA-pfpr-3463-c6jh"],"provenance":"source"}],"summary":{"text":"The ruby-git library, in versions prior to v1.13.0, contains a code injection flaw (CWE-94, improper control of code generation) in how it handles repository filenames. An authenticated remote attacker who can get a user to load a repository containing a specially crafted filename can cause arbitrary Ruby code to execute, which requires user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:15:03Z"},"euvd":{"id":"EUVD-2023-0518","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-25648","published":"2022-04-19","fixed":"1.11.0","kev":false,"link":{"from":"CVE-2022-25648","to":"CVE-2022-46648","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:git","fromFixed":"1.11.0","toFixed":"1.13.0","daysApart":273}]}},{"cve":"CVE-2022-46648","published":"2023-01-17","fixed":"1.13.0","kev":false},{"cve":"CVE-2022-47318","published":"2023-01-17","fixed":"1.13.0","kev":false}],"package":"RubyGems:git"}}