CVE-2023-52138
Engrampa is an archive manager for the MATE environment. Engrampa is f ...
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Ubuntu (medium).
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 packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| debian 10 | engrampa | 1.20.2-1+deb10u1 |
| debian 11 | engrampa | 1.24.1-1+deb11u1 |
| debian 12 | engrampa | 1.26.0-1+deb12u2 |
| debian 13 | engrampa | 1.26.2-1 |
| debian 14 | engrampa | 1.26.2-1 |
| echo | engrampa | 1.26.0-1+deb12u2 |
| rapidfort ubuntu 20.04 | engrampa | 0:1.26.2-1 |
| rapidfort ubuntu 22.04 | engrampa | 0:1.26.2-1 |
| rapidfort ubuntu 24.04 | engrampa | 0:1.26.2-1 |
| ubuntu 18.04-ESM | engrampa | 1.20.0-1ubuntu0.1~esm1 |
| ubuntu 20.04-ESM | engrampa | 1.24.0-2ubuntu0.1~esm1 |
| ubuntu 22.04 | engrampa | no fix listed |
References
- https://github.com/mate-desktop/engrampa/commit/63d5dfa9005c6b16d0f0ccd888cc859fca78f970
- https://github.com/mate-desktop/engrampa/security/advisories/GHSA-c98h-v39w-3r7v
- https://lists.debian.org/debian-lts-announce/2024/02/msg00011.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4IOJ3QWXTZGCXFEHP72ELY22PZ4AX2CB/
- https://ubuntu.com/security/notices/USN-8640-1
- https://www.cve.org/CVERecord?id=CVE-2023-52138