{"api_version":"1","generated_at":"2026-06-04T14:15:47+00:00","cve":"CVE-2022-35978","urls":{"html":"https://cve.report/CVE-2022-35978","api":"https://cve.report/api/cve/CVE-2022-35978.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-35978","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-35978"},"summary":{"title":"CVE-2022-35978","description":"Minetest is a free open-source voxel game engine with easy modding and game creation. In **single player**, a mod can set a global setting that controls the Lua script loaded to display the main menu. The script is then loaded as soon as the game session is exited. The Lua environment the menu runs in is not sandboxed and can directly interfere with the user's system. There are currently no known workarounds.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2022-08-15 19:15:00","updated_at":"2022-08-17 14:16:00"},"problem_types":["NVD-CWE-noinfo"],"metrics":[],"references":[{"url":"https://dev.minetest.net/Changelog#5.5.0_.E2.86.92_5.6.0","name":"https://dev.minetest.net/Changelog#5.5.0_.E2.86.92_5.6.0","refsource":"MISC","tags":[],"title":"Changelog - Minetest Developer Wiki","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/minetest/minetest/commit/da71e86633d0b27cd02d7aac9fdac625d141ca13","name":"https://github.com/minetest/minetest/commit/da71e86633d0b27cd02d7aac9fdac625d141ca13","refsource":"MISC","tags":[],"title":"Protect a few more settings from being set from mods · minetest/minetest@da71e86 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/minetest/minetest/security/advisories/GHSA-663q-pcjw-27cc","name":"https://github.com/minetest/minetest/security/advisories/GHSA-663q-pcjw-27cc","refsource":"CONFIRM","tags":[],"title":"Singleplayer: Lua sandbox escape from mod · Advisory · minetest/minetest · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-35978","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-35978","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"35978","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"minetest","cpe5":"minetest","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2022-35978","qid":"182069","title":"Debian Security Update for minetest (CVE-2022-35978)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2022-35978","STATE":"PUBLIC","TITLE":"Lua sandbox escape from mod in Minetest"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"minetest","version":{"version_data":[{"version_value":"<= 5.5.1"}]}}]},"vendor_name":"minetest"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"Minetest is a free open-source voxel game engine with easy modding and game creation. In **single player**, a mod can set a global setting that controls the Lua script loaded to display the main menu. The script is then loaded as soon as the game session is exited. The Lua environment the menu runs in is not sandboxed and can directly interfere with the user's system. There are currently no known workarounds."}]},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":7.7,"baseSeverity":"HIGH","confidentialityImpact":"LOW","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:H/A:L","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-693: Protection Mechanism Failure"}]}]},"references":{"reference_data":[{"name":"https://github.com/minetest/minetest/security/advisories/GHSA-663q-pcjw-27cc","refsource":"CONFIRM","url":"https://github.com/minetest/minetest/security/advisories/GHSA-663q-pcjw-27cc"},{"name":"https://github.com/minetest/minetest/commit/da71e86633d0b27cd02d7aac9fdac625d141ca13","refsource":"MISC","url":"https://github.com/minetest/minetest/commit/da71e86633d0b27cd02d7aac9fdac625d141ca13"},{"name":"https://dev.minetest.net/Changelog#5.5.0_.E2.86.92_5.6.0","refsource":"MISC","url":"https://dev.minetest.net/Changelog#5.5.0_.E2.86.92_5.6.0"}]},"source":{"advisory":"GHSA-663q-pcjw-27cc","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2022-08-15 19:15:00","lastModifiedDate":"2022-08-17 14:16:00","problem_types":["NVD-CWE-noinfo"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":10,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":6}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:minetest:minetest:*:*:*:*:*:*:*:*","versionEndExcluding":"5.6.0","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}