{"id":"CVE-2023-7216","published":"2024-02-05T15:12:17Z","modified":"2026-11-06T13:40:41Z","title":"Cpio: extraction allows symlinks which enables remote command execution","vendor":"Red Hat","product":"Red Hat Enterprise Linux 6","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00899,"percentile":0.60497,"provenance":"source"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2023-7216","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2249901","tags":["issue-tracking","x_refsource_REDHAT"]}],"priority":{"score":15.8,"factors":[{"name":"EPSS percentile","points":12.1},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","versions":["all versions"]}],"workarounds":{"items":["Use the --no-absolute-filenames option to avoid this behaviour."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2024-02-07T15:43:39.938371Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-59397","exploited":false,"provenance":"source"}}