{"id":"UBUNTU-CVE-2022-35978","details":"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.","modified":"2026-09-07T14:06:15.345922144Z","published":"2022-08-15T19:15:00Z","upstream":["CVE-2022-35978"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-35978"},{"type":"REPORT","url":"https://github.com/minetest/minetest/commit/da71e86633d0b27cd02d7aac9fdac625d141ca13"},{"type":"REPORT","url":"https://github.com/minetest/minetest/security/advisories/GHSA-663q-pcjw-27cc"},{"type":"REPORT","url":"https://dev.minetest.net/Changelog#5.5.0_.E2.86.92_5.6.0"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-35978"}],"affected":[{"package":{"name":"minetest","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/minetest?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.12+repack-2ubuntu1","0.4.13+repack-1","0.4.13+repack-1build1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.4.13+repack-1build1","binary_name":"minetest"},{"binary_name":"minetest-data","binary_version":"0.4.13+repack-1build1"},{"binary_name":"minetest-server","binary_version":"0.4.13+repack-1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-35978.json"}},{"package":{"name":"minetest","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/minetest?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.16+repack-3","0.4.16+repack-4"],"ecosystem_specific":{"binaries":[{"binary_name":"minetest","binary_version":"0.4.16+repack-4"},{"binary_version":"0.4.16+repack-4","binary_name":"minetest-data"},{"binary_version":"0.4.16+repack-4","binary_name":"minetest-server"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-35978.json"}},{"package":{"name":"minetest","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/minetest?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.0.1+repack-2","5.1.0+repack-1","5.1.1+repack-1","5.1.1+repack-1build1","5.1.1+repack-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"minetest","binary_version":"5.1.1+repack-1ubuntu0.1~esm1"},{"binary_name":"minetest-data","binary_version":"5.1.1+repack-1ubuntu0.1~esm1"},{"binary_version":"5.1.1+repack-1ubuntu0.1~esm1","binary_name":"minetest-server"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-35978.json"}},{"package":{"name":"minetest","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/minetest?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.3.0+repack-2.1","5.4.1+repack-2","5.4.1+repack-2build1","5.4.1+repack-2ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"minetest","binary_version":"5.4.1+repack-2ubuntu0.1~esm1"},{"binary_version":"5.4.1+repack-2ubuntu0.1~esm1","binary_name":"minetest-data"},{"binary_name":"minetest-server","binary_version":"5.4.1+repack-2ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-35978.json"}},{"package":{"name":"minetest","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/minetest?arch=source&distro=esm-apps%2Fnoble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.6.1+dfsg+~1.9.0mt8+dfsg-2build1","5.6.1+dfsg+~1.9.0mt8+dfsg-3","5.6.1+dfsg+~1.9.0mt8+dfsg-4","5.6.1+dfsg+~1.9.0mt8+dfsg-4build2","5.6.1+dfsg+~1.9.0mt8+dfsg-4build3","5.6.1+dfsg+~1.9.0mt8+dfsg-4ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"minetest","binary_version":"5.6.1+dfsg+~1.9.0mt8+dfsg-4ubuntu0.1~esm1"},{"binary_name":"minetest-data","binary_version":"5.6.1+dfsg+~1.9.0mt8+dfsg-4ubuntu0.1~esm1"},{"binary_name":"minetest-server","binary_version":"5.6.1+dfsg+~1.9.0mt8+dfsg-4ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-35978.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:H/A:L"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}