Skip to content

CVE-2023-52138 Path traversal via crafted cpio archives in Engrampa archivers

CriticalCVSS 9.6 EPSS 1.7%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total
Technology
UbuntuDebian

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.

Upgrade path

9 packages: 9 fixed.

PackageAffectedFixed inStatus
debian/engrampa(Debian 12) < 1.26.0-1+deb12u2; = 1.26.0-1; = 1.26.0-1+deb12u1 1.26.0-1+deb12u2 Fixed
debian/engrampa(Debian 13) < 1.26.2-1 1.26.2-1 Fixed
debian/engrampa(Debian 14) < 1.26.2-1 1.26.2-1 Fixed
mate-desktop engrampa < 1.26.2; = < commit 63d5dfa 1.26.2 Fixed
ubuntu/engrampa(Ubuntu 22.04) < 1.26.0-1ubuntu1+esm1 1.26.0-1ubuntu1+esm1 Fixed
ubuntu/engrampa(Ubuntu Pro 16.04) < 1.12.0-2ubuntu0.1+esm1; = 1.10.2-1; = 1.12.0-1; = 1.12.0-2 +1 more 1.12.0-2ubuntu0.1+esm1 Fixed
ubuntu/engrampa(Ubuntu Pro 18.04) < 1.20.0-1ubuntu0.1~esm1; = 1.18.2-2ubuntu0; = 1.18.3-1; = 1.19.2-0ubuntu1 +2 more 1.20.0-1ubuntu0.1~esm1 Fixed
ubuntu/engrampa(Ubuntu Pro 20.04) < 1.24.0-2ubuntu0.1~esm1; = 1.22.1-2; = 1.22.3-1; = 1.24.0-0ubuntu1 +2 more 1.24.0-2ubuntu0.1~esm1 Fixed
ubuntu/engrampa(Ubuntu Pro 22.04) < 1.26.0-1ubuntu1+esm1; = 1.26.0-0ubuntu1; = 1.26.0-1ubuntu1 1.26.0-1ubuntu1+esm1 Fixed

Affected products

ProductAffected versionsFixed in
debian/engrampa(Debian:12) < 1.26.0-1+deb12u2 1.26.0-1+deb12u2
debian/engrampa(Debian:12) = 1.26.0-1 No fix listed
debian/engrampa(Debian:12) = 1.26.0-1+deb12u1 No fix listed
debian/engrampa(Debian:13) < 1.26.2-1 1.26.2-1
debian/engrampa(Debian:14) < 1.26.2-1 1.26.2-1
mate-desktop engrampa = < commit 63d5dfa No fix listed
ubuntu/engrampa(Ubuntu:22.04) < 1.26.0-1ubuntu1+esm1 1.26.0-1ubuntu1+esm1
mate-desktop engrampa < 1.26.2 1.26.2
ubuntu/engrampa(Ubuntu:Pro:16.04) < 1.12.0-2ubuntu0.1+esm1 1.12.0-2ubuntu0.1+esm1
ubuntu/engrampa(Ubuntu:Pro:16.04) = 1.10.2-1 No fix listed
ubuntu/engrampa(Ubuntu:Pro:16.04) = 1.12.0-1 No fix listed
ubuntu/engrampa(Ubuntu:Pro:16.04) = 1.12.0-2 No fix listed
ubuntu/engrampa(Ubuntu:Pro:16.04) = 1.12.0-2ubuntu0.1 No fix listed
ubuntu/engrampa(Ubuntu:Pro:18.04) < 1.20.0-1ubuntu0.1~esm1 1.20.0-1ubuntu0.1~esm1
ubuntu/engrampa(Ubuntu:Pro:18.04) = 1.18.2-2ubuntu0 No fix listed
ubuntu/engrampa(Ubuntu:Pro:18.04) = 1.18.3-1 No fix listed
ubuntu/engrampa(Ubuntu:Pro:18.04) = 1.19.2-0ubuntu1 No fix listed
ubuntu/engrampa(Ubuntu:Pro:18.04) = 1.20.0-0ubuntu1 No fix listed
ubuntu/engrampa(Ubuntu:Pro:18.04) = 1.20.0-1 No fix listed
ubuntu/engrampa(Ubuntu:Pro:20.04) < 1.24.0-2ubuntu0.1~esm1 1.24.0-2ubuntu0.1~esm1
ubuntu/engrampa(Ubuntu:Pro:20.04) = 1.22.1-2 No fix listed
ubuntu/engrampa(Ubuntu:Pro:20.04) = 1.22.3-1 No fix listed
ubuntu/engrampa(Ubuntu:Pro:20.04) = 1.24.0-0ubuntu1 No fix listed
ubuntu/engrampa(Ubuntu:Pro:20.04) = 1.24.0-1 No fix listed
ubuntu/engrampa(Ubuntu:Pro:20.04) = 1.24.0-2 No fix listed
Show 3 more
ProductAffected versionsFixed in
ubuntu/engrampa(Ubuntu:Pro:22.04) < 1.26.0-1ubuntu1+esm1 1.26.0-1ubuntu1+esm1
ubuntu/engrampa(Ubuntu:Pro:22.04) = 1.26.0-0ubuntu1 No fix listed
ubuntu/engrampa(Ubuntu:Pro:22.04) = 1.26.0-1ubuntu1 No fix listed

References