CVE-2020-15889 Memory corruption in n/a
A heap-based buffer over-read in Lua's garbage collector allows attackers to cause denial of service or disclose sensitive memory contents.
- 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-15889?
CVE-2020-15889 is a critical memory corruption vulnerability in n/a, published on 21 Jul 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Lua 5.4.0 has a getobjname heap-based buffer over-read because youngcollection in lgc.c uses markold for an insufficient number of list members.
Weakness: CWE-125
Which versions are affected by CVE-2020-15889?
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-15889?
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-15889 being exploited?
There is no known exploitation of CVE-2020-15889 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as BIT-lua-2020-15889, DEBIAN-CVE-2020-15889, GHSA-j29r-h8wr-v5v8.