Skip to content

CVE-2023-7216 Cpio: extraction allows symlinks which enables remote command execution

MediumCVSS 5.3 EPSS 0.90%
Published
Updated
Exploit status
No public exploit known

Description

A path traversal vulnerability was found in the CPIO utility. This issue could allow a remote unauthenticated attacker to trick a user into opening a specially crafted archive. During the extraction process, the archiver could follow symlinks outside of the intended directory, which allows files to be written in arbitrary directories through symlinks.

Affected products

ProductAffected versionsFixed in
redhat rhel els = 6 No fix listed
redhat rhel els All versions No fix listed
redhat enterprise linux All versions No fix listed
ubuntu/cpio(Ubuntu:22.04) All versions No fix listed
ubuntu/cpio(Ubuntu:24.04) All versions No fix listed
ubuntu/cpio(Ubuntu:26.04) All versions No fix listed
ubuntu/cpio(Ubuntu:26.10) All versions No fix listed
GNU cpio All versions No fix listed
redhat enterprise linux = 7.0 No fix listed
redhat enterprise linux = 8.0 No fix listed
redhat enterprise linux = 9.0 No fix listed

References