CVE-2020-24342

Source
https://cve.org/CVERecord?id=CVE-2020-24342
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-24342.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-24342
Aliases
Downstream
BELL (1)
DEBIAN (1)
openSUSE (2)
Related
Published
2020-08-13T19:15:13Z
Modified
2026-07-08T19:02:31Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

Lua through 5.4.0 allows a stack redzone cross in luaO_pushvfstring because a protection mechanism wrongly calls luaD_callnoyield twice in a row.

Database specific
{
    "unresolved_ranges":  [
        {
            "cpes":  [
                "cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "introduced":  "33"
                },
                {
                    "last_affected":  "33"
                }
            ],
            "source":  "CPE_STRING",
            "vendor_product":  "fedoraproject:fedora"
        }
    ]
}
References

Affected packages

Git / github.com/lua/lua

Affected ranges

Type
GIT
Repo
https://github.com/lua/lua
Events
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:lua:lua:5.4.0:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "5.4.0"
        },
        {
            "last_affected":  "5.4.0"
        }
    ],
    "source":  [
        "CPE_STRING",
        "REFERENCES"
    ]
}

Affected versions

5.*
5.4.0
v5.*
v5.4.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-24342.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "19393622418567517198781995424538435971",
            "length":  203
        },
        "id":  "CVE-2020-24342-46e61d2d",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/lua/lua/commit/34affe7a63fc5d842580a9f23616d057e17dfe27",
        "target":  {
            "file":  "ldo.c",
            "function":  "luaD_callnoyield"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "307434724169721203115088959011068448315",
                "142710705972916715821753310510346050538",
                "132059686558750829782112284199427550874",
                "289888402931218646482748640243965616128",
                "244127718289203141723121943598927242891",
                "17269890457240028859642241902384334321",
                "54095854288253291227407020601160490895"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2020-24342-e3b3e09e",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/lua/lua/commit/34affe7a63fc5d842580a9f23616d057e17dfe27",
        "target":  {
            "file":  "ldo.c"
        }
    }
]
vanir_signatures_modified
"2026-07-08T19:02:31Z"