Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 865401 (CVE-2022-35978) - <games-action/minetest-5.6.0: unsandboxed code execution by mods in menu
Summary: <games-action/minetest-5.6.0: unsandboxed code execution by mods in menu
Status: RESOLVED FIXED
Alias: CVE-2022-35978
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal trivial (vote)
Assignee: Gentoo Security
URL: https://github.com/minetest/minetest/...
Whiteboard: ~2 [noglsa]
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-16 17:18 UTC by John Helmert III
Modified: 2022-08-17 16:05 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-08-16 17:18:21 UTC
CVE-2022-35978:

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.

Fixed in 5.6.0, please cleanup
Comment 1 Larry the Git Cow gentoo-dev 2022-08-16 18:06:01 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61f18f0ba8608ba7fe49666415a37f5041e87a8f

commit 61f18f0ba8608ba7fe49666415a37f5041e87a8f
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2022-08-16 18:04:49 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2022-08-16 18:05:53 +0000

    games-action/minetest: drop 5.5.1
    
    That's the last version vulnerable to CVE-2022-35978 gone.
    
    Bug: https://bugs.gentoo.org/865401
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 games-action/minetest/Manifest              |   1 -
 games-action/minetest/minetest-5.5.1.ebuild | 142 ----------------------------
 2 files changed, 143 deletions(-)
Comment 2 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-08-17 16:05:17 UTC
Thanks! Tree is clean, all done