CVEfocus › CVE database › CVE-2022-35978

CVE-2022-35978Lua sandbox escape from mod in Minetest

CVSS 7.7 HighEPSS 3.3% (higher than 89% of CVEs)Published 2022-08-15Updated 2025-04-23Assigner: GitHub_M

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.

CWE-693

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
5Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04minetestFix pendingUBUNTU-CVE-2022-35978
Ubuntu 20.04minetestFix pendingUBUNTU-CVE-2022-35978
Ubuntu 18.04minetestFix pendingUBUNTU-CVE-2022-35978
Ubuntu 16.04minetestFix pendingUBUNTU-CVE-2022-35978
Ubuntu 14.04minetestFix pending
Debian 12minetestFixed5.5.0+dfsg+~1.9.0mt4+dfsg-2DEBIAN-CVE-2022-35978

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.