{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2024-43395 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-43395 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-43395 is a high-severity path traversal vulnerability in MCJack123 craftos2, published on 16 Aug 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-43395 and fix it if it is affected.\n\nWhat it is: CVE-2024-43395 is a high-severity path traversal vulnerability in MCJack123 craftos2, published on 16 Aug 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2024-43395 in the wild and no public exploit code.\n\nAffected product: MCJack123 craftos2. 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-2024-43395/ (Markdown: https://insights.sbomify.com/CVE-2024-43395/index.md)","id":"CVE-2024-43395","markdown":"https://insights.sbomify.com/CVE-2024-43395/index.md","name":"CVE-2024-43395","record":{"aliases":["GHSA-hr3w-wc83-6923"],"analysis":{"component_type":"desktop_application","fix_type":"patch","impacts":["data_read","data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"CraftOS-PC desktop emulator","requires_auth":"none","summary":"Attackers can bypass path sanitization to access or modify arbitrary files on the host system via directory traversal in CraftOS-PC 2 on Windows.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.2,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"CraftOS-PC 2 is a rewrite of the desktop port of CraftOS from the popular Minecraft mod ComputerCraft using C++ and a modified version of PUC Lua, as well as SDL for drawing. Prior to version 2.8.3, users of CraftOS-PC 2 on Windows can escape the computer folder and access files anywhere without permission or notice by obfuscating `..`s to bypass the internal check preventing parent directory traversal. Version 2.8.3 contains a patch for this issue.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"CraftOS-PC 2's improperly sanitizied paths cause filesystem escape (Windows)","id":"CVE-2024-43395","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2024"},"n_packages":0,"n_references":2,"next":{"headline":"Khoj Vulnerable to Stored Cross-site Scripting In Automate (Preview feature)","id":"CVE-2024-43396"},"packages":[],"prev":{"headline":"Apache HTTP Server: SSRF on Windows due to UNC paths","id":"CVE-2024-43394"},"products":["craftos2"],"published":"2024-08-16","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-08-19","vendors":["MCJack123"]},"summary":"Attackers can bypass path sanitization to access or modify arbitrary files on the host system via directory traversal in CraftOS-PC 2 on Windows.","url":"https://insights.sbomify.com/CVE-2024-43395/"}