USN-6932-1: OpenJDK 21 vulnerabilities

Published Jul 31, 2024
·
Updated

It was discovered that the Hotspot component of OpenJDK 21 was not properly bounding certain UTF-8 strings, which could lead to a buffer overflow. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. (CVE-2024-21131) It was discovered that the Hotspot component of OpenJDK 21 could be made to run into an infinite loop. If an automated system were tricked into processing excessively large symbols, an attacker could possibly use this issue to cause a denial of service. (CVE-2024-21138) It was discovered that the Hotspot component of OpenJDK 21 did not properly perform range check elimination. An attacker could possibly use this issue to cause a denial of service, execute arbitrary code or bypass Java sandbox restrictions. (CVE-2024-21140) Sergey Bylokhov discovered that OpenJDK 21 did not properly manage memory when handling 2D images. An attacker could possibly use this issue to obtain sensitive information. (CVE-2024-21145) It was discovered that the Hotspot component of OpenJDK 21 incorrectly handled memory when performing range check elimination under certain circumstances. An attacker could possibly use this issue to cause a denial of service, execute arbitrary code or bypass Java sandbox restrictions. (CVE-2024-21147)

Affected Software

30 affected componentsFixes available
All of the following
ubuntu/openjdk-21-jdk<21.0.4+7-1ubuntu2~24.04
21.0.4+7-1ubuntu2~24.04
Ubuntu Ubuntu=24.04
All of the following
ubuntu/openjdk-21-jdk-headless<21.0.4+7-1ubuntu2~24.04
21.0.4+7-1ubuntu2~24.04
Ubuntu Ubuntu=24.04
All of the following
ubuntu/openjdk-21-jre<21.0.4+7-1ubuntu2~24.04
21.0.4+7-1ubuntu2~24.04
Ubuntu Ubuntu=24.04
All of the following
ubuntu/openjdk-21-jre-headless<21.0.4+7-1ubuntu2~24.04
21.0.4+7-1ubuntu2~24.04
Ubuntu Ubuntu=24.04
All of the following
ubuntu/openjdk-21-jre-zero<21.0.4+7-1ubuntu2~24.04
21.0.4+7-1ubuntu2~24.04
Ubuntu Ubuntu=24.04
All of the following
ubuntu/openjdk-21-jdk<21.0.4+7-1ubuntu2~22.04
21.0.4+7-1ubuntu2~22.04
Ubuntu Ubuntu=22.04
All of the following
ubuntu/openjdk-21-jdk-headless<21.0.4+7-1ubuntu2~22.04
21.0.4+7-1ubuntu2~22.04
Ubuntu Ubuntu=22.04
All of the following
ubuntu/openjdk-21-jre<21.0.4+7-1ubuntu2~22.04
21.0.4+7-1ubuntu2~22.04
Ubuntu Ubuntu=22.04
All of the following
ubuntu/openjdk-21-jre-headless<21.0.4+7-1ubuntu2~22.04
21.0.4+7-1ubuntu2~22.04
Ubuntu Ubuntu=22.04
All of the following
ubuntu/openjdk-21-jre-zero<21.0.4+7-1ubuntu2~22.04
21.0.4+7-1ubuntu2~22.04
Ubuntu Ubuntu=22.04
All of the following
ubuntu/openjdk-21-jdk<21.0.4+7-1ubuntu2~20.04
21.0.4+7-1ubuntu2~20.04
Ubuntu Ubuntu=20.04
All of the following
ubuntu/openjdk-21-jdk-headless<21.0.4+7-1ubuntu2~20.04
21.0.4+7-1ubuntu2~20.04
Ubuntu Ubuntu=20.04
All of the following
ubuntu/openjdk-21-jre<21.0.4+7-1ubuntu2~20.04
21.0.4+7-1ubuntu2~20.04
Ubuntu Ubuntu=20.04
All of the following
ubuntu/openjdk-21-jre-headless<21.0.4+7-1ubuntu2~20.04
21.0.4+7-1ubuntu2~20.04
Ubuntu Ubuntu=20.04
All of the following
ubuntu/openjdk-21-jre-zero<21.0.4+7-1ubuntu2~20.04
21.0.4+7-1ubuntu2~20.04
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.4+7-1ubuntu2~24.04
  2. Upgrade

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

    Fixed in 21.0.4+7-1ubuntu2~24.04
  3. Upgrade

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

    Fixed in 21.0.4+7-1ubuntu2~24.04
  4. Upgrade

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

    Fixed in 21.0.4+7-1ubuntu2~24.04
  5. Upgrade

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

    Fixed in 21.0.4+7-1ubuntu2~24.04
  6. Upgrade

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

    Fixed in 21.0.4+7-1ubuntu2~22.04
  7. Upgrade

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

    Fixed in 21.0.4+7-1ubuntu2~22.04
  8. Upgrade

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

    Fixed in 21.0.4+7-1ubuntu2~22.04
  9. Upgrade

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

    Fixed in 21.0.4+7-1ubuntu2~22.04
  10. Upgrade

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

    Fixed in 21.0.4+7-1ubuntu2~22.04
  11. Upgrade

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

    Fixed in 21.0.4+7-1ubuntu2~20.04
  12. Upgrade

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

    Fixed in 21.0.4+7-1ubuntu2~20.04
  13. Upgrade

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

    Fixed in 21.0.4+7-1ubuntu2~20.04
  14. Upgrade

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

    Fixed in 21.0.4+7-1ubuntu2~20.04
  15. Upgrade

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

    Fixed in 21.0.4+7-1ubuntu2~20.04

Event History

Jul 31, 2024
Advisory Published
via Ubuntu·12:00 AM

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of USN-6932-1?

The severity of USN-6932-1 is significant, leading to potential denial of service or execution of arbitrary code.

2

How do I fix USN-6932-1?

To fix USN-6932-1, upgrade to OpenJDK version 21.0.4+7-1ubuntu2~24.04 or later.

3

Which versions of Ubuntu are affected by USN-6932-1?

USN-6932-1 affects Ubuntu versions 20.04, 22.04, and 24.04 with specific OpenJDK package versions.

4

Can USN-6932-1 lead to remote code execution?

Yes, the vulnerability described in USN-6932-1 can potentially be exploited for remote code execution.

5

What is the cause of the vulnerability in USN-6932-1?

The USN-6932-1 vulnerability is caused by improper bounding of certain UTF-8 strings in the Hotspot component of OpenJDK 21.

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