CVE-2021-45985
HIGHCVSS 7.5/10EPSS 1.42%
Last modified
CVE-2021-45985 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. In Lua 5.4.3, an erroneous finalizer called during a tail call leads to a heap-based buffer over-read.. EPSS estimates a 1.42% chance of exploitation in the next 30 days.
Description
In Lua 5.4.3, an erroneous finalizer called during a tail call leads to a heap-based buffer over-read.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Lua | Lua | >= 5.4.0, < 5.4.4 |
References
- http://lua-users.org/lists/lua-l/2021-12/msg00019.htmlExploit, Mailing List, Vendor Advisory
- https://www.lua.org/bugs.html#5.4.3-11Vendor Advisory
- http://lua-users.org/lists/lua-l/2021-12/msg00019.htmlExploit, Mailing List, Vendor Advisory
- https://www.lua.org/bugs.html#5.4.3-11Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2021-45985?
In Lua 5.4.3, an erroneous finalizer called during a tail call leads to a heap-based buffer over-read.
How severe is CVE-2021-45985?
CVE-2021-45985 has a CVSS score of 7.5/10 (HIGH severity). The EPSS model estimates a 1.42% probability of exploitation in the next 30 days.
How do I fix CVE-2021-45985?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-45978Foxit PDF Reader and PDF Editor before 11.1 on macOS allow r…7.8
- CVE-2021-45979Foxit PDF Reader and PDF Editor before 11.1 on macOS allow r…7.8
- CVE-2021-45980Foxit PDF Reader and PDF Editor before 11.1 on macOS allow r…7.8
- CVE-2021-45981NetScout nGeniusONE 6.3.2 allows an XML External Entity (XXE…9.8
- CVE-2021-45982NetScout nGeniusONE 6.3.2 allows Arbitrary File Upload by a …8.8
- CVE-2021-45983NetScout nGeniusONE 6.3.2 allows Java RMI Code Execution.9.8
- CVE-2021-45986Tenda routers G1 and G3 v15.11.0.17(9502)_CN were discovered…9.8
- CVE-2021-45987Tenda routers G1 and G3 v15.11.0.17(9502)_CN were discovered…9.8
- CVE-2021-45988Tenda routers G1 and G3 v15.11.0.17(9502)_CN were discovered…7.5
- CVE-2021-45989Tenda routers G1 and G3 v15.11.0.17(9502)_CN were discovered…7.5
- CVE-2021-45990Tenda routers G1 and G3 v15.11.0.17(9502)_CN were discovered…9.8
- CVE-2021-45991Tenda routers G1 and G3 v15.11.0.17(9502)_CN were discovered…7.5
Are you affected by CVE-2021-45985?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
