CVE-2023-52138
Path traversal via crafted cpio archives in Engrampa archivers
Reported by github_m · Published February 5, 2024
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| engrampa | mate-desktop | 1.26.2 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| mate-desktop | engrampa | < commit 63d5dfa |
| mate-desktop | engrampa | < commit 63d5dfa |
Timeline
- Feb 5, 2024 CVE Published
- Feb 5, 2024 PoC Published (3 in total, the first dated here)
- Feb 8, 2024 EPSS Score (30 in total, the first dated here)
- Oct 5, 2024 Coalition ESS Score (5 in total, the first dated here)
- Jan 25, 2026 Security Advisory
- Jan 25, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-52138
vulnetix vdb fixes CVE-2023-52138
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-52138/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart