USN-6662-1: OpenJDK 21 vulnerabilities

Published Feb 27, 2024
·
Updated

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)

Affected Software

30 affected componentsFixes available
All of the following
ubuntu/openjdk-21-jdk<21.0.2+13-1~23.10.1
21.0.2+13-1~23.10.1
Ubuntu Ubuntu=23.10
All of the following
ubuntu/openjdk-21-jdk-headless<21.0.2+13-1~23.10.1
21.0.2+13-1~23.10.1
Ubuntu Ubuntu=23.10
All of the following
ubuntu/openjdk-21-jre<21.0.2+13-1~23.10.1
21.0.2+13-1~23.10.1
Ubuntu Ubuntu=23.10
All of the following
ubuntu/openjdk-21-jre-headless<21.0.2+13-1~23.10.1
21.0.2+13-1~23.10.1
Ubuntu Ubuntu=23.10
All of the following
ubuntu/openjdk-21-jre-zero<21.0.2+13-1~23.10.1
21.0.2+13-1~23.10.1
Ubuntu Ubuntu=23.10
All of the following
ubuntu/openjdk-21-jdk<21.0.2+13-1~22.04.1
21.0.2+13-1~22.04.1
Ubuntu Ubuntu=22.04
All of the following
ubuntu/openjdk-21-jdk-headless<21.0.2+13-1~22.04.1
21.0.2+13-1~22.04.1
Ubuntu Ubuntu=22.04
All of the following
ubuntu/openjdk-21-jre<21.0.2+13-1~22.04.1
21.0.2+13-1~22.04.1
Ubuntu Ubuntu=22.04
All of the following
ubuntu/openjdk-21-jre-headless<21.0.2+13-1~22.04.1
21.0.2+13-1~22.04.1
Ubuntu Ubuntu=22.04
All of the following
ubuntu/openjdk-21-jre-zero<21.0.2+13-1~22.04.1
21.0.2+13-1~22.04.1
Ubuntu Ubuntu=22.04
All of the following
ubuntu/openjdk-21-jdk<21.0.2+13-1~20.04.1
21.0.2+13-1~20.04.1
Ubuntu Ubuntu=20.04
All of the following
ubuntu/openjdk-21-jdk-headless<21.0.2+13-1~20.04.1
21.0.2+13-1~20.04.1
Ubuntu Ubuntu=20.04
All of the following
ubuntu/openjdk-21-jre<21.0.2+13-1~20.04.1
21.0.2+13-1~20.04.1
Ubuntu Ubuntu=20.04
All of the following
ubuntu/openjdk-21-jre-headless<21.0.2+13-1~20.04.1
21.0.2+13-1~20.04.1
Ubuntu Ubuntu=20.04
All of the following
ubuntu/openjdk-21-jre-zero<21.0.2+13-1~20.04.1
21.0.2+13-1~20.04.1
Ubuntu Ubuntu=20.04

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/openjdk-21-jdk to a version that resolves this vulnerability.

    Fixed in 21.0.2+13-1~23.10.1
  2. Upgrade

    Upgrade ubuntu/openjdk-21-jdk-headless to a version that resolves this vulnerability.

    Fixed in 21.0.2+13-1~23.10.1
  3. Upgrade

    Upgrade ubuntu/openjdk-21-jre to a version that resolves this vulnerability.

    Fixed in 21.0.2+13-1~23.10.1
  4. Upgrade

    Upgrade ubuntu/openjdk-21-jre-headless to a version that resolves this vulnerability.

    Fixed in 21.0.2+13-1~23.10.1
  5. Upgrade

    Upgrade ubuntu/openjdk-21-jre-zero to a version that resolves this vulnerability.

    Fixed in 21.0.2+13-1~23.10.1
  6. Upgrade

    Upgrade ubuntu/openjdk-21-jdk to a version that resolves this vulnerability.

    Fixed in 21.0.2+13-1~22.04.1
  7. Upgrade

    Upgrade ubuntu/openjdk-21-jdk-headless to a version that resolves this vulnerability.

    Fixed in 21.0.2+13-1~22.04.1
  8. Upgrade

    Upgrade ubuntu/openjdk-21-jre to a version that resolves this vulnerability.

    Fixed in 21.0.2+13-1~22.04.1
  9. Upgrade

    Upgrade ubuntu/openjdk-21-jre-headless to a version that resolves this vulnerability.

    Fixed in 21.0.2+13-1~22.04.1
  10. Upgrade

    Upgrade ubuntu/openjdk-21-jre-zero to a version that resolves this vulnerability.

    Fixed in 21.0.2+13-1~22.04.1
  11. Upgrade

    Upgrade ubuntu/openjdk-21-jdk to a version that resolves this vulnerability.

    Fixed in 21.0.2+13-1~20.04.1
  12. Upgrade

    Upgrade ubuntu/openjdk-21-jdk-headless to a version that resolves this vulnerability.

    Fixed in 21.0.2+13-1~20.04.1
  13. Upgrade

    Upgrade ubuntu/openjdk-21-jre to a version that resolves this vulnerability.

    Fixed in 21.0.2+13-1~20.04.1
  14. Upgrade

    Upgrade ubuntu/openjdk-21-jre-headless to a version that resolves this vulnerability.

    Fixed in 21.0.2+13-1~20.04.1
  15. Upgrade

    Upgrade ubuntu/openjdk-21-jre-zero to a version that resolves this vulnerability.

    Fixed in 21.0.2+13-1~20.04.1

Event History

Feb 27, 2024
Advisory Published
via Ubuntu·12:00 AM

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of USN-6662-1?

The severity of USN-6662-1 is classified as high due to the potential for denial of service, arbitrary code execution, and Java sandbox bypass.

2

How do I fix USN-6662-1?

To fix USN-6662-1, you should upgrade to OpenJDK version 21.0.2+13-1~23.10.1 or later on your Ubuntu system.

3

Which packages are affected by USN-6662-1?

The affected packages for USN-6662-1 include openjdk-21-jdk, openjdk-21-jdk-headless, openjdk-21-jre, and others across Ubuntu 20.04, 22.04, and 23.10.

4

How can USN-6662-1 impact system security?

USN-6662-1 can impact system security by allowing attackers to execute arbitrary code and potentially bypass Java security restrictions.

5

Is a system reboot required after applying the fix for USN-6662-1?

A system reboot is not necessarily required to apply the fix for USN-6662-1, but it is recommended to ensure all updates take effect.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203