CVE-2022-35978

Source
https://cve.org/CVERecord?id=CVE-2022-35978
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-35978.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-35978
Aliases
  • GHSA-663q-pcjw-27cc
Downstream
Related
Published
2022-08-15T19:05:11Z
Modified
2026-04-16T04:35:32.340740345Z
Severity
  • 7.7 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:H/A:L CVSS Calculator
Summary
Lua sandbox escape from mod in Minetest
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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/35xxx/CVE-2022-35978.json",
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-693"
    ]
}
References

Affected packages

Git / github.com/luanti-org/luanti

Affected ranges

Type
GIT
Repo
https://github.com/luanti-org/luanti
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*
0.2.20110731_3
0.2.20110922
0.2.20110922_1
0.3.0
0.3.1
0.3.dev-20111021
0.4.0
0.4.1
0.4.10
0.4.11
0.4.13
0.4.14
0.4.15
0.4.16
0.4.2-rc1
0.4.3
0.4.4
0.4.8
0.4.9
0.4.dev-20111201-0
0.4.dev-20111202-1
0.4.dev-20111203-1
0.4.dev-20111203-2
0.4.dev-20111203-3
0.4.dev-20111204-1
0.4.dev-20111209-1
0.4.dev-20120106-1
0.4.dev-20120122-1
0.4.dev-20120318
0.4.dev-20120320
0.4.dev-20120326
0.4.dev-20120408
0.4.dev-20120603
0.4.dev-20120606
5.*
5.0.0
5.1.0
5.2.0
5.3.0
5.4.0
5.5.0

Database specific

vanir_signatures_modified
"2026-04-11T23:41:58Z"
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-35978.json"
vanir_signatures
[
    {
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "176577393657784838937337067422752848185",
                "231714822765862313606177424618259089224",
                "208500891340563543419976022653506180140",
                "59163179051876664140845777577596136176",
                "94135328803724260969052602366128234721",
                "91644312944984581510822448612090138213",
                "118061705799679389374600719403203971586",
                "94108287914412563219834242331285351939",
                "297295444819886776360825326696600298970",
                "279175145072630370503033368460552013865"
            ]
        },
        "id": "CVE-2022-35978-57bf2a73",
        "source": "https://github.com/luanti-org/luanti/commit/da71e86633d0b27cd02d7aac9fdac625d141ca13",
        "signature_type": "Line",
        "deprecated": false,
        "signature_version": "v1",
        "target": {
            "file": "src/script/lua_api/l_settings.cpp"
        }
    },
    {
        "signature_version": "v1",
        "id": "CVE-2022-35978-b4ad9459",
        "source": "https://github.com/luanti-org/luanti/commit/da71e86633d0b27cd02d7aac9fdac625d141ca13",
        "signature_type": "Function",
        "deprecated": false,
        "target": {
            "file": "src/script/lua_api/l_settings.cpp",
            "function": "checkSettingSecurity"
        },
        "digest": {
            "length": 608.0,
            "function_hash": "184387379296907250569518064336703200502"
        }
    }
]

Git / github.com/minetest/minetest

Affected ranges

Type
GIT
Repo
https://github.com/minetest/minetest
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*
0.2.20110731_3
0.2.20110922
0.2.20110922_1
0.3.0
0.3.1
0.3.dev-20111021
0.4.0
0.4.1
0.4.10
0.4.11
0.4.13
0.4.14
0.4.15
0.4.16
0.4.2-rc1
0.4.3
0.4.4
0.4.8
0.4.9
0.4.dev-20111201-0
0.4.dev-20111202-1
0.4.dev-20111203-1
0.4.dev-20111203-2
0.4.dev-20111203-3
0.4.dev-20111204-1
0.4.dev-20111209-1
0.4.dev-20120106-1
0.4.dev-20120122-1
0.4.dev-20120318
0.4.dev-20120320
0.4.dev-20120326
0.4.dev-20120408
0.4.dev-20120603
0.4.dev-20120606
5.*
5.0.0
5.1.0
5.2.0
5.3.0
5.4.0
5.5.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-35978.json"