{"id":"UBUNTU-CVE-2022-46648","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-47318.","modified":"2025-10-24T04:54:01Z","published":"2023-01-17T10:15:00Z","upstream":["CVE-2022-46648"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-46648"},{"type":"REPORT","url":"https://github.com/ruby-git/ruby-git/pull/602"},{"type":"REPORT","url":"https://github.com/ruby-git/ruby-git"},{"type":"REPORT","url":"https://jvn.jp/en/jp/JVN16765254/index.html"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-46648"}],"affected":[{"package":{"name":"ruby-git","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/ruby-git@1.2.8-1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.8-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.2.8-1","binary_name":"ruby-git"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-46648.json"}},{"package":{"name":"ruby-git","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/ruby-git@1.2.8-1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.8-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.2.8-1","binary_name":"ruby-git"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-46648.json"}},{"package":{"name":"ruby-git","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/ruby-git@1.6.0+0-1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.8-1","1.6.0+0-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.6.0+0-1","binary_name":"ruby-git"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-46648.json"}},{"package":{"name":"ruby-git","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/ruby-git@1.9.1-1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.0-1","1.9.1-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.9.1-1","binary_name":"ruby-git"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-46648.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}