CVE-2021-45985 Detail

Description

In Lua 5.4.3, an erroneous finalizer called during a tail call leads to a heap-based buffer over-read.

Severity

CVSS 3.x Severity and Metrics:

CVSS 2.0 Severity and Metrics:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].

Weakness Enumeration

CWE-ID CWE Name Source
CWE-787 Out-of-bounds Write NIST  

Change History

1 change records found show changes

Initial Analysis by NIST 4/13/2023 11:51:34 PM

Action Type Old Value New Value
Added CPE Configuration
OR
     *cpe:2.3:a:lua:lua:5.4.3:*:*:*:*:*:*:*
Added CVSS V3.1
NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Added CWE
NIST CWE-787
Changed Reference Type
http://lua-users.org/lists/lua-l/2021-12/msg00019.html No Types Assigned
http://lua-users.org/lists/lua-l/2021-12/msg00019.html Exploit, Mailing List, Vendor Advisory
Changed Reference Type
https://github.com/lua/lua/commit/cf613cdc6fa367257fc61c256f63d917350858b5 No Types Assigned
https://github.com/lua/lua/commit/cf613cdc6fa367257fc61c256f63d917350858b5 Patch
Changed Reference Type
https://www.lua.org/bugs.html#5.4.3-11 No Types Assigned
https://www.lua.org/bugs.html#5.4.3-11 Vendor Advisory

Quick Info

CVE Dictionary Entry:
CVE-2021-45985
NVD Published Date:
04/10/2023
NVD Last Modified:
04/13/2023
Source:
MITRE