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

medium Nessus Plugin ID 212458

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

A stack overflow issue was discovered in Lua in the lua_resume() function of ldo.c. This flaw allows a local attacker to pass a specially crafted file to the Lua Interpreter, causing a crash that leads to a denial of service. (CVE-2021-43519)

A flaw was found in Lua. An SEGV crash in the funcnamefromcode() function in ldebug.c during error handling occurs in __close metamethods. This flaw allows an attacker to cause a denial of service.
(CVE-2021-44647)

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 --releasever=2022.0.20220222 lua' to update your system.

See Also

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

https://alas.aws.amazon.com/cve/html/CVE-2021-43519.html

https://alas.aws.amazon.com/cve/html/CVE-2021-44647.html

Plugin Details

Severity: Medium

ID: 212458

File Name: al2022_ALAS2022-2022-031.nasl

Version: 1.2

Type: local

Agent: unix

Published: 12/11/2024

Updated: 12/12/2024

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.4

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

CVSS Score Source: CVE-2021-43519

CVSS v3

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 5

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

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

CVSS Score Source: CVE-2021-44647

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: 2/22/2022

Vulnerability Publication Date: 11/9/2021

Reference Information

CVE: CVE-2021-43519, CVE-2021-44647