USN-6932-1

Type: Security
Severity: Medium
Published: 2024-07-31
Ubuntu 20.04 LTS (Focal Fossa)
Ubuntu 22.04 LTS (Jammy Jellyfish)
Ubuntu 24.04 LTS (Noble Numbat)

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) Update Instructions: Run `sudo pro fix USN-6932-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: openjdk-21-demo - 21.0.4+7-1ubuntu2~20.04 openjdk-21-doc - 21.0.4+7-1ubuntu2~20.04 openjdk-21-jdk - 21.0.4+7-1ubuntu2~20.04 openjdk-21-jdk-headless - 21.0.4+7-1ubuntu2~20.04 openjdk-21-jre - 21.0.4+7-1ubuntu2~20.04 openjdk-21-jre-headless - 21.0.4+7-1ubuntu2~20.04 openjdk-21-jre-zero - 21.0.4+7-1ubuntu2~20.04 openjdk-21-source - 21.0.4+7-1ubuntu2~20.04 openjdk-21-testsupport - 21.0.4+7-1ubuntu2~20.04 No subscription required

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T00:47:41.838Z UTC

Official vendor advisory

Ubuntu 20.04 LTS (Focal Fossa)

View source
Observed 2026-11-28T00:47:41.838Z UTC. Last updated 2025-11-26T08:29:05.541Z UTC.

Upstream Advisory

Affected Packages

  • openjdk-21-demo 21.0.4+7-1ubuntu2~20.04-21.0.4+7-1ubuntu2~20.04

  • openjdk-21-doc 21.0.4+7-1ubuntu2~20.04-21.0.4+7-1ubuntu2~20.04

  • openjdk-21-jdk 21.0.4+7-1ubuntu2~20.04-21.0.4+7-1ubuntu2~20.04

  • openjdk-21-jdk-headless 21.0.4+7-1ubuntu2~20.04-21.0.4+7-1ubuntu2~20.04

  • openjdk-21-jre 21.0.4+7-1ubuntu2~20.04-21.0.4+7-1ubuntu2~20.04

  • openjdk-21-jre-headless 21.0.4+7-1ubuntu2~20.04-21.0.4+7-1ubuntu2~20.04

  • openjdk-21-jre-zero 21.0.4+7-1ubuntu2~20.04-21.0.4+7-1ubuntu2~20.04

  • openjdk-21-source 21.0.4+7-1ubuntu2~20.04-21.0.4+7-1ubuntu2~20.04

  • openjdk-21-testsupport 21.0.4+7-1ubuntu2~20.04-21.0.4+7-1ubuntu2~20.04

  • openjdk-21-demo 21.0.4+7-1ubuntu2~22.04-21.0.4+7-1ubuntu2~22.04

  • openjdk-21-doc 21.0.4+7-1ubuntu2~22.04-21.0.4+7-1ubuntu2~22.04

  • openjdk-21-jdk 21.0.4+7-1ubuntu2~22.04-21.0.4+7-1ubuntu2~22.04

  • openjdk-21-jdk-headless 21.0.4+7-1ubuntu2~22.04-21.0.4+7-1ubuntu2~22.04

  • openjdk-21-jre 21.0.4+7-1ubuntu2~22.04-21.0.4+7-1ubuntu2~22.04

  • openjdk-21-jre-headless 21.0.4+7-1ubuntu2~22.04-21.0.4+7-1ubuntu2~22.04

  • openjdk-21-jre-zero 21.0.4+7-1ubuntu2~22.04-21.0.4+7-1ubuntu2~22.04

  • openjdk-21-source 21.0.4+7-1ubuntu2~22.04-21.0.4+7-1ubuntu2~22.04

  • openjdk-21-testsupport 21.0.4+7-1ubuntu2~22.04-21.0.4+7-1ubuntu2~22.04

  • openjdk-21-demo 21.0.4+7-1ubuntu2~24.04-21.0.4+7-1ubuntu2~24.04

  • openjdk-21-doc 21.0.4+7-1ubuntu2~24.04-21.0.4+7-1ubuntu2~24.04

  • openjdk-21-jdk 21.0.4+7-1ubuntu2~24.04-21.0.4+7-1ubuntu2~24.04

  • openjdk-21-jdk-headless 21.0.4+7-1ubuntu2~24.04-21.0.4+7-1ubuntu2~24.04

  • openjdk-21-jre 21.0.4+7-1ubuntu2~24.04-21.0.4+7-1ubuntu2~24.04

  • openjdk-21-jre-headless 21.0.4+7-1ubuntu2~24.04-21.0.4+7-1ubuntu2~24.04

  • openjdk-21-jre-zero 21.0.4+7-1ubuntu2~24.04-21.0.4+7-1ubuntu2~24.04

  • openjdk-21-source 21.0.4+7-1ubuntu2~24.04-21.0.4+7-1ubuntu2~24.04

  • openjdk-21-testsupport 21.0.4+7-1ubuntu2~24.04-21.0.4+7-1ubuntu2~24.04

Interested in being alerted when there are new versions of openjdk-21-demo and the other packages? Set up an alert.
USN-6932-1: OpenJDK 21 vulnerabilities | Package Alert