What’s Vulnerable › Vulnerabilities
CVE-2024-43395: CraftOS-PC 2's improperly sanitizied paths cause filesystem escape (Windows)
- Severity: high (CVSS 8.2 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-08-16 · updated 2026-06-17
- Weakness: CWE-22
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.
Affected products
- Jackmacwindows Craftos-Pc 2: before 2.8.3 — fixed in 2.8.3
How to fix
Upgrade to a fixed version: Jackmacwindows Craftos-Pc 2 2.8.3. Check the vendor advisory for mitigations.
References
- https://github.com/MCJack123/craftos2/commit/f7a88b905560df4366fb69f09b70f05984e05ad3
- https://github.com/MCJack123/craftos2/security/advisories/GHSA-hr3w-wc83-6923
Get alerted when CVE-2024-43395 or the next vulnerability affects your stack