Skip to content
OpenAdvisories
High · 8.2 CVE-2023-52138 EUVD-2023-56811

Path traversal via crafted cpio archives in Engrampa archivers

Published Feb 5, 2024 · Updated Jun 17, 2025 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
mate-desktop engrampa < commit 63d5dfa —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 engrampa 1.26.2-1 —
Debian 13 engrampa 1.26.2-1 —
Debian 12 engrampa 1.26.0-1+deb12u2 DSA-5625-1
Debian 11 engrampa 1.24.1-1+deb11u1 DSA-5625-1
Debian 10 engrampa 1.20.2-1+deb10u1 DLA-3741-1
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS engrampa 1.26.0-1ubuntu1+esm1 USN-8640-1
Ubuntu Pro 20.04 LTS engrampa 1.24.0-2ubuntu0.1~esm1 USN-8640-1
Ubuntu Pro 18.04 LTS engrampa 1.20.0-1ubuntu0.1~esm1 USN-8640-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS engrampa 1.12.0-2ubuntu0.1+esm1 USN-8640-1

Advisories 3

References