CVE-2022-33099

Source
https://cve.org/CVERecord?id=CVE-2022-33099
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-33099.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-33099
Aliases
Downstream
Related
Published
2022-07-01T12:15:08.173Z
Modified
2026-02-24T01:39:49.353757Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

An issue in the component luaG_runerror of Lua v5.4.4 and below leads to a heap-buffer overflow when a recursive error occurs.

References

Affected packages

Git / github.com/lua/lua

Affected ranges

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

Affected versions

v1.*
v1.2
v2.*
v2.1
v2.2
v2.3-beta
v2.4
v2.4-beta
v2.5
v2.5-beta
v2.5.1
v3.*
v3.0
v3.0-alpha
v3.1
v3.1-alpha
v3.2
v3.2-beta
v4.*
v4.0
v4.0-alpha
v4.0-beta
v4.1-alpha
v5.*
v5.0
v5.0-alpha
v5.0-beta
v5.1
v5.1-alpha
v5.1-beta
v5.1.1
v5.2-alpha
v5.2-beta
v5.2.0
v5.2.1
v5.2.2
v5.3-alpha
v5.3-beta
v5.3.0
v5.3.1
v5.3.2
v5.3.3
v5.3.4
v5.4-alpha
v5.4-beta
v5.4-w2
v5.4.0
v5.4.1
v5.4.2
v5.4.3
v5.4.4

Database specific

vanir_signatures
[
    {
        "id": "CVE-2022-33099-130d0ed2",
        "signature_version": "v1",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "47064890593937786897531178058191810844",
                "332134119330750700401512169069853671896",
                "265513752968495196327410634712261241495",
                "4686135018978641772480404961188955158",
                "191357327930270353914184361696403200245"
            ]
        },
        "deprecated": false,
        "source": "https://github.com/lua/lua/commit/42d40581dd919fb134c07027ca1ce0844c670daf",
        "signature_type": "Line",
        "target": {
            "file": "ldebug.c"
        }
    },
    {
        "id": "CVE-2022-33099-422ac859",
        "signature_version": "v1",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "238664278947635791321220985534781971204",
                "110587412781719742331913145596387590167",
                "122377330859284596425482454709373106670",
                "41978752855376686284244150713173810101",
                "244764617910085233208160284415443226461",
                "237849260543562680110344945870625485769",
                "37562800747512701822999390229154263700",
                "219524848240838254345629611037116750206",
                "108725855737991599988774000492808822080"
            ]
        },
        "deprecated": false,
        "source": "https://github.com/lua/lua/commit/42d40581dd919fb134c07027ca1ce0844c670daf",
        "signature_type": "Line",
        "target": {
            "file": "lvm.c"
        }
    },
    {
        "id": "CVE-2022-33099-a6a7014b",
        "signature_version": "v1",
        "digest": {
            "function_hash": "144187715496695041250959146983441313261",
            "length": 1148.0
        },
        "deprecated": false,
        "source": "https://github.com/lua/lua/commit/42d40581dd919fb134c07027ca1ce0844c670daf",
        "signature_type": "Function",
        "target": {
            "file": "lvm.c",
            "function": "luaV_concat"
        }
    },
    {
        "id": "CVE-2022-33099-e7e66be7",
        "signature_version": "v1",
        "digest": {
            "function_hash": "281541209982265951639218471101078983413",
            "length": 358.0
        },
        "deprecated": false,
        "source": "https://github.com/lua/lua/commit/42d40581dd919fb134c07027ca1ce0844c670daf",
        "signature_type": "Function",
        "target": {
            "file": "ldebug.c",
            "function": "luaG_runerror"
        }
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-33099.json"