USN-6931-1: OpenJDK 17 vulnerabilities

Published Jul 31, 2024
·
Updated

It was discovered that the Hotspot component of OpenJDK 17 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 17 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 17 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 17 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 17 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-17-jdk<17.0.12+7-1ubuntu2~24.04
17.0.12+7-1ubuntu2~24.04
Ubuntu Ubuntu=24.04
All of the following
ubuntu/openjdk-17-jdk-headless<17.0.12+7-1ubuntu2~24.04
17.0.12+7-1ubuntu2~24.04
Ubuntu Ubuntu=24.04
All of the following
ubuntu/openjdk-17-jre<17.0.12+7-1ubuntu2~24.04
17.0.12+7-1ubuntu2~24.04
Ubuntu Ubuntu=24.04
All of the following
ubuntu/openjdk-17-jre-headless<17.0.12+7-1ubuntu2~24.04
17.0.12+7-1ubuntu2~24.04
Ubuntu Ubuntu=24.04
All of the following
ubuntu/openjdk-17-jre-zero<17.0.12+7-1ubuntu2~24.04
17.0.12+7-1ubuntu2~24.04
Ubuntu Ubuntu=24.04
All of the following
ubuntu/openjdk-17-jdk<17.0.12+7-1ubuntu2~22.04
17.0.12+7-1ubuntu2~22.04
Ubuntu Ubuntu=22.04
All of the following
ubuntu/openjdk-17-jdk-headless<17.0.12+7-1ubuntu2~22.04
17.0.12+7-1ubuntu2~22.04
Ubuntu Ubuntu=22.04
All of the following
ubuntu/openjdk-17-jre<17.0.12+7-1ubuntu2~22.04
17.0.12+7-1ubuntu2~22.04
Ubuntu Ubuntu=22.04
All of the following
ubuntu/openjdk-17-jre-headless<17.0.12+7-1ubuntu2~22.04
17.0.12+7-1ubuntu2~22.04
Ubuntu Ubuntu=22.04
All of the following
ubuntu/openjdk-17-jre-zero<17.0.12+7-1ubuntu2~22.04
17.0.12+7-1ubuntu2~22.04
Ubuntu Ubuntu=22.04
All of the following
ubuntu/openjdk-17-jdk<17.0.12+7-1ubuntu2~20.04
17.0.12+7-1ubuntu2~20.04
Ubuntu Ubuntu=20.04
All of the following
ubuntu/openjdk-17-jdk-headless<17.0.12+7-1ubuntu2~20.04
17.0.12+7-1ubuntu2~20.04
Ubuntu Ubuntu=20.04
All of the following
ubuntu/openjdk-17-jre<17.0.12+7-1ubuntu2~20.04
17.0.12+7-1ubuntu2~20.04
Ubuntu Ubuntu=20.04
All of the following
ubuntu/openjdk-17-jre-headless<17.0.12+7-1ubuntu2~20.04
17.0.12+7-1ubuntu2~20.04
Ubuntu Ubuntu=20.04
All of the following
ubuntu/openjdk-17-jre-zero<17.0.12+7-1ubuntu2~20.04
17.0.12+7-1ubuntu2~20.04
Ubuntu Ubuntu=20.04

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 17.0.12+7-1ubuntu2~24.04
  2. Upgrade

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Fixed in 17.0.12+7-1ubuntu2~20.04
  16. Upgrade

    Upgrade OpenJDK 17 to a version that resolves this vulnerability.

    Patch USN-6931-1

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-6931-1?

The vulnerability USN-6931-1 has a high severity rating due to its potential for causing denial of service or executing arbitrary code.

2

How do I fix USN-6931-1?

To fix USN-6931-1, upgrade to the specified version of OpenJDK 17 which is 17.0.12+7-1ubuntu2~24.04 or later.

3

Which software packages are affected by USN-6931-1?

Affected packages include openjdk-17-jdk, openjdk-17-jdk-headless, openjdk-17-jre, and openjdk-17-jre-headless on Ubuntu versions 20.04, 22.04, and 24.04.

4

What can an attacker achieve with USN-6931-1?

An attacker could exploit USN-6931-1 to cause a denial of service or potentially execute arbitrary code on the affected system.

5

On which Ubuntu versions is USN-6931-1 a concern?

USN-6931-1 impacts Ubuntu 20.04, 22.04, and 24.04 for specific OpenJDK 17 packages.

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