CVE-2023-7207: Path Traversal
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/cpioto a version that resolves this vulnerability.Fixed in 2.13+dfsg-2ubuntu0.4 - Upgrade
Upgrade
ubuntu/cpioto a version that resolves this vulnerability.Fixed in 2.13+dfsg-7ubuntu0.1 - Upgrade
Upgrade
ubuntu/cpioto a version that resolves this vulnerability.Fixed in 2.13+dfsg-7.1ubuntu0.1 - Upgrade
Upgrade
ubuntu/cpioto a version that resolves this vulnerability.Fixed in 2.14 - Upgrade
Upgrade
debian/cpioto a version that resolves this vulnerability.Fixed in 2.15+dfsg-2
Event History
Frequently Asked Questions
What is the severity of CVE-2023-7207?
CVE-2023-7207 is classified as a medium severity vulnerability due to its potential for path traversal exploits.
How do I fix CVE-2023-7207?
To fix CVE-2023-7207, upgrade to the patched versions of cpio: 2.13+dfsg-2ubuntu0.4 for Ubuntu Focal, 2.13+dfsg-7ubuntu0.1 for Ubuntu Jammy, 2.13+dfsg-7.1ubuntu0.1 for Ubuntu Mantic, or 2.14 for upstream releases.
What vulnerability does CVE-2023-7207 address?
CVE-2023-7207 addresses a path traversal vulnerability in Debian's cpio, which can be exploited due to improper handling of file paths.
Which systems are affected by CVE-2023-7207?
CVE-2023-7207 affects Debian and Ubuntu systems running vulnerable versions of the cpio package.
Is CVE-2023-7207 exploitable remotely?
Yes, CVE-2023-7207 is exploitable remotely if an attacker can manipulate file paths during the cpio extraction process.