Amazon Linux 2022 : (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.

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

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.3

Type: local

Agent: unix

Published: 10/14/2022

Updated: 10/9/2023

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, 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, 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: 10/3/2022

Vulnerability Publication Date: 4/8/2022

Reference Information

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