ALAS2-2022-1866


Amazon Linux 2 Security Advisory: ALAS-2022-1866
Advisory Release Date: 2022-10-17 21:46 Pacific
Advisory Updated Date: 2022-10-19 23:26 Pacific
Severity: Medium

Issue Overview:

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

Title: Improve NTLM support
writeSecurityBuffer() writes a serialized security buffer to be used for NTLM
auth. One of the fields that are serialized is a hostname provided by the
name resolver. If this hostname is very long, integer truncation occurs,
which would allow a malicious hostname to be partially re-interpreted as
something else following a hostname, once the security buffer is deserialized
on the other size. (CVE-2022-21619)

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

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

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

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


Affected Packages:

java-17-amazon-corretto


Note:

This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.


Issue Correction:
Run yum update java-17-amazon-corretto to update your system.

New Packages:
aarch64:
    java-17-amazon-corretto-17.0.5+8-1.amzn2.1.aarch64
    java-17-amazon-corretto-devel-17.0.5+8-1.amzn2.1.aarch64
    java-17-amazon-corretto-headless-17.0.5+8-1.amzn2.1.aarch64
    java-17-amazon-corretto-javadoc-17.0.5+8-1.amzn2.1.aarch64
    java-17-amazon-corretto-jmods-17.0.5+8-1.amzn2.1.aarch64

src:
    java-17-amazon-corretto-17.0.5+8-1.amzn2.1.src

x86_64:
    java-17-amazon-corretto-devel-17.0.5+8-1.amzn2.1.x86_64
    java-17-amazon-corretto-headless-17.0.5+8-1.amzn2.1.x86_64
    java-17-amazon-corretto-javadoc-17.0.5+8-1.amzn2.1.x86_64
    java-17-amazon-corretto-jmods-17.0.5+8-1.amzn2.1.x86_64
    java-17-amazon-corretto-17.0.5+8-1.amzn2.1.x86_64