{
  "threat_severity" : "Important",
  "public_date" : "2021-11-29T00:00:00Z",
  "bugzilla" : {
    "description" : "lua: use after free allows Sandbox Escape",
    "id" : "2064772",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2064772"
  },
  "cvss3" : {
    "cvss3_base_score" : "7.0",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-416",
  "details" : [ "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.", "A flaw was found in the Lua interpreter. This flaw allows an attacker who can have a malicious script executed by the interpreter, to cause a use-after-free issue that may result in a sandbox escape." ],
  "statement" : "This flaw does not affect versions of Lua shipped with Red Hat Enterprise Linux 6, 7, or 8; the vulnerable code was introduced in a subsequent version of Lua.",
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2023-02-28T00:00:00Z",
    "advisory" : "RHSA-2023:0957",
    "cpe" : "cpe:/a:redhat:enterprise_linux:9",
    "package" : "lua-0:5.4.4-2.el9_1",
    "impact" : "moderate"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2023-02-28T00:00:00Z",
    "advisory" : "RHSA-2023:0957",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9",
    "package" : "lua-0:5.4.4-2.el9_1",
    "impact" : "moderate"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9.0 Extended Update Support",
    "release_date" : "2023-03-14T00:00:00Z",
    "advisory" : "RHSA-2023:1211",
    "cpe" : "cpe:/a:redhat:rhel_eus:9.0",
    "package" : "lua-0:5.4.4-1.el9_0.1"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Not affected",
    "package_name" : "lua",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Not affected",
    "package_name" : "lua",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Not affected",
    "package_name" : "libreoffice:flatpak/lua",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Not affected",
    "package_name" : "lua",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  }, {
    "product_name" : "Red Hat JBoss Core Services",
    "fix_state" : "Not affected",
    "package_name" : "lua",
    "cpe" : "cpe:/a:redhat:jboss_core_services:1"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2021-44964\nhttps://nvd.nist.gov/vuln/detail/CVE-2021-44964\nhttp://lua-users.org/lists/lua-l/2021-12/msg00007.html\nhttps://www.lua.org/bugs.html#5.4.4-1" ],
  "name" : "CVE-2021-44964",
  "mitigation" : {
    "value" : "Ensure that the Lua interpreter runs only trusted scripts.",
    "lang" : "en:us"
  },
  "csaw" : false
}