Debian DLA-3469-1 : lua5.3 - LTS security update

high Nessus Plugin ID 177553

Synopsis

The remote Debian host is missing one or more security-related updates.

Description

The remote Debian 10 host has packages installed that are affected by multiple vulnerabilities as referenced in the dla-3469 advisory.

- Lua 5.3.5 has a use-after-free in lua_upvaluejoin in lapi.c. For example, a crash outcome might be achieved by an attacker who is able to trigger a debug.upvaluejoin call in which the arguments have certain relationships. (CVE-2019-6706)

- ldebug.c in Lua 5.4.0 allows a negation overflow and segmentation fault in getlocal and setlocal, as demonstrated by getlocal(3,2^31). (CVE-2020-24370)

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

Solution

Upgrade the lua5.3 packages.

For Debian 10 buster, these problems have been fixed in version 5.3.3-1.1+deb10u1.

See Also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=920321

https://security-tracker.debian.org/tracker/source-package/lua5.3

https://www.debian.org/lts/security/2023/dla-3469

https://security-tracker.debian.org/tracker/CVE-2019-6706

https://security-tracker.debian.org/tracker/CVE-2020-24370

https://packages.debian.org/source/buster/lua5.3

Plugin Details

Severity: High

ID: 177553

File Name: debian_DLA-3469.nasl

Version: 1.0

Type: local

Agent: unix

Published: 6/23/2023

Updated: 6/23/2023

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.9

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

CVSS Score Source: CVE-2020-24370

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.7

Vector: CVSS:3.0/AV:N/AC:L/PR:N/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-2019-6706

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:liblua5.3-0, cpe:/o:debian:debian_linux:10.0, p-cpe:/a:debian:debian_linux:liblua5.3-0-dbg, p-cpe:/a:debian:debian_linux:liblua5.3-dev, p-cpe:/a:debian:debian_linux:lua5.3

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 6/23/2023

Vulnerability Publication Date: 1/23/2019

Reference Information

CVE: CVE-2019-6706, CVE-2020-24370