CVE-2020-24371 Memory corruption in n/a
A memory access violation in Lua's garbage collector allows attackers to cause denial of service or potentially execute arbitrary code.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-24371?
CVE-2020-24371 is a medium-severity memory corruption vulnerability in n/a, published on 17 Aug 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
lgc.c in Lua 5.4.0 mishandles the interaction between barriers and the sweep phase, leading to a memory access violation involving collectgarbage.
Weakness: CWE-763
Which versions are affected by CVE-2020-24371?
1 open source package ship an affected version, including lua. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
lua Bitnami | From 5.4.0 | 5.4.1 |
Products include Lua Lua.
How do I fix CVE-2020-24371?
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-24371 being exploited?
There is no known exploitation of CVE-2020-24371 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as AZL-40962, BIT-lua-2020-24371, DEBIAN-CVE-2020-24371, GHSA-4m5p-2hm8-9fxm.