QID 354423

Date Published: 2022-12-21

QID 354423: Amazon Linux Security Advisory for lua : ALAS2022-2022-146

A heap buffer-overflow vulnerability was found in lua.
The flaw occurs due to vulnerable code present in the lparser.c function of lua that allows the execution of untrusted lua code into a system, resulting in malicious activity. (
( CVE-2022-28805) 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. (
( CVE-2022-33099)



Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

Successful exploitation of this vulnerability could lead to a securitybreach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as Critical - 9.1 severity.
  • CVSS V2 rated as High - 6.4 severity.
  • Solution
    Please refer to Amazon advisory: ALAS2022-2022-146 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 354423

    Software Advisories
    Advisory ID Software Component Link
    ALAS2022-2022-146 amazon linux 2022 URL Logo alas.aws.amazon.com/AL2022/ALAS-2022-146.html