Advisory Database
  • Advisories
  • Dependency Scanning
  1. conan
  2. ›
  3. lua
  4. ›
  5. CVE-2021-44964

CVE-2021-44964: Use After Free

March 14, 2022 (updated March 21, 2022)

Use after free in garbage collector and finalizer of lgc.c in Lua interpreter 5.4.0~5.4.3 allows attackers to perform Sandbox Escape via a crafted script file.

References

  • lua-users.org/lists/lua-l/2021-11/msg00186.html
  • lua-users.org/lists/lua-l/2021-12/msg00007.html
  • lua-users.org/lists/lua-l/2021-12/msg00015.html
  • lua-users.org/lists/lua-l/2021-12/msg00030.html
  • github.com/Lua-Project/lua-5.4.4-sandbox-escape-with-new-vulnerability
  • nvd.nist.gov/vuln/detail/CVE-2021-44964

Code Behaviors & Features

Detect and mitigate CVE-2021-44964 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 5.4.0 up to 5.4.3

Fixed versions

  • 5.4.4

Solution

Upgrade to version 5.4.4 or above.

Impact 6.3 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-416: Use After Free

Source file

conan/lua/CVE-2021-44964.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:00 +0000.