{"id":"USN-5378-1","summary":"gzip vulnerability","details":"Cleemy Desu Wayo discovered that Gzip incorrectly handled certain\nfilenames. If a user or automated system were tricked into performing zgrep\noperations with specially crafted filenames, a remote attacker could\noverwrite arbitrary files.\n","modified":"2026-02-10T04:42:34Z","published":"2022-04-13T12:37:06Z","related":["UBUNTU-CVE-2022-1271"],"upstream":["CVE-2022-1271","UBUNTU-CVE-2022-1271"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5378-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-1271"}],"affected":[{"package":{"name":"gzip","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/gzip@1.6-5ubuntu1.2?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6-5ubuntu1.2"}]}],"versions":["1.6-5ubuntu1","1.6-5ubuntu1.1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.6-5ubuntu1.2","binary_name":"gzip"},{"binary_version":"1.6-5ubuntu1.2","binary_name":"gzip-win32"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5378-1.json","cves_map":{"ecosystem":"Ubuntu:18.04:LTS","cves":[{"id":"CVE-2022-1271","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}]}}},{"package":{"name":"gzip","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/gzip@1.10-0ubuntu4.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10-0ubuntu4.1"}]}],"versions":["1.10-0ubuntu3","1.10-0ubuntu4"],"ecosystem_specific":{"binaries":[{"binary_version":"1.10-0ubuntu4.1","binary_name":"gzip"},{"binary_version":"1.10-0ubuntu4.1","binary_name":"gzip-win32"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5378-1.json","cves_map":{"ecosystem":"Ubuntu:20.04:LTS","cves":[{"id":"CVE-2022-1271","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}]}}}],"schema_version":"1.7.3"}