Amazon Linux AMI : busybox (ALAS-2022-1558)

high Nessus Plugin ID 156867

Synopsis

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

Description

The version of busybox installed on the remote host is prior to 1.34.1-1.13. It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS-2022-1558 advisory.

- A NULL pointer dereference in Busybox's hush applet leads to denial of service when processing a crafted shell command, due to missing validation after a \x03 delimiter character. This may be used for DoS under very rare conditions of filtered command input. (CVE-2021-42376)

- A use-after-free in Busybox's awk applet leads to denial of service and possibly code execution when processing a crafted awk pattern in the getvar_i function (CVE-2021-42378)

- A use-after-free in Busybox's awk applet leads to denial of service and possibly code execution when processing a crafted awk pattern in the next_input_file function (CVE-2021-42379)

- A use-after-free in Busybox's awk applet leads to denial of service and possibly code execution when processing a crafted awk pattern in the handle_special function (CVE-2021-42384)

- A use-after-free in Busybox's awk applet leads to denial of service and possibly code execution when processing a crafted awk pattern in the evaluate function (CVE-2021-42385)

- A use-after-free in Busybox's awk applet leads to denial of service and possibly code execution when processing a crafted awk pattern in the nvalloc function (CVE-2021-42386)

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

Solution

Run 'yum update busybox' to update your system.

See Also

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

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

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

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

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

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

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

https://alas.aws.amazon.com/../../faqs.html

Plugin Details

Severity: High

ID: 156867

File Name: ala_ALAS-2022-1558.nasl

Version: 1.3

Type: local

Agent: unix

Published: 1/19/2022

Updated: 2/20/2023

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 4.8

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

CVSS Score Source: CVE-2021-42386

CVSS v3

Risk Factor: High

Base Score: 7.2

Temporal Score: 6.3

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

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

Vulnerability Information

CPE: cpe:/o:amazon:linux, p-cpe:/a:amazon:linux:busybox, p-cpe:/a:amazon:linux:busybox-petitboot, p-cpe:/a:amazon:linux:busybox-debuginfo

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

Exploit Ease: No known exploits are available

Patch Publication Date: 1/18/2022

Vulnerability Publication Date: 11/15/2021

Reference Information

CVE: CVE-2021-42376, CVE-2021-42378, CVE-2021-42379, CVE-2021-42384, CVE-2021-42385, CVE-2021-42386

ALAS: 2022-1558