{"id":"USN-9266-1","summary":"ruby-git vulnerabilities","details":"It was discovered that ruby-git passed the remote argument of its fetch\nfunction to the git fetch command in a way that allowed additional options\nto be set. An attacker could possibly use this issue to execute arbitrary\ncommands. (CVE-2022-25648)\n\nIt was discovered that ruby-git incorrectly handled certain file names when\nloading a repository. If a user were tricked into loading a repository\ncontaining a specially crafted file name, an attacker could possibly use\nthese issues to execute arbitrary Ruby code. (CVE-2022-46648,\nCVE-2022-47318)","modified":"2026-12-02T02:28:39.958855230Z","published":"2026-11-30T22:04:09Z","related":["UBUNTU-CVE-2022-25648","UBUNTU-CVE-2022-46648","UBUNTU-CVE-2022-47318"],"upstream":["CVE-2022-25648","CVE-2022-46648","CVE-2022-47318","UBUNTU-CVE-2022-25648","UBUNTU-CVE-2022-46648","UBUNTU-CVE-2022-47318"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-9266-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-25648"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-46648"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-47318"}],"affected":[{"package":{"name":"ruby-git","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/ruby-git?arch=source&distro=esm-apps-legacy%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.8-1ubuntu0.16.04.1~esm1"}]}],"versions":["1.2.8-1"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-git","binary_version":"1.2.8-1ubuntu0.16.04.1~esm1"}],"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:16.04:LTS","cves":[{"severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"CNA","type":"CVSS_V3"},{"source":"NVD","type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium","source":"SELF"}],"id":"CVE-2022-25648"},{"id":"CVE-2022-46648","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","source":"NVD"},{"score":"medium","source":"SELF","type":"Ubuntu"}]},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/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","source":"NVD"},{"type":"Ubuntu","score":"medium","source":"SELF"}],"id":"CVE-2022-47318"}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9266-1.json"}},{"package":{"name":"ruby-git","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/ruby-git?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.8-1ubuntu0.18.04.1~esm1"}]}],"versions":["1.2.8-1"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-git","binary_version":"1.2.8-1ubuntu0.18.04.1~esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:18.04:LTS","cves":[{"id":"CVE-2022-25648","severity":[{"source":"CNA","type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"NVD"},{"score":"medium","source":"SELF","type":"Ubuntu"}]},{"id":"CVE-2022-46648","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"},{"score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","source":"NVD","type":"CVSS_V3"},{"source":"SELF","type":"Ubuntu","score":"medium"}]},{"id":"CVE-2022-47318","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"source":"NVD","type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"},{"score":"medium","source":"SELF","type":"Ubuntu"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9266-1.json"}},{"package":{"name":"ruby-git","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/ruby-git?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.0+0-1ubuntu0.1~esm1"}]}],"versions":["1.2.8-1","1.6.0+0-1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"1.6.0+0-1ubuntu0.1~esm1","binary_name":"ruby-git"}]},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:20.04:LTS","cves":[{"id":"CVE-2022-25648","severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"CNA","type":"CVSS_V3"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"NVD"},{"type":"Ubuntu","score":"medium","source":"SELF"}]},{"id":"CVE-2022-46648","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"},{"source":"NVD","type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"},{"source":"SELF","type":"Ubuntu","score":"medium"}]},{"id":"CVE-2022-47318","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","source":"NVD","type":"CVSS_V3"},{"score":"medium","source":"SELF","type":"Ubuntu"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9266-1.json"}},{"package":{"name":"ruby-git","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/ruby-git?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9.1-1ubuntu0.1~esm1"}]}],"versions":["1.7.0-1","1.9.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-git","binary_version":"1.9.1-1ubuntu0.1~esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9266-1.json","cves_map":{"ecosystem":"Ubuntu:Pro:22.04:LTS","cves":[{"severity":[{"source":"CNA","type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"source":"NVD","type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium","source":"SELF"}],"id":"CVE-2022-25648"},{"id":"CVE-2022-46648","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","source":"NVD"},{"type":"Ubuntu","score":"medium","source":"SELF"}]},{"id":"CVE-2022-47318","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"source":"NVD","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","source":"SELF"}]}]}}}],"schema_version":"1.9.2"}