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-03-23T05:09:34.381994547Z
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
Database specific
{
    "versions": [
        {
            "introduced": "5.4.2"
        },
        {
            "last_affected": "5.4.4"
        }
    ]
}

Affected versions

v5.*
v5.4.2
v5.4.3
v5.4.4

Database specific

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