{"id":"CVE-2021-45985","sourceIdentifier":"cve@mitre.org","published":"2023-04-10T09:15:07.250","lastModified":"2026-06-17T04:14:21.940","vulnStatus":"Analyzed","cveTags":[],"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":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6},{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2025-02-12T16:01:31.275627Z","id":"CVE-2021-45985","options":[{"exploitation":"poc"},{"automatable":"yes"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-787"}]},{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","description":[{"lang":"en","value":"CWE-787"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:lua:lua:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4.0","versionEndExcluding":"5.4.4","matchCriteriaId":"6722715C-7599-4D4C-A636-8A9A9F7F4619"}]}]}],"references":[{"url":"http://lua-users.org/lists/lua-l/2021-12/msg00019.html","source":"cve@mitre.org","tags":["Exploit","Mailing List","Vendor Advisory"]},{"url":"https://github.com/lua/lua/commit/cf613cdc6fa367257fc61c256f63d917350858b5","source":"cve@mitre.org","tags":["Patch"]},{"url":"https://www.lua.org/bugs.html#5.4.3-11","source":"cve@mitre.org","tags":["Vendor Advisory"]},{"url":"http://lua-users.org/lists/lua-l/2021-12/msg00019.html","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Mailing List","Vendor Advisory"]},{"url":"https://github.com/lua/lua/commit/cf613cdc6fa367257fc61c256f63d917350858b5","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://www.lua.org/bugs.html#5.4.3-11","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]}]}