CVE-2020-24342 Memory corruption in n/a
A flaw in Lua's stack protection mechanism allows attackers to trigger memory corruption, potentially leading to code execution or denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2020-24342?
CVE-2020-24342 is a high-severity memory corruption vulnerability in Fedoraproject Fedora, published on 13 Aug 2020. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
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.
Weakness: CWE-119
Which versions are affected by CVE-2020-24342?
1 open source package ship an affected version, including lua. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
lua Bitnami | From 5.4.0 | 5.4.1 |
Products include Fedoraproject Fedora, Lua Lua.
How do I fix CVE-2020-24342?
Upgrade lua to 5.4.1 or later.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2020-24342 being exploited?
There is no known exploitation of CVE-2020-24342 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as BIT-lua-2020-24342, DEBIAN-CVE-2020-24342, GHSA-ggfm-9pxx-qx8r.