{"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-11-24T14:51:29.301373209Z","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?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":{"binaries":[{"binary_version":"2.12+dfsg-6ubuntu0.18.04.4","binary_name":"cpio"},{"binary_name":"cpio-win32","binary_version":"2.12+dfsg-6ubuntu0.18.04.4"}],"availability":"No subscription required"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:18.04:LTS","cves":[{"id":"CVE-2021-38185","severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"NVD","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","source":"SELF","type":"Ubuntu"}]}]},"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?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":{"binaries":[{"binary_name":"cpio","binary_version":"2.13+dfsg-2ubuntu0.3"},{"binary_name":"cpio-win32","binary_version":"2.13+dfsg-2ubuntu0.3"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5064-1.json","cves_map":{"ecosystem":"Ubuntu:20.04:LTS","cves":[{"severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"NVD","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"},{"source":"SELF","type":"Ubuntu","score":"medium"}],"id":"CVE-2021-38185"}]}}}],"schema_version":"1.9.2"}