CVE-2023-7207 Path traversal in Debian cpio
A path traversal vulnerability in Debian's cpio allows attackers to read or modify files outside the intended directory.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-7207?
CVE-2023-7207 is a medium-severity path traversal vulnerability in Debian cpio, published on 5 Jan 2024. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
Debian's cpio contains a path traversal vulnerability. This issue was introduced by reverting CVE-2015-1197 patches which had caused a regression in --no-absolute-filenames. Upstream has since provided a proper fix to --no-absolute-filenames.
Weakness: CWE-22
Which versions are affected by CVE-2023-7207?
It affects 1 product.
Linux distribution packages (35)
cpio SUSE:Enterprise Storage 7.1 | All versions | 2.12-150000.3.12.1 |
cpio SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | All versions | 2.12-150000.3.12.1 |
cpio SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | All versions | 2.12-150000.3.12.1 |
cpio SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | All versions | 2.13-150400.3.6.1 |
cpio SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | All versions | 2.13-150400.3.6.1 |
cpio SUSE:Linux Enterprise Micro 5.1 | All versions | 2.12-150000.3.12.1 |
cpio SUSE:Linux Enterprise Micro 5.2 | All versions | 2.12-150000.3.12.1 |
cpio SUSE:Linux Enterprise Micro 5.3 | All versions | 2.13-150400.3.3.1 |
cpio SUSE:Linux Enterprise Micro 5.3 | All versions | 2.13-150400.3.6.1 |
cpio SUSE:Linux Enterprise Micro 5.4 | All versions | 2.13-150400.3.3.1 |
cpio SUSE:Linux Enterprise Micro 5.4 | All versions | 2.13-150400.3.6.1 |
cpio SUSE:Linux Enterprise Micro 5.5 | All versions | 2.13-150400.3.3.1 |
cpio SUSE:Linux Enterprise Micro 5.5 | All versions | 2.13-150400.3.6.1 |
cpio SUSE:Linux Enterprise Micro 5.5 | All versions | 2.13-150400.3.6.1 |
cpio SUSE:Linux Enterprise Module for Basesystem 15 SP5 | All versions | 2.13-150400.3.3.1 |
cpio SUSE:Linux Enterprise Module for Basesystem 15 SP5 | All versions | 2.13-150400.3.6.1 |
cpio SUSE:Linux Enterprise Server 12 SP5 | All versions | 2.11-36.18.1 |
cpio SUSE:Linux Enterprise Server 12 SP5 | All versions | 2.11-36.21.1 |
cpio SUSE:Linux Enterprise Server 15 SP2-LTSS | All versions | 2.12-150000.3.12.1 |
cpio SUSE:Linux Enterprise Server 15 SP3-LTSS | All versions | 2.12-150000.3.12.1 |
cpio SUSE:Linux Enterprise Server 15 SP4-LTSS | All versions | 2.13-150400.3.6.1 |
cpio SUSE:Linux Enterprise Server for SAP Applications 12 SP5 | All versions | 2.11-36.18.1 |
cpio SUSE:Linux Enterprise Server for SAP Applications 12 SP5 | All versions | 2.11-36.21.1 |
cpio SUSE:Linux Enterprise Server for SAP Applications 15 SP2 | All versions | 2.12-150000.3.12.1 |
cpio SUSE:Linux Enterprise Server for SAP Applications 15 SP3 | All versions | 2.12-150000.3.12.1 |
cpio SUSE:Linux Enterprise Server for SAP Applications 15 SP4 | All versions | 2.13-150400.3.6.1 |
cpio SUSE:Manager Proxy 4.3 | All versions | 2.13-150400.3.6.1 |
cpio SUSE:Manager Server 4.3 | All versions | 2.13-150400.3.6.1 |
cpio openSUSE:Leap 15.5 | All versions | 2.13-150400.3.3.1 |
cpio openSUSE:Leap 15.5 | All versions | 2.13-150400.3.6.1 |
cpio openSUSE:Leap Micro 5.3 | All versions | 2.13-150400.3.3.1 |
cpio openSUSE:Leap Micro 5.3 | All versions | 2.13-150400.3.6.1 |
cpio openSUSE:Leap Micro 5.4 | All versions | 2.13-150400.3.3.1 |
cpio openSUSE:Leap Micro 5.4 | All versions | 2.13-150400.3.6.1 |
cpio openSUSE:Tumbleweed | All versions | 2.15-1.1 |
Products include Gnu Cpio.
How do I fix CVE-2023-7207?
Apply the vendor's patch.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2023-7207 being exploited?
There is no known exploitation of CVE-2023-7207 in the wild and no public exploit code.
Other vulnerabilities in Debian cpio
Sources
Also known as DEBIAN-CVE-2023-7207, GHSA-x4gq-xcr8-xwp7, SUSE-SU-2024:0238-1, SUSE-SU-2024:0248-1, SUSE-SU-2024:0305-1, SUSE-SU-2024:0305-2 and 6 more.