Vulnerability · Published Aug 15, 2022 · Assigned by GitHub_M
CVE-2022-35978Lua sandbox escape from mod in Minetest
High 7.7
In plain English
A high-severity security flaw in minetest from minetest. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 3.1% (higher than 88% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | minetest | 5.5.0+dfsg+~1.9.0mt4+dfsg-2 | DEBIAN-CVE-2022-35978 |
Affected products (as reported)
Weakness: CWE-693 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:H/A:L
References
- https://github.com/minetest/minetest/security/advisories/GHSA-663q-pcjw-27cc x_refsource_CONFIRM
- https://github.com/minetest/minetest/commit/da71e86633d0b27cd02d7aac9fdac625d141ca13 x_refsource_MISC
- https://dev.minetest.net/Changelog#5.5.0_.E2.86.92_5.6.0 x_refsource_MISC