{
  "threat_severity" : "Moderate",
  "public_date" : "2022-07-01T00:00:00Z",
  "bugzilla" : {
    "description" : "lua: heap buffer overflow in luaG_errormsg() in ldebug.c due to uncontrolled recursion in error handling",
    "id" : "2104427",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2104427"
  },
  "cvss3" : {
    "cvss3_base_score" : "6.5",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-787",
  "details" : [ "An issue in the component luaG_runerror of Lua v5.4.4 and below leads to a heap-buffer overflow when a recursive error occurs.", "A vulnerability was found in Lua. During error handling, the luaG_errormsg() component uses slots from EXTRA_STACK. Some errors can recur such as a string overflow while creating an error message in 'luaG_runerror', or a C-stack overflow before calling the message handler, causing a crash that leads to a denial of service." ],
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2022-11-02T00:00:00Z",
    "advisory" : "RHSA-2022:7329",
    "cpe" : "cpe:/a:redhat:enterprise_linux:9",
    "package" : "lua-0:5.4.2-4.el9_0.3"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2022-11-02T00:00:00Z",
    "advisory" : "RHSA-2022:7329",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9",
    "package" : "lua-0:5.4.2-4.el9_0.3"
  } ],
  "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-2022-33099\nhttps://nvd.nist.gov/vuln/detail/CVE-2022-33099" ],
  "name" : "CVE-2022-33099",
  "csaw" : false
}