{"id":"CVE-2020-24342","details":"Lua through 5.4.0 allows a stack redzone cross in luaO_pushvfstring because a protection mechanism wrongly calls luaD_callnoyield twice in a row.","aliases":["BIT-lua-2020-24342"],"modified":"2026-07-08T19:02:31.673582Z","published":"2020-08-13T19:15:13.613Z","related":["openSUSE-SU-2024:11029-1","openSUSE-SU-2025:15401-1"],"database_specific":{"unresolved_ranges":[{"cpes":["cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"33"},{"last_affected":"33"}],"source":"CPE_STRING","vendor_product":"fedoraproject:fedora"}]},"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QA5Q5MDQMTGXRQO3PAQ4EZFTYWJXZM5N/"},{"type":"FIX","url":"https://github.com/lua/lua/commit/34affe7a63fc5d842580a9f23616d057e17dfe27"},{"type":"EVIDENCE","url":"http://lua-users.org/lists/lua-l/2020-07/msg00052.html"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/lua/lua","events":[{"introduced":"c33b1728aeb7dfeec4013562660e07d32697aa6b"},{"last_affected":"c33b1728aeb7dfeec4013562660e07d32697aa6b"},{"fixed":"34affe7a63fc5d842580a9f23616d057e17dfe27"}],"database_specific":{"cpe":"cpe:2.3:a:lua:lua:5.4.0:*:*:*:*:*:*:*","extracted_events":[{"introduced":"5.4.0"},{"last_affected":"5.4.0"}],"source":["CPE_STRING","REFERENCES"]}}],"versions":["5.4.0","v5.4.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-24342.json","vanir_signatures_modified":"2026-07-08T19:02:31Z","vanir_signatures":[{"signature_type":"Function","signature_version":"v1","source":"https://github.com/lua/lua/commit/34affe7a63fc5d842580a9f23616d057e17dfe27","target":{"file":"ldo.c","function":"luaD_callnoyield"},"deprecated":false,"digest":{"function_hash":"19393622418567517198781995424538435971","length":203},"id":"CVE-2020-24342-46e61d2d"},{"target":{"file":"ldo.c"},"deprecated":false,"digest":{"line_hashes":["307434724169721203115088959011068448315","142710705972916715821753310510346050538","132059686558750829782112284199427550874","289888402931218646482748640243965616128","244127718289203141723121943598927242891","17269890457240028859642241902384334321","54095854288253291227407020601160490895"],"threshold":0.9},"id":"CVE-2020-24342-e3b3e09e","signature_type":"Line","signature_version":"v1","source":"https://github.com/lua/lua/commit/34affe7a63fc5d842580a9f23616d057e17dfe27"}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}