{"id":"OESA-2021-1325","summary":"cpio security update","details":"GNU cpio copies files into or out of a cpio or tar archive. The archive can be another file on the disk, a magnetic tape, or a pipe.\r\n\r\nSecurity Fix(es):\r\n\r\nGNU cpio through 2.13 allows attackers to execute arbitrary code via a crafted pattern file, because of a dstring.c ds_fgetstr integer overflow that triggers an out-of-bounds heap write. NOTE: it is unclear whether there are common cases where the pattern file, associated with the -E option, is untrusted data.(CVE-2021-38185)","modified":"2026-03-11T06:03:19.618179Z","published":"2021-08-28T11:03:09Z","upstream":["CVE-2021-38185"],"database_specific":{"severity":"High"},"references":[{"type":"ADVISORY","url":"https://openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1325"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-38185"}],"affected":[{"package":{"name":"cpio","ecosystem":"openEuler:20.03-LTS-SP1","purl":"pkg:rpm/openEuler/cpio&distro=openEuler-20.03-LTS-SP1"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.13-4.oe1"}]}],"ecosystem_specific":{"aarch64":["cpio-2.13-4.oe1.aarch64.rpm","cpio-debuginfo-2.13-4.oe1.aarch64.rpm","cpio-debugsource-2.13-4.oe1.aarch64.rpm"],"src":["cpio-2.13-4.oe1.src.rpm"],"noarch":["cpio-help-2.13-4.oe1.noarch.rpm"],"x86_64":["cpio-debugsource-2.13-4.oe1.x86_64.rpm","cpio-2.13-4.oe1.x86_64.rpm","cpio-debuginfo-2.13-4.oe1.x86_64.rpm"]},"database_specific":{"source":"https://repo.openeuler.org/security/data/osv/OESA-2021-1325.json"}},{"package":{"name":"cpio","ecosystem":"openEuler:20.03-LTS-SP2","purl":"pkg:rpm/openEuler/cpio&distro=openEuler-20.03-LTS-SP2"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.13-4.oe1"}]}],"ecosystem_specific":{"aarch64":["cpio-2.13-4.oe1.aarch64.rpm","cpio-debuginfo-2.13-4.oe1.aarch64.rpm","cpio-debugsource-2.13-4.oe1.aarch64.rpm"],"src":["cpio-2.13-4.oe1.src.rpm"],"noarch":["cpio-help-2.13-4.oe1.noarch.rpm"],"x86_64":["cpio-debugsource-2.13-4.oe1.x86_64.rpm","cpio-2.13-4.oe1.x86_64.rpm","cpio-debuginfo-2.13-4.oe1.x86_64.rpm"]},"database_specific":{"source":"https://repo.openeuler.org/security/data/osv/OESA-2021-1325.json"}}],"schema_version":"1.7.5"}