CVE Catalog

CVE-2023-7216

MediumCVSS 5.3
Published: Updated: Translated: NVD NIST

Summary

A path traversal vulnerability was found in the CPIO utility. During extraction, the archiver could follow symlinks outside of the intended directory, allowing files to be written in arbitrary directories through symlinks.

Risk Assessment

An attacker could trick a user into opening a specially crafted archive, potentially overwriting system files or placing malicious files in critical directories.

Recommendation

Update CPIO to a version containing the fix. Avoid extracting untrusted CPIO archives, especially those containing symlinks.

Other vulnerabilities in CPIO

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS