Amazon Linux 2022 : lua, lua-devel, lua-libs (ALAS2022-2022-146)

critical Nessus Plugin ID 166119

Synopsis

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

Description

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

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)

Tenable has extracted the preceding description block directly from the tested product security advisory.

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

Solution

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

See Also

https://alas.aws.amazon.com/AL2022/ALAS-2022-146.html

https://alas.aws.amazon.com/cve/html/CVE-2022-28805.html

https://alas.aws.amazon.com/cve/html/CVE-2022-33099.html

Plugin Details

Severity: Critical

ID: 166119

File Name: al2022_ALAS2022-2022-146.nasl

Version: 1.4

Type: local

Agent: unix

Published: 10/14/2022

Updated: 12/11/2024

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.0

CVSS v2

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

CVSS v3

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-debugsource, p-cpe:/a:amazon:linux:lua, 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, p-cpe:/a:amazon:linux:lua-devel, p-cpe:/a:amazon:linux:lua-debuginfo

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: 10/3/2022

Vulnerability Publication Date: 4/8/2022

Reference Information

CVE: CVE-2022-28805, CVE-2022-33099