CWE
22 59
Advisory Published
CVE Published
Updated

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

First published: Wed Nov 15 2023(Updated: )

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.

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
GNU Cpio
Red Hat Enterprise Linux=7.0
Red Hat Enterprise Linux=8.0
Red Hat Enterprise Linux=9.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2023-7216?

    CVE-2023-7216 is classified as a medium severity vulnerability due to its potential for unauthorized access.

  • How do I fix CVE-2023-7216?

    To fix CVE-2023-7216, update the GNU cpio package to the latest version available from your distribution.

  • What systems are affected by CVE-2023-7216?

    CVE-2023-7216 affects GNU cpio and Red Hat Enterprise Linux versions 7.0, 8.0, and 9.0.

  • Can CVE-2023-7216 be exploited remotely?

    Yes, CVE-2023-7216 can be exploited by a remote unauthenticated attacker if users open affected archives.

  • What type of vulnerability is CVE-2023-7216?

    CVE-2023-7216 is a path traversal vulnerability that allows symlink access outside intended directories.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203