CVE-2023-7216
MEDIUM 5.3CVSS 3.1Cpio: extraction allows symlinks which enables remote command execution
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.
- Published
- 5 Feb 2024
- Last modified
- 25 Nov 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-22CWE-59
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | secalert@redhat.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L |
| NVD | nvd@nist.gov (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L |
| CVE List | redhat | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L |
| CVE List | CISA-ADP | SSVC | Exploitation: poc; Automatable: no; Technical Impact: total |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | gnu | cpiocpe:2.3:a:gnu:cpio:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* |
= 8.0 | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | cpiocpe:/o:redhat:rhel_els:6 |
||
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | cpiocpe:/o:redhat:rhel_els:7 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | cpiocpe:/o:redhat:enterprise_linux:8 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | cpiocpe:/o:redhat:enterprise_linux:9 |
all versions |
References
- https://access.redhat.com/security/cve/CVE-2023-7216 · Third Party Advisory, vdb-entry, x_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2249901 · Exploit, Issue Tracking, Third Party Advisory, issue-tracking, x_refsource_REDHAT
History
- 25 Nov 2026 20:55 UTC · CVE List: first stored (published 5 Feb 2024)
- 25 Nov 2026 20:10 UTC · NVD: first stored (published 5 Feb 2024)