<?xml version="1.0" encoding="utf-8"?>
  <?xml-stylesheet type="text/xsl" href="sa-render.xsl"?>
  <update from="huaweicloud.com" type="security" status="stable" version="1">
    <id>HCE2-SA-2024-0191</id>
    <title>An update for lua is now available for HCE 2.0</title>
    <severity>Critical</severity>
    <release>HCE 2.0</release>
    <issued date="2024-06-28 03:57:56"/>
    <updated date="2024-06-28 03:57:56"/>
    <references>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2021-43519" id="CVE-2021-43519" title="CVE-2021-43519 Base Score: 5.5 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2022-28805" id="CVE-2022-28805" title="CVE-2022-28805 Base Score: 9.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2021-44647" id="CVE-2021-44647" title="CVE-2021-44647 Base Score: 5.5 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H" type="cve"/>
    </references>
    <description>Security Fix(es):

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. (CVE-2021-43519)

singlevar in lparser.c in Lua from (including) 5.4.0 up to (excluding) 5.4.4 lacks a certain luaK_exp2anyregup call, leading to a heap-based buffer over-read that might affect a system that compiles untrusted Lua code. (CVE-2022-28805)

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. (CVE-2021-44647)
</description>
    <pkglist>
      <collection short="HCE 2.0" package="lua">
        <name>HCE 2.0</name>
        <package arch="aarch64" name="lua" version="5.4.3" release="3.r10.hce2">
          <filename>lua-5.4.3-3.r10.hce2.aarch64.rpm</filename>
        </package>
        <package arch="aarch64" name="lua-devel" version="5.4.3" release="3.r10.hce2">
          <filename>lua-devel-5.4.3-3.r10.hce2.aarch64.rpm</filename>
        </package>
        <package arch="noarch" name="lua-help" version="5.4.3" release="3.r10.hce2">
          <filename>lua-help-5.4.3-3.r10.hce2.noarch.rpm</filename>
        </package>
        <package arch="x86_64" name="lua" version="5.4.3" release="3.r10.hce2">
          <filename>lua-5.4.3-3.r10.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="lua-devel" version="5.4.3" release="3.r10.hce2">
          <filename>lua-devel-5.4.3-3.r10.hce2.x86_64.rpm</filename>
        </package>
        <package arch="noarch" name="lua-help" version="5.4.3" release="3.r10.hce2">
          <filename>lua-help-5.4.3-3.r10.hce2.noarch.rpm</filename>
        </package>
      </collection>
    </pkglist>
  </update>
