Ubuntu Security Notice 6755-1 - Ingo Brückl discovered that cpio contained a path traversal vulnerability. If a user or automated system were tricked into extracting a specially crafted cpio archive, an attacker could possibly use this issue to write arbitrary files outside the target directory on the host, even if using the option --no-absolute-filenames.
a5fb927cd890c4ab4d0b9b311bd01f35cef7e8148d89957eff3b923887c78f36
==========================================================================
Ubuntu Security Notice USN-6755-1
April 29, 2024
cpio vulnerabilities
==========================================================================
A security issue affects these releases of Ubuntu and its derivatives:
- Ubuntu 23.10
- Ubuntu 22.04 LTS
- Ubuntu 20.04 LTS
Summary:
GNU cpio could be made to write files outside the target directory.
Software Description:
- cpio: a tool to manage archives of files
Details:
Ingo Brückl discovered that cpio contained a path traversal vulnerability.
If a user or automated system were tricked into extracting a specially
crafted cpio archive, an attacker could possibly use this issue to write
arbitrary files outside the target directory on the host, even if using the
option --no-absolute-filenames.
Update instructions:
The problem can be corrected by updating your system to the following
package versions:
Ubuntu 23.10
cpio 2.13+dfsg-7.1ubuntu0.1
Ubuntu 22.04 LTS
cpio 2.13+dfsg-7ubuntu0.1
Ubuntu 20.04 LTS
cpio 2.13+dfsg-2ubuntu0.4
In general, a standard system update will make all the necessary changes.
References:
https://ubuntu.com/security/notices/USN-6755-1
CVE-2023-7207
Package Information:
https://launchpad.net/ubuntu/+source/cpio/2.13+dfsg-7.1ubuntu0.1
https://launchpad.net/ubuntu/+source/cpio/2.13+dfsg-7ubuntu0.1
https://launchpad.net/ubuntu/+source/cpio/2.13+dfsg-2ubuntu0.4