Path traversal via crafted cpio archives in Engrampa archivers
Summary
Path traversal via crafted cpio archives in Engrampa archivers
Original description
The description as published by the source.
Engrampa is an archive manager for the MATE environment. Engrampa is found to be vulnerable to a Path Traversal vulnerability that can be leveraged to achieve full Remote Command Execution (RCE) on the target. While handling CPIO archives, the Engrampa Archive manager follows symlink, cpio by default will follow stored symlinks while extracting and the Archiver will not check the symlink location, which leads to arbitrary file writes to unintended locations. When the victim extracts the archive, the attacker can craft a malicious cpio or ISO archive to achieve RCE on the target system. This vulnerability was fixed in commit 63d5dfa.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Debian DEBIAN-CVE-2023-52138 engrampa Fixed in: 1.24.1-1+deb11u1
- Ubuntu UBUNTU-CVE-2023-52138 engrampa Fixed in: 1.12.0-2ubuntu0.1+esm1
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- web lists.debian.org
- web lists.fedoraproject.org