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

high 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.

- 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)

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: High

ID: 179767

File Name: al2023_ALAS2023-2023-282.nasl

Version: 1.1

Type: local

Agent: unix

Published: 8/14/2023

Updated: 10/17/2023

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Agent, Nessus Agent, Agentless 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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:grpc, p-cpe:/a:amazon:linux:grpc-cpp, p-cpe:/a:amazon:linux:grpc-cpp-debuginfo, p-cpe:/a:amazon:linux:grpc-data, p-cpe:/a:amazon:linux:grpc-debuginfo, p-cpe:/a:amazon:linux:grpc-debugsource, p-cpe:/a:amazon:linux:grpc-devel, p-cpe:/a:amazon:linux:grpc-doc, p-cpe:/a:amazon:linux:grpc-plugins, p-cpe:/a:amazon:linux:grpc-plugins-debuginfo, cpe:/o:amazon:linux:2023

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