cve.bz

CVE-2023-52138 mate-desktop engrampa: Path traversal

9.6 criticalExploit referenceEPSS 1.7%Fix available

Critical (9.6) in mate-desktop engrampa. EPSS 1.7% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

9.6 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
EPSS
1.7% (unchanged from 1.7% a week ago; 1.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 77th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2024-02-21. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
CWE-59 Improper Link Resolution Before File Access (Link Following)
CWE-25 Path Traversal: '/../filedir'
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-52138 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-52138?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-52138?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-52138 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
mate-desktop:engrampabefore 1.26.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10engrampa1.20.2-1+deb10u1DLA-3741-1
Debian11engrampa1.24.1-1+deb11u1DSA-5625-1
Debian12engrampa1.26.0-1+deb12u2DEBIAN-CVE-2023-52138 DSA-5625-1
Debian13, 14engrampa1.26.2-1DEBIAN-CVE-2023-52138
UbuntuPro:16.04:LTSengrampa1.12.0-2ubuntu0.1+esm1UBUNTU-CVE-2023-52138 USN-8640-1
UbuntuPro:18.04:LTSengrampa1.20.0-1ubuntu0.1~esm1UBUNTU-CVE-2023-52138 USN-8640-1
UbuntuPro:20.04:LTSengrampa1.24.0-2ubuntu0.1~esm1UBUNTU-CVE-2023-52138 USN-8640-1
UbuntuPro:22.04:LTSengrampa1.26.0-1ubuntu1+esm1UBUNTU-CVE-2023-52138 USN-8640-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Attack patterns (CAPEC)

  • CAPEC-17 Using Malicious Files Likelihood: High · Severity: Very High
  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-132 Symlink Attack Likelihood: Low · Severity: High
  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON