CVE-2023-7216

MEDIUM
Published Feb 5, 2024 Modified Feb 25, 2026 CWE-59 CWE-22

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.

Is your site exposed to CVE-2023-7216?

Run a free security scan — no signup, results in seconds.

CVSS v3.1 Score

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

Weakness Type (CWE)

CWE-59 CWE-59
CWE-22 Path Traversal

Affected Products

Vendor Product
gnu cpio
redhat enterprise_linux
redhat enterprise_linux
redhat enterprise_linux

References

Frequently Asked Questions

What is CVE-2023-7216? +
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. It has a CVSS v3.1 base score of 5.3 (MEDIUM).
How severe is CVE-2023-7216? +
CVE-2023-7216 has a CVSS v3.1 score of 5.3 out of 10, rated MEDIUM. This is a medium-severity vulnerability that should be remediated as part of regular maintenance.
What products are affected by CVE-2023-7216? +
CVE-2023-7216 affects products from gnu, redhat, specifically: cpio, enterprise_linux. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2023-7216? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2023-7216 — free, no signup required.