{"id":"USN-5367-1","summary":"fish vulnerability","details":"Justin Steven discovered that fish was not properly filtering local\ngit configuration directives when running background git commands.\nA remote unauthenticated attacker could possibly use this issue to\nexecute arbitrary code.\n","modified":"2026-04-27T16:07:28.928963Z","published":"2022-08-10T18:31:37Z","related":["UBUNTU-CVE-2022-20001"],"upstream":["CVE-2022-20001","UBUNTU-CVE-2022-20001"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5367-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-20001"}],"affected":[{"package":{"name":"fish","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/fish@3.1.0-1.2ubuntu0.1~esm1?arch=source&distro=esm-apps/focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.0-1.2ubuntu0.1~esm1"}]}],"versions":["3.0.2-2","3.1.0-1","3.1.0-1.1","3.1.0-1.2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"fish","binary_version":"3.1.0-1.2ubuntu0.1~esm1"},{"binary_name":"fish-common","binary_version":"3.1.0-1.2ubuntu0.1~esm1"}]},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:20.04:LTS","cves":[{"id":"CVE-2022-20001","severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"score":"medium","type":"Ubuntu"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5367-1.json"}},{"package":{"name":"fish","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/fish@3.3.1+ds-3ubuntu0.1~esm1?arch=source&distro=esm-apps/jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.1+ds-3ubuntu0.1~esm1"}]}],"versions":["3.1.2-3ubuntu1","3.3.1+ds-2","3.3.1+ds-3"],"ecosystem_specific":{"binaries":[{"binary_name":"fish","binary_version":"3.3.1+ds-3ubuntu0.1~esm1"},{"binary_name":"fish-common","binary_version":"3.3.1+ds-3ubuntu0.1~esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"cves_map":{"cves":[{"id":"CVE-2022-20001","severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:Pro:22.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5367-1.json"}}],"schema_version":"1.7.5"}