First published: Mon Apr 10 2023(Updated: )
In Lua 5.4.3, an erroneous finalizer called during a tail call leads to a heap-based buffer over-read.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
Lua Lua | =5.4.3 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2021-45985 is a vulnerability in Lua 5.4.3 that causes an erroneous finalizer to be called during a tail call, leading to a heap-based buffer over-read.
The severity of CVE-2021-45985 is high, with a severity value of 7.5.
CVE-2021-45985 can cause a heap-based buffer over-read in Lua 5.4.3 due to an erroneous finalizer called during a tail call.
To fix CVE-2021-45985, update Lua to version 5.4.4 or later, which includes a patch for the vulnerability.
You can find more information about CVE-2021-45985 on the Lua mailing list, Lua GitHub repository, and Lua bug tracker.