Amazon Linux 2022 : (ALAS2022-2022-176)

critical Nessus Plugin ID 166997


The remote Amazon Linux 2022 host is missing a security update.


It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS2022-2022-176 advisory.

- 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)

- 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)

- 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)

- 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. (CVE-2022-33099)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.


Run 'dnf update lua --releasever=2022.0.20221102' to update your system.

See Also

Plugin Details

Severity: Critical

ID: 166997

File Name: al2022_ALAS2022-2022-176.nasl

Version: 1.3

Type: local

Agent: unix

Published: 11/4/2022

Updated: 10/5/2023

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information


Risk Factor: Medium

Score: 6.0


Risk Factor: Medium

Base Score: 6.4

Temporal Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:P

CVSS Score Source: CVE-2022-28805


Risk Factor: Critical

Base Score: 9.1

Temporal Score: 8.2

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:lua, p-cpe:/a:amazon:linux:lua-debuginfo, p-cpe:/a:amazon:linux:lua-debugsource, p-cpe:/a:amazon:linux:lua-devel, p-cpe:/a:amazon:linux:lua-libs, p-cpe:/a:amazon:linux:lua-libs-debuginfo, p-cpe:/a:amazon:linux:lua-static, cpe:/o:amazon:linux:2022

Required KB Items: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 11/1/2022

Vulnerability Publication Date: 11/9/2021

Reference Information

CVE: CVE-2021-43519, CVE-2021-44647, CVE-2022-28805, CVE-2022-33099