CVE-2020-24369

Source
https://nvd.nist.gov/vuln/detail/CVE-2020-24369
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-24369.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-24369
Aliases
Downstream
Related
Published
2020-08-17T17:15:13Z
Modified
2025-10-21T05:47:06.097190Z
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

ldebug.c in Lua 5.4.0 attempts to access debug information via the line hook of a stripped function, leading to a NULL pointer dereference.

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

Database specific

vanir_signatures

[
    {
        "source": "https://github.com/lua/lua/commit/ae5b5ba529753c7a653901ffc29b5ea24c3fdf3a",
        "target": {
            "file": "ldebug.c"
        },
        "digest": {
            "line_hashes": [
                "191357327930270353914184361696403200245",
                "81257735572345837800767669984728473029",
                "79202178554810973801731794510384921731",
                "214496039041368728151161948384834180113",
                "327015659194682228887671907297498597185",
                "131947794654282215377006389794341554693",
                "142406554357787015911062368758120942388",
                "283583517597706205043460995415619269999",
                "252187278128377095359608730677865696776"
            ],
            "threshold": 0.9
        },
        "deprecated": false,
        "id": "CVE-2020-24369-09480371",
        "signature_type": "Line",
        "signature_version": "v1"
    },
    {
        "source": "https://github.com/lua/lua/commit/ae5b5ba529753c7a653901ffc29b5ea24c3fdf3a",
        "target": {
            "function": "changedline",
            "file": "ldebug.c"
        },
        "digest": {
            "function_hash": "112196691550847094243539598721974676716",
            "length": 233.0
        },
        "deprecated": false,
        "id": "CVE-2020-24369-708972b8",
        "signature_type": "Function",
        "signature_version": "v1"
    }
]