CVE-2023-52138

Path traversal via crafted cpio archives in Engrampa archivers

State
Published
Severity
8.2 High
Published
Feb 5, 2024
Updated
Jun 17, 2025
Reserved
Dec 28, 2023

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.18.2 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:NGitHub_M

Weaknesses

  • CWE-25 Path Traversal: '/../filedir'

Affected Products

ProductVersions
engrampamate-desktop
  • < commit 63d5dfaAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.