{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-52138 exists.","fix":"Apply the vendor's patch.","what":"CVE-2023-52138 is a high-severity path traversal vulnerability in mate-desktop engrampa, published on 5 Feb 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-52138 and fix it if it is affected.\n\nWhat it is: CVE-2023-52138 is a high-severity path traversal vulnerability in mate-desktop engrampa, published on 5 Feb 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-52138 exists.\n\nAffected product: mate-desktop engrampa. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-52138/ (Markdown: https://insights.sbomify.com/CVE-2023-52138/index.md)","id":"CVE-2023-52138","markdown":"https://insights.sbomify.com/CVE-2023-52138/index.md","name":"CVE-2023-52138","record":{"aliases":["DEBIAN-CVE-2023-52138","DLA-3741-1","DSA-5625-1","GHSA-c98h-v39w-3r7v","OESA-2024-1588","OESA-2024-1589","OESA-2026-3764","UBUNTU-CVE-2023-52138","USN-8640-1","openSUSE-SU-2024:13747-1"],"analysis":{"component_type":"desktop_application","fix_type":"patch","impacts":["code_execution","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"MATE archive manager","requires_auth":"none","summary":"Attackers can achieve remote code execution by tricking users into extracting malicious CPIO archives that exploit symlink handling flaws in Engrampa.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"engrampa","vendor":"mate-desktop"}],"cvss":{"score":8.2,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"},{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-25","name":"Path Traversal: '/../filedir'"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Path traversal via crafted cpio archives in Engrampa archivers","id":"CVE-2023-52138","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2023"},"n_packages":0,"n_references":4,"next":{"headline":"Misskey vulnerable to improper authorization when accessing with third-party application","id":"CVE-2023-52139"},"packages":[],"prev":{"headline":"GitHub Action tj-actions/verify-changed-files is vulnerable to command injection in output filenames","id":"CVE-2023-52137"},"products":["engrampa"],"published":"2024-02-05","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-06-17","vendors":["mate-desktop"]},"summary":"Attackers can achieve remote code execution by tricking users into extracting malicious CPIO archives that exploit symlink handling flaws in Engrampa.","url":"https://insights.sbomify.com/CVE-2023-52138/"}