Amazon Linux 2 : nghttp2 (ALAS-2023-2180)

high Nessus Plugin ID 179772

Synopsis

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

Description

The version of nghttp2 installed on the remote host is prior to 1.41.0-1. It is, therefore, affected by a vulnerability as referenced in the ALAS2-2023-2180 advisory.

- Envoy is a cloud-native high-performance edge/middle/service proxy. Envoy's HTTP/2 codec may leak a header map and bookkeeping structures upon receiving `RST_STREAM` immediately followed by the `GOAWAY` frames from an upstream server. In nghttp2, cleanup of pending requests due to receipt of the `GOAWAY` frame skips de-allocation of the bookkeeping structure and pending compressed header. The error return [code path] is taken if connection is already marked for not sending more requests due to `GOAWAY` frame. The clean-up code is right after the return statement, causing memory leak. Denial of service through memory exhaustion. This vulnerability was patched in versions(s) 1.26.3, 1.25.8, 1.24.9, 1.23.11.
(CVE-2023-35945)

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 nghttp2' to update your system.

See Also

https://alas.aws.amazon.com/AL2/ALAS-2023-2180.html

https://alas.aws.amazon.com/cve/html/CVE-2023-35945.html

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

Plugin Details

Severity: High

ID: 179772

File Name: al2_ALAS-2023-2180.nasl

Version: 1.0

Type: local

Agent: unix

Published: 8/14/2023

Updated: 8/14/2023

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

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

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

CVSS Score Source: CVE-2023-35945

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:nghttp2-debuginfo, p-cpe:/a:amazon:linux:libnghttp2, cpe:/o:amazon:linux:2, p-cpe:/a:amazon:linux:nghttp2, p-cpe:/a:amazon:linux:libnghttp2-devel

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

Exploit Ease: No known exploits are available

Patch Publication Date: 8/3/2023

Vulnerability Publication Date: 7/13/2023

Reference Information

CVE: CVE-2023-35945