Skip to content
5.3 Medium

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

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.

CVSS 3.1 detail

Vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L

Exploitable with local access to the machine, without an account and if a user takes an action; the impact on data or service is limited.

Attack vector
Local
Attack complexity
Low
Privileges required
None
Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low

Affected products and versions

Product Affected versions Fixed in
Red Hat Enterprise Linux 6 Versions not published
Red Hat Enterprise Linux 7 Versions not published
Red Hat Enterprise Linux 8 Versions not published
Red Hat Enterprise Linux 9 Versions not published
The 1339 CVEs of Red Hat Enterprise Linux 6 →
Track this CVE