{"id":"CVE-2021-45985","state":"PUBLISHED","title":"In Lua 5.4.3, an erroneous finalizer called during a tail call leads to a heap-based buffer over-read.","description":"In Lua 5.4.3, an erroneous finalizer called during a tail call leads to a heap-based buffer over-read.","publishedAt":"2023-04-10T00:00:00.000Z","updatedAt":"2025-02-12T16:02:20.735Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"CISA-ADP"},"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://www.lua.org/bugs.html#5.4.3-11","https://github.com/lua/lua/commit/cf613cdc6fa367257fc61c256f63d917350858b5","http://lua-users.org/lists/lua-l/2021-12/msg00019.html"],"weaknesses":["CWE-787"],"ingestedAt":"2026-10-29T19:49:13.309Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/45xxx/CVE-2021-45985.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-45985","state":"PUBLISHED","datePublished":"2023-04-10T00:00:00.000Z","dateUpdated":"2025-02-12T16:02:20.735Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2022-01-03T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"In Lua 5.4.3, an erroneous finalizer called during a tail call leads to a heap-based buffer over-read."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://www.lua.org/bugs.html#5.4.3-11"},{"url":"https://github.com/lua/lua/commit/cf613cdc6fa367257fc61c256f63d917350858b5"},{"url":"http://lua-users.org/lists/lua-l/2021-12/msg00019.html"}],"problemTypes":[{"descriptions":[{"type":"text","lang":"en","description":"n/a"}]}],"providerMetadata":{"shortName":"mitre","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateUpdated":"2023-04-10T00:00:00.000Z"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://www.lua.org/bugs.html#5.4.3-11","tags":["x_transferred"]},{"url":"https://github.com/lua/lua/commit/cf613cdc6fa367257fc61c256f63d917350858b5","tags":["x_transferred"]},{"url":"http://lua-users.org/lists/lua-l/2021-12/msg00019.html","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T04:54:31.069Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.5,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-02-12T16:01:31.275627Z","id":"CVE-2021-45985","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-787","type":"CWE","lang":"en","description":"CWE-787 Out-of-bounds Write"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-02-12T16:02:20.735Z"}}]}}}