SecurityContext

CVE-2021-43519: Lua Interpreter - Buffer Overflow

  • Cve: CVE-2021-43519
  • Name: Lua Interpreter - Buffer Overflow
  • Description: Stack overflow in lua_resume of ldo.c in Lua Interpreter 5.1.0~5.4.4 allows attackers to perform a Denial of Service via a crafted script file.
  • Impact: Attackers can cause a Denial of Service by crashing the interpreter with a crafted script file.
  • Remediation: Update to the latest version of Lua Interpreter that patches this vulnerability.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: denial_of_service
  • Requirement type: user_interaction
  • Requirements: Attacker needs to execute a crafted script file
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.5
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
  • Epss score: 0.01222
  • Epss percentile: 0.69489
  • Assignee: [email protected]
  • Published at: 2021-11-09T13:15:08Z
  • Age in days: 1841
  • Modified at: 2026-06-17T04:11:03Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 4
  • Products total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-43519
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-674Uncontrolled Recursion

Public exploits

UrlSourceAdded date
http://lua-users.org/lists/lua-l/2021-10/msg00123.htmlnvd2021-11-09

References

Same in every row:

  • Source: nvd
UrlTags
http://lua-users.org/lists/lua-l/2021-11/msg00015.htmlPatch, Vendor Advisory
http://lua-users.org/lists/lua-l/2021-10/msg00123.htmlExploit, Mailing List, Vendor Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/C7XHFYHGSZKL53VCLSJSAJ6VMFGAIXKO/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/P3EMGAQ5Y6GXJLY4K5DUOOEQT4MZ4J4F/

Products

ProductAffectedPlatform boundSourcesUrl
lua:lua>= 5.4.0, < 5.4.4; >= 5.1.0, < 5.3.5nonvd/v1/products/lua/lua
fedoraproject:fedora= 35nonvd/v1/products/fedoraproject/fedora

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2021-11-09
  • Exposed hosts: 49161
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports