CVE-2023-7216 Details
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.
A path traversal vulnerability has been identified in the CPIO utility, affecting several versions across multiple Red Hat Enterprise Linux releases. This vulnerability allows remote, unauthenticated attackers to manipulate users into opening specially crafted CPIO archives. During extraction, CPIO follows symlinks outside the intended directory, enabling files to be written to arbitrary locations through these symlinks. This behavior can be exploited to achieve remote code execution on the affected system.
Users can mitigate this vulnerability by using the '--no-absolute-filenames' option when extracting CPIO archives, which prevents the archiver from following symlinks to unintended locations.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 7, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2023-7216 | CVE | Third Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2249901 | CVE | ExploitIssue TrackingThird Party Advisory |
| https://access.redhat.com/security/cve/CVE-2023-7216 | [email protected] | Third Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2249901 | [email protected] | ExploitIssue TrackingThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
| CWE-59 | Improper Link Resolution Before File Access ('Link Following') | [email protected] |
| CWE-59 | Improper Link Resolution Before File Access ('Link Following') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| gnu cpio | All versions |
CPE
Remediation
| |
| redhat enterprise linux | 7.0 8.0 9.0 |
CPE
Remediation
| |
Change History
17 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 6, 2026 | CVE Modified | CVE |
| Nov 6, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 25, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| Sep 19, 2024 | CVE Modified | [email protected] |
| Sep 9, 2024 | CVE Modified | [email protected] |
| Jun 12, 2024 | CVE Modified | [email protected] |
| May 14, 2024 | CVE Modified | [email protected] |
| May 13, 2024 | CVE Modified | [email protected] |
| Mar 26, 2024 | CVE Modified | [email protected] |
| Mar 12, 2024 | Modified Analysis | [email protected] |
| Mar 11, 2024 | CVE Modified | [email protected] |
| Feb 19, 2024 | CVE Modified | [email protected] |
| Feb 13, 2024 | Initial Analysis | [email protected] |
| Feb 5, 2024 | New CVE Received | [email protected] |