USN-6932-1: OpenJDK 21 vulnerabilities
31 July 2024
Several security issues were fixed in OpenJDK 21.
Releases
Packages
- openjdk-21 - Open Source Java implementation
Details
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
The problem can be corrected by updating your system to the following package versions:
Ubuntu 24.04
-
openjdk-21-jdk
-
21.0.4+7-1ubuntu2~24.04
-
openjdk-21-jdk-headless
-
21.0.4+7-1ubuntu2~24.04
-
openjdk-21-jre
-
21.0.4+7-1ubuntu2~24.04
-
openjdk-21-jre-headless
-
21.0.4+7-1ubuntu2~24.04
-
openjdk-21-jre-zero
-
21.0.4+7-1ubuntu2~24.04
Ubuntu 22.04
-
openjdk-21-jdk
-
21.0.4+7-1ubuntu2~22.04
-
openjdk-21-jdk-headless
-
21.0.4+7-1ubuntu2~22.04
-
openjdk-21-jre
-
21.0.4+7-1ubuntu2~22.04
-
openjdk-21-jre-headless
-
21.0.4+7-1ubuntu2~22.04
-
openjdk-21-jre-zero
-
21.0.4+7-1ubuntu2~22.04
Ubuntu 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
This update uses a new upstream release, which includes additional bug
fixes. After a standard system update you need to restart any Java
applications to make all the necessary changes.
Related notices
- USN-6930-1: openjdk-11-jre, openjdk-lts, openjdk-11-demo, openjdk-11-jre-headless, openjdk-11-jdk, openjdk-11-doc, openjdk-11-source, openjdk-11-jdk-headless, openjdk-11-jre-zero
- USN-6929-1: openjdk-8-demo, openjdk-8-doc, openjdk-8-source, openjdk-8-jdk, openjdk-8-jre, openjdk-8, openjdk-8-jre-headless, openjdk-8-jdk-headless, openjdk-8-jre-zero
- USN-6931-1: openjdk-17-jdk-headless, openjdk-17-jdk, openjdk-17, openjdk-17-jre-zero, openjdk-17-source, openjdk-17-demo, openjdk-17-doc, openjdk-17-jre-headless, openjdk-17-jre
- USN-7096-1: openjdk-8-jre-jamvm, openjdk-8-demo, openjdk-8-doc, openjdk-8-source, openjdk-8-jdk, openjdk-8-jre, openjdk-8, openjdk-8-jre-headless, openjdk-8-jdk-headless, openjdk-8-jre-zero
- USN-7097-1: openjdk-11-jre, openjdk-lts, openjdk-11-demo, openjdk-11-jre-headless, openjdk-11-jdk, openjdk-11-doc, openjdk-11-source, openjdk-11-jdk-headless, openjdk-11-jre-zero
- USN-7098-1: openjdk-17-jdk-headless, openjdk-17-jdk, openjdk-17, openjdk-17-jre-zero, openjdk-17-source, openjdk-17-demo, openjdk-17-doc, openjdk-17-jre-headless, openjdk-17-jre