Buffer overflow in Lua

CVE-2020-24342

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.

Vulnerability class: Buffer Overflow

EPSS: 0.011 (61.8th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2020-24342?
CVE-2020-24342 is a high-severity vulnerability in Lua, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 7.8/10. Published 2020-08-13.
How severe is CVE-2020-24342?
High severity. CVSS v3 base score is 7.8 out of 10.