Affected versions
Ubuntu25.10/luanti
- Affected versions
- * || =5.10.0+dfsg-5 || =5.10.0+dfsg-5+deb13u1build0.25.10.1
- Fixed version
- Not reported
Ubuntu26.04:LTS/luanti
- Affected versions
- <5.10.0+dfsg-5+deb13u1build0.26.04.1 || =5.10.0+dfsg-5
- Fixed version
- 5.10.0+dfsg-5+deb13u1build0.26.04.1
UbuntuPro:20.04:LTS/minetest
- Affected versions
- <5.1.1+repack-1ubuntu0.1~esm1 || =5.0.1+repack-2 || =5.1.0+repack-1 || =5.1.1+repack-1 || =5.1.1+repack-1build1
- Fixed version
- 5.1.1+repack-1ubuntu0.1~esm1
UbuntuPro:22.04:LTS/minetest
- Affected versions
- <5.4.1+repack-2ubuntu0.1~esm1 || =5.3.0+repack-2.1 || =5.4.1+repack-2 || =5.4.1+repack-2build1
- Fixed version
- 5.4.1+repack-2ubuntu0.1~esm1
UbuntuPro:24.04:LTS/minetest
- Affected versions
- Unknown
- Fixed version
- 5.6.1+dfsg+~1.9.0mt8+dfsg-4ubuntu0.1~esm1
Description
Luanti (formerly Minetest) is an open source voxel game-creation platform. Starting in version 5.0.0 and prior to version 5.15.2, a malicious mod can trivially escape the sandboxed Lua environment to execute arbitrary code and gain full filesystem access on the user's device. This applies to the server-side mod, async and mapgen as well as the client-side (CSM) environments. This vulnerability is only exploitable when using LuaJIT. Version 5.15.2 contains a patch. On release versions, one can also patch this issue without recompiling by editing builtin/init.lua and adding the line getfenv = nil at the end. Note that this will break mods relying on this function (which is not inherently unsafe).

