{"id":"ALPINE-CVE-2019-14866","details":"In all versions of cpio before 2.13 does not properly validate input files when generating TAR archives. When cpio is used to create TAR archives from paths an attacker can write to, the resulting archive may contain files with permissions the attacker did not have or in paths he did not have access to. Extracting those archives from a high-privilege user without carefully reviewing them may lead to the compromise of the system.","modified":"2026-11-03T06:32:35.037561949Z","published":"2020-01-07T17:15:11.377Z","upstream":["CVE-2019-14866"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2019-14866"}],"affected":[{"package":{"name":"cpio","ecosystem":"Alpine:v3.11","purl":"pkg:apk/alpine/cpio?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.13-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-14866.json"}},{"package":{"name":"cpio","ecosystem":"Alpine:v3.12","purl":"pkg:apk/alpine/cpio?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.13-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-14866.json"}},{"package":{"name":"cpio","ecosystem":"Alpine:v3.13","purl":"pkg:apk/alpine/cpio?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.13-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-14866.json"}},{"package":{"name":"cpio","ecosystem":"Alpine:v3.14","purl":"pkg:apk/alpine/cpio?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.13-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-14866.json"}},{"package":{"name":"cpio","ecosystem":"Alpine:v3.15","purl":"pkg:apk/alpine/cpio?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.13-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-14866.json"}},{"package":{"name":"cpio","ecosystem":"Alpine:v3.16","purl":"pkg:apk/alpine/cpio?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.13-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-14866.json"}},{"package":{"name":"cpio","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/cpio?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.13-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-14866.json"}},{"package":{"name":"cpio","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/cpio?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.13-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-14866.json"}},{"package":{"name":"cpio","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/cpio?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.13-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-14866.json"}},{"package":{"name":"cpio","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/cpio?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.13-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-14866.json"}},{"package":{"name":"cpio","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/cpio?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.13-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-14866.json"}},{"package":{"name":"cpio","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/cpio?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.13-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-14866.json"}},{"package":{"name":"cpio","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/cpio?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.13-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-14866.json"}},{"package":{"name":"cpio","ecosystem":"Alpine:v3.24","purl":"pkg:apk/alpine/cpio?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.13-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-14866.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"}]}