Advisory

USN-6662-1

Also known as: CVE-2024-20918, CVE-2024-20919, CVE-2024-20921, CVE-2024-20945, CVE-2024-20952

Summary

openjdk-21 vulnerabilities

Details

Yi Yang discovered that the Hotspot component of OpenJDK 21 incorrectly
handled array accesses in the C1 compiler. An attacker could possibly
use this issue to cause a denial of service, execute arbitrary code or
bypass Java sandbox restrictions. (CVE-2024-20918)

It was discovered that the Hotspot component of OpenJDK 21 did not
properly verify bytecode in certain situations. An attacker could
possibly use this issue to bypass Java sandbox restrictions.
(CVE-2024-20919)

It was discovered that the Hotspot component of OpenJDK 21 had an
optimization flaw when generating range check loop predicates. An attacker
could possibly use this issue to cause a denial of service, execute
arbitrary code or bypass Java sandbox restrictions. (CVE-2024-20921)

It was discovered that OpenJDK 21 could produce debug logs that contained
private keys used for digital signatures. An attacker could possibly use
this issue to obtain sensitive information. (CVE-2024-20945)

Hubert Kario discovered that the TLS implementation in OpenJDK 21 had a
timing side-channel and incorrectly handled RSA padding. A remote attacker
could possibly use this issue to recover sensitive information.
(CVE-2024-20952)

Severity

Not rated by the source.

Dates

Published
2024-02-27 02:12 UTC
Modified
2026-04-27 17:07 UTC

Affected packages and fixes

openjdk-21

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 21.0.2+13-1~20.04.1 (ecosystem)

Fixed versions

21.0.2+13-1~20.04.1

Fix

  • Fixed version 21.0.2+13-1~20.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

openjdk-21

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 21.0.2+13-1~22.04.1 (ecosystem)

Fixed versions

21.0.2+13-1~22.04.1

Fix

  • Fixed version 21.0.2+13-1~22.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences