{"id":"USN-5064-1","summary":"cpio vulnerability","details":"Maverick Chung and Qiaoyi Fang discovered that cpio incorrectly handled\ncertain pattern files. A remote attacker could use this issue to cause cpio\nto crash, resulting in a denial of service, or possibly execute arbitrary\ncode.\n","modified":"2026-02-10T04:42:18Z","published":"2021-09-08T11:14:41Z","related":["UBUNTU-CVE-2021-38185"],"upstream":["CVE-2021-38185","UBUNTU-CVE-2021-38185"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5064-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-38185"}],"affected":[{"package":{"name":"cpio","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/cpio@2.12+dfsg-6ubuntu0.18.04.4?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.12+dfsg-6ubuntu0.18.04.4"}]}],"versions":["2.11+dfsg-6","2.12+dfsg-6","2.12+dfsg-6ubuntu0.18.04.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"2.12+dfsg-6ubuntu0.18.04.4","binary_name":"cpio"},{"binary_version":"2.12+dfsg-6ubuntu0.18.04.4","binary_name":"cpio-win32"}]},"database_specific":{"cves_map":{"cves":[{"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"}],"id":"CVE-2021-38185"}],"ecosystem":"Ubuntu:18.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5064-1.json"}},{"package":{"name":"cpio","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/cpio@2.13+dfsg-2ubuntu0.3?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.13+dfsg-2ubuntu0.3"}]}],"versions":["2.12+dfsg-9","2.12+dfsg-9ubuntu1","2.13+dfsg-1","2.13+dfsg-2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"2.13+dfsg-2ubuntu0.3","binary_name":"cpio"},{"binary_version":"2.13+dfsg-2ubuntu0.3","binary_name":"cpio-win32"}]},"database_specific":{"cves_map":{"cves":[{"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"}],"id":"CVE-2021-38185"}],"ecosystem":"Ubuntu:20.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5064-1.json"}}],"schema_version":"1.7.3"}