{"id":"CVE-2024-43395","state":"PUBLISHED","title":"CraftOS-PC 2's improperly sanitizied paths cause filesystem escape (Windows)","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.","publishedAt":"2024-08-16T20:15:32.325Z","updatedAt":"2024-08-19T15:26:20.287Z","severity":{"score":8.2,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["MCJack123 craftos2"],"affected":[{"vendor":"MCJack123","product":"craftos2","versions":[{"version":"< 2.8.3","status":"affected"}]}],"references":["https://github.com/MCJack123/craftos2/security/advisories/GHSA-hr3w-wc83-6923","https://github.com/MCJack123/craftos2/commit/f7a88b905560df4366fb69f09b70f05984e05ad3"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:07:47.831Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/43xxx/CVE-2024-43395.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-43395","state":"PUBLISHED","datePublished":"2024-08-16T20:15:32.325Z","dateUpdated":"2024-08-19T15:26:20.287Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-08-12T18:02:04.965Z"},"containers":{"cna":{"title":"CraftOS-PC 2's improperly sanitizied paths cause filesystem escape (Windows)","descriptions":[{"lang":"en","value":"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":[{"vendor":"MCJack123","product":"craftos2","versions":[{"version":"< 2.8.3","status":"affected"}]}],"references":[{"url":"https://github.com/MCJack123/craftos2/security/advisories/GHSA-hr3w-wc83-6923","name":"https://github.com/MCJack123/craftos2/security/advisories/GHSA-hr3w-wc83-6923","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/MCJack123/craftos2/commit/f7a88b905560df4366fb69f09b70f05984e05ad3","name":"https://github.com/MCJack123/craftos2/commit/f7a88b905560df4366fb69f09b70f05984e05ad3","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":8.2,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-08-16T20:15:32.325Z"},"source":{"advisory":"GHSA-hr3w-wc83-6923","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"jackmacwindows","product":"craftos-pc_2","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"2.8.3","versionType":"custom"}],"cpes":["cpe:2.3:a:jackmacwindows:craftos-pc_2:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-08-19T15:21:52.975515Z","id":"CVE-2024-43395","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-08-19T15:26:20.287Z"}}]}}}