Amazon Linux 2023 : grpc, grpc-cpp, grpc-data (ALAS2023-2023-282)

critical Nessus Plugin ID 179767

Synopsis

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

Description

It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS2023-2023-282 advisory.

2023-10-12: CVE-2023-4785 was added to this advisory.

When gRPC HTTP2 stack raised a header size exceeded error, it skipped parsing the rest of the HPACK frame.
This caused any HPACK table mutations to also be skipped, resulting in a desynchronization of HPACK tables between sender and receiver. If leveraged, say, between a proxy and a backend, this could lead to requests from the proxy being interpreted as containing headers from different proxy clients - leading to an information leak that can be used for privilege escalation or data exfiltration. We recommend upgrading beyond the commit contained in https://github.com/grpc/grpc/pull/33005 https://github.com/grpc/grpc/pull/33005 (CVE-2023-32731)

gRPC contains a vulnerability whereby a client can cause a termination of connection between a HTTP2 proxy and a gRPC server: a base64 encoding error for `-bin` suffixed headers will result in a disconnection by the gRPC server, but is typically allowed by HTTP2 proxies. We recommend upgrading beyond the commit in https://github.com/grpc/grpc/pull/32309 https://www.google.com/url (CVE-2023-32732)

Lack of error handling in the TCP server in Google's gRPC starting version 1.23 on posix-compatible platforms (ex. Linux) allows an attacker to cause a denial of service by initiating a significant number of connections with the server. Note that gRPC C++ Python, and Ruby are affected, but gRPC Java, and Go are NOT affected. (CVE-2023-4785)

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 grpc --releasever 2023.1.20230809' to update your system.

See Also

https://alas.aws.amazon.com/AL2023/ALAS-2023-282.html

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

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

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

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

Plugin Details

Severity: Critical

ID: 179767

File Name: al2023_ALAS2023-2023-282.nasl

Version: 1.2

Type: local

Agent: unix

Published: 8/14/2023

Updated: 12/11/2024

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Continuous Assessment, 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:C/I:N/A:N

CVSS Score Source: CVE-2023-32731

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:H/I:N/A:N

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

CVSS v4

Risk Factor: Critical

Base Score: 9.3

Threat Score: 8.1

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

CVSS Score Source: CVE-2023-4785

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:grpc-devel, p-cpe:/a:amazon:linux:grpc-debugsource, p-cpe:/a:amazon:linux:grpc-doc, p-cpe:/a:amazon:linux:grpc-plugins, p-cpe:/a:amazon:linux:grpc-plugins-debuginfo, p-cpe:/a:amazon:linux:grpc, p-cpe:/a:amazon:linux:grpc-cpp-debuginfo, p-cpe:/a:amazon:linux:grpc-data, p-cpe:/a:amazon:linux:grpc-cpp, cpe:/o:amazon:linux:2023, p-cpe:/a:amazon:linux:grpc-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: 8/3/2023

Vulnerability Publication Date: 6/9/2023

Reference Information

CVE: CVE-2023-32731, CVE-2023-32732, CVE-2023-4785