SecurityContext

CVE-2021-44647: Lua - Use After Free

  • Cve: CVE-2021-44647
  • Name: Lua - Use After Free
  • Description: Lua v5.4.3 and above are affected by SEGV by type confusion in funcnamefromcode function in ldebug.c which can cause a local denial of service.
  • Impact: Local attackers can cause a denial of service by crashing the interpreter through segmentation fault.
  • Remediation: Update to the latest version of Lua, or apply patches addressing this issue.
  • Vulnerability type: use_after_free
  • Vulnerability impact: denial_of_service
  • Requirement type: logged_in
  • Requirements: Attacker needs local access
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.5
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.0045
  • Epss percentile: 0.39612
  • Assignee: [email protected]
  • Published at: 2022-01-11T13:15:07Z
  • Age in days: 1778
  • Modified at: 2026-06-17T04:12:38Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 5
  • Products total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-44647
  • 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-843Access of Resource Using Incompatible Type

Public exploits

UrlSourceAdded date
http://lua-users.org/lists/lua-l/2021-11/msg00195.htmlnvd2022-01-11

References

Same in every row:

  • Source: nvd
UrlTags
http://lua-users.org/lists/lua-l/2021-11/msg00204.htmlMailing List, Patch, Vendor Advisory
http://lua-users.org/lists/lua-l/2021-11/msg00195.htmlExploit, Mailing List, Vendor Advisory
https://access.redhat.com/security/cve/cve-2021-44647Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/P3EMGAQ5Y6GXJLY4K5DUOOEQT4MZ4J4F/
https://security.gentoo.org/glsa/202305-23

Products

ProductAffectedPlatform boundSourcesUrl
lua:lua= 5.4.3nonvd/v1/products/lua/lua
fedoraproject:fedora= 34nonvd/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: 2022-01-11
  • Authentication required: yes
  • Exposed hosts: 49161
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports