Amazon Linux AMI : glibc (ALAS-2022-1576)

critical Nessus Plugin ID 159562

Synopsis

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

Description

The version of glibc installed on the remote host is prior to 2.17-324.189. It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS-2022-1576 advisory.

- The deprecated compatibility function svcunix_create in the sunrpc module of the GNU C Library (aka glibc) through 2.34 copies its path argument on the stack without validating its length, which may result in a buffer overflow, potentially resulting in a denial of service or (if an application is not built with a stack protector enabled) arbitrary code execution. (CVE-2022-23218)

- The deprecated compatibility function clnt_create in the sunrpc module of the GNU C Library (aka glibc) through 2.34 copies its hostname argument on the stack without validating its length, which may result in a buffer overflow, potentially resulting in a denial of service or (if an application is not built with a stack protector enabled) arbitrary code execution. (CVE-2022-23219)

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

Solution

Run 'yum update glibc' to update your system.

See Also

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

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

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

Plugin Details

Severity: Critical

ID: 159562

File Name: ala_ALAS-2022-1576.nasl

Version: 1.3

Type: local

Agent: unix

Published: 4/6/2022

Updated: 11/2/2023

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.2

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

CVSS Score Source: CVE-2022-23219

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 9.1

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

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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:glibc-debuginfo-common, p-cpe:/a:amazon:linux:nscd, p-cpe:/a:amazon:linux:glibc, p-cpe:/a:amazon:linux:glibc-devel, p-cpe:/a:amazon:linux:glibc-headers, p-cpe:/a:amazon:linux:glibc-static, p-cpe:/a:amazon:linux:glibc-debuginfo, cpe:/o:amazon:linux, p-cpe:/a:amazon:linux:glibc-common, p-cpe:/a:amazon:linux:glibc-utils

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: 4/4/2022

Vulnerability Publication Date: 1/14/2022

Reference Information

CVE: CVE-2022-23218, CVE-2022-23219

ALAS: 2022-1576