CVE-2023-52138Path traversal via crafted cpio archives in Engrampa archivers
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | engrampa | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | engrampa | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | engrampa | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | engrampa | Fix pending | 1.26.0-1ubuntu1+esm1 (Ubuntu Pro) | UBUNTU-CVE-2023-52138 |
| Ubuntu 20.04 | engrampa | Fix pending | 1.24.0-2ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2023-52138 |
| Ubuntu 18.04 | engrampa | Fix pending | 1.20.0-1ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2023-52138 |
| Ubuntu 16.04 | engrampa | Fix pending | 1.12.0-2ubuntu0.1+esm1 (Ubuntu Pro) | UBUNTU-CVE-2023-52138 |
| Debian 14 | engrampa | Fixed | 1.26.2-1 | DEBIAN-CVE-2023-52138 |
| Debian 13 | engrampa | Fixed | 1.26.2-1 | DEBIAN-CVE-2023-52138 |
| Debian 12 | engrampa | Fixed | 1.26.0-1+deb12u2 | DEBIAN-CVE-2023-52138 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- mate-desktop engrampa: affected: < commit 63d5dfa
References
- https://github.com/mate-desktop/engrampa/security/advisories/GHSA-c98h-v39w-3r7v
- https://github.com/mate-desktop/engrampa/commit/63d5dfa9005c6b16d0f0ccd888cc859fca78f970
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4IOJ3QWXTZGCXFEHP72ELY22PZ4AX2CB/
- https://lists.debian.org/debian-lts-announce/2024/02/msg00011.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.