{"id":"USN-5446-1","summary":"dpkg vulnerability","details":"Max Justicz discovered that dpkg incorrectly handled unpacking certain\nsource packages. If a user or an automated system were tricked into\nunpacking a specially crafted source package, a remote attacker could\nmodify files outside the target unpack directory, leading to a denial of\nservice or potentially gaining access to the system.\n","modified":"2026-04-27T16:09:44.637136Z","published":"2022-05-26T11:16:17Z","related":["UBUNTU-CVE-2022-1664"],"upstream":["CVE-2022-1664","UBUNTU-CVE-2022-1664"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5446-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-1664"}],"affected":[{"package":{"name":"dpkg","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/dpkg@1.19.0.5ubuntu2.4?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.19.0.5ubuntu2.4"}]}],"versions":["1.18.24ubuntu1","1.19.0.4ubuntu1","1.19.0.5ubuntu1","1.19.0.5ubuntu2","1.19.0.5ubuntu2.1","1.19.0.5ubuntu2.2","1.19.0.5ubuntu2.3"],"ecosystem_specific":{"binaries":[{"binary_version":"1.19.0.5ubuntu2.4","binary_name":"dpkg"},{"binary_version":"1.19.0.5ubuntu2.4","binary_name":"dselect"},{"binary_version":"1.19.0.5ubuntu2.4","binary_name":"libdpkg-perl"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5446-1.json","cves_map":{"ecosystem":"Ubuntu:18.04:LTS","cves":[{"severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2022-1664"}]}}},{"package":{"name":"dpkg","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/dpkg@1.19.7ubuntu3.2?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.19.7ubuntu3.2"}]}],"versions":["1.19.7ubuntu2","1.19.7ubuntu3"],"ecosystem_specific":{"binaries":[{"binary_version":"1.19.7ubuntu3.2","binary_name":"dpkg"},{"binary_version":"1.19.7ubuntu3.2","binary_name":"dselect"},{"binary_version":"1.19.7ubuntu3.2","binary_name":"libdpkg-perl"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5446-1.json","cves_map":{"ecosystem":"Ubuntu:20.04:LTS","cves":[{"severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2022-1664"}]}}},{"package":{"name":"dpkg","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/dpkg@1.21.1ubuntu2.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.21.1ubuntu2.1"}]}],"versions":["1.20.9ubuntu2","1.20.9ubuntu3","1.21.1ubuntu1","1.21.1ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.21.1ubuntu2.1","binary_name":"dpkg"},{"binary_version":"1.21.1ubuntu2.1","binary_name":"dselect"},{"binary_version":"1.21.1ubuntu2.1","binary_name":"libdpkg-perl"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5446-1.json","cves_map":{"ecosystem":"Ubuntu:22.04:LTS","cves":[{"severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2022-1664"}]}}}],"schema_version":"1.7.5"}