Amazon Linux 2022 : java-17-amazon-corretto, java-17-amazon-corretto-devel, java-17-amazon-corretto-headless (ALAS2022-2022-151)

high Nessus Plugin ID 166353

Synopsis

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

Description

It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS2022-2022-151 advisory.

Title: Wider MultiByte conversionsBuffer overflow is possible due to incorrect byte count (should be charactercount). (CVE-2022-21618)

Title: Improve NTLM supportwriteSecurityBuffer() writes a serialized security buffer to be used for NTLMauth. One of the fields that are serialized is a hostname provided by thename resolver. If this hostname is very long, integer truncation occurs,which would allow a malicious hostname to be partially re-interpreted assomething else following a hostname, once the security buffer is deserializedon the other size. (CVE-2022-21619)

Title: Improve JNDI lookupsJNDI DNS port numbers can be easily guessed and should be more random.
(CVE-2022-21624)

Title: Key X509 usagesDecoding of X509 keys may use excessive amount of heap memory. (CVE-2022-21626)

Title: Better HttpServer serviceHttpServer eagerly accepts connections which may exceed the limit.
(CVE-2022-21628)

Title: Improve HTTP/1.1 client usageThe HTTP/2 connection cache caches connection based on the IP address but notthe SNI which can allow spoofing for servers on the same IP. (CVE-2022-39399)

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 java-17-amazon-corretto --releasever=2022.0.20221019' to update your system.

See Also

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

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

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

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

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

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

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

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

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

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

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

Plugin Details

Severity: High

ID: 166353

File Name: al2022_ALAS2022-2022-151.nasl

Version: 1.6

Type: local

Agent: unix

Published: 10/20/2022

Updated: 12/11/2024

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.1

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

CVSS Score Source: CVE-2022-34169

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.7

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

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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:java-17-amazon-corretto-javadoc, p-cpe:/a:amazon:linux:java-17-amazon-corretto-headless, p-cpe:/a:amazon:linux:java-17-amazon-corretto-devel, cpe:/o:amazon:linux:2022, p-cpe:/a:amazon:linux:java-17-amazon-corretto-jmods, p-cpe:/a:amazon:linux:java-17-amazon-corretto

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: 10/17/2022

Vulnerability Publication Date: 10/17/2022

Reference Information

CVE: CVE-2022-21540, CVE-2022-21541, CVE-2022-21549, CVE-2022-21618, CVE-2022-21619, CVE-2022-21624, CVE-2022-21626, CVE-2022-21628, CVE-2022-34169, CVE-2022-39399