Security mailing lists by PureSourceCode

CVE-2023-7216

MEDIUM 5.3CVSS 3.1

Cpio: 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

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD gnu cpio
cpe:2.3:a:gnu:cpio:-:*:*:*:*:*:*:*
(no version)
NVD redhat enterprise_linux
cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
= 7.0
NVD redhat enterprise_linux
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
= 8.0
NVD redhat enterprise_linux
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
= 9.0
CVE List https://access.redhat.com/downloads/content/package-browser/ cpio
cpe:/o:redhat:rhel_els:6
CVE List https://access.redhat.com/downloads/content/package-browser/ cpio
cpe:/o:redhat:rhel_els:7
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ cpio
cpe:/o:redhat:enterprise_linux:8
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ cpio
cpe:/o:redhat:enterprise_linux:9
all versions

References

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.