Skip to content
Fencer Vulns
medium 4.8

CVE-2024-21140 json

Vulnerability in the Oracle Java SE, Oracle GraalVM for JDK, Oracle GraalVM Enterprise Edition product of Oracle Java SE (component: Hotspo…

published 2024-07-16 2 y ago modified 2026-09-08 2 mo ago also BIT-java-2024-21140 , BIT-java-min-2024-21140 , BIT-jre-2024-21140 , EUVD-2024-18854

cvss
4.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.9%
EPSS 0.9% chance of exploitation in 30 days, percentile 61%
public exploits
0
none known

Summary

Vulnerability in the Oracle Java SE, Oracle GraalVM for JDK, Oracle GraalVM Enterprise Edition product of Oracle Java SE (component: Hotspot). Supported versions that are affected are Oracle Java SE: 8u411, 8u411-perf, 11.0.23, 17.0.11, 21.0.3, 22.0.1; Oracle GraalVM for JDK: 17.0.11, 21.0.3, 22.0.1; Oracle GraalVM Enterprise Edition: 20.3.14 and 21.3.10. Difficult to exploit vulnerability allows unauthenticated attacker with network access via multiple protocols to compromise Oracle Java SE, Oracle GraalVM for JDK, Oracle GraalVM Enterprise Edition. Successful attacks of this vulnerability can result in unauthorized update, insert or delete access to some of Oracle Java SE, Oracle GraalVM for JDK, Oracle GraalVM Enterprise Edition accessible data as well as unauthorized read access to a subset of Oracle Java SE, Oracle GraalVM for JDK, Oracle GraalVM Enterprise Edition accessible data. Note: This vulnerability can be exploited by using APIs in the specified Component, e.g., through a web service which supplies data to the APIs. This vulnerability also applies to Java deployments, typically in clients running sandboxed Java Web Start applications or sandboxed Java applets, that load and run untrusted code (e.g., code that comes from the internet) and rely on the Java sandbox for security. CVSS 3.1 Base Score 4.8 (Confidentiality and Integrity impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N).

Patch / fix

  • bitnami java 1.8.0, 8.0.421, 11.0.24, 17.0.12, 21.0.4, 22.0.2
  • bitnami java-min 1.8.0, 8.0.421, 11.0.24, 17.0.12, 21.0.4, 22.0.2
  • bitnami jre 1.8.0, 8.0.421, 11.0.24, 17.0.12, 21.0.4, 22.0.2
  • oracle java_se 1.8.0_421, 8.0.421, 11.0.24, 17.0.12, 21.0.4, 22.0.2
  • oracle jdk 1.8.0_421, 8.0.421, 11.0.24, 17.0.12, 21.0.4, 22.0.2
  • oracle jre 1.8.0_421, 8.0.421, 11.0.24, 17.0.12, 21.0.4, 22.0.2
  • sun java 1.8.0_421, 8.0.421, 11.0.24, 17.0.12, 21.0.4, 22.0.2
  • sun java_se 1.8.0_421, 8.0.421, 11.0.24, 17.0.12, 21.0.4, 22.0.2
  • sun jdk 1.8.0_421, 8.0.421, 11.0.24, 17.0.12, 21.0.4, 22.0.2
  • sun jre 1.8.0_421, 8.0.421, 11.0.24, 17.0.12, 21.0.4, 22.0.2
  • oracle graalvm 17.0.12, 21.0.4, 22.0.2
  • oracle graalvm_for_jdk 17.0.12, 21.0.4, 22.0.2
  • oracle graalvm_enterprise 20.3.15, 21.3.11
  • oracle openjdk 1.8.0_422, 8.0.422, 11.0.24, 17.0.12, 21.0.4, 22.0.2
  • sun openjdk 1.8.0_422, 8.0.422, 11.0.24, 17.0.12, 21.0.4, 22.0.2
  • openjdk-17 Debian 12 17.0.12+7-2~deb12u1
  • openjdk-21 Debian 14, Debian 13 21.0.3+9-1

debian advisories DEBIAN-CVE-2024-21140

  • openjdk-8 Ubuntu 20.04 LTS 8u422-b05-1~20.04
  • openjdk-8 Ubuntu 22.04 LTS 8u422-b05-1~22.04
  • openjdk-8 Ubuntu 24.04 LTS 8u422-b05-1~24.04
  • openjdk-17 Ubuntu 20.04 LTS 17.0.12+7-1ubuntu2~20.04
  • openjdk-17 Ubuntu 22.04 LTS 17.0.12+7-1ubuntu2~22.04
  • openjdk-17 Ubuntu 24.04 LTS 17.0.12+7-1ubuntu2~24.04
  • openjdk-21 Ubuntu 20.04 LTS 21.0.4+7-1ubuntu2~20.04
  • openjdk-21 Ubuntu 22.04 LTS 21.0.4+7-1ubuntu2~22.04

ubuntu advisories UBUNTU-CVE-2024-21140

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • java-11-openjdk RHEL 8.8 EUS, RHEL 8 1:11.0.24.0.8-3.el8
  • java-11-openjdk RHEL 9.2 EUS, RHEL 9 1:11.0.24.0.8-2.el9
  • java-11-openjdk-src RHEL 8.8 EUS, RHEL 8 1:11.0.24.0.8-3.el8
  • java-11-openjdk-src RHEL 9.2 EUS, RHEL 9 1:11.0.24.0.8-2.el9
  • java-17-openjdk RHEL 8.8 EUS, RHEL 8 1:17.0.12.0.7-2.el8
  • java-17-openjdk RHEL 9.2 EUS, RHEL 9 1:17.0.12.0.7-2.el9
  • java-17-openjdk-src RHEL 8.8 EUS, RHEL 8 1:17.0.12.0.7-2.el8
  • java-17-openjdk-src RHEL 9.2 EUS, RHEL 9 1:17.0.12.0.7-2.el9

red hat advisories RHSA-2024:4567RHSA-2024:4564RHSA-2024:4560RHSA-2024:4568RHSA-2024:4563RHSA-2024:4573

  • java-1_8_0-ibm SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 1.8.0_sr8.30-30.126.1
  • java-1_8_0-ibm SLES for SAP 15 SP4, SLES for SAP 15 SP3, SLES for SAP 15 SP2 +11 more 1.8.0_sr8.30-150000.3.92.1
  • java-1_8_0-openj9 SLE Module for Package Hub 15 SP6, SLE Module for Package Hub 15 SP5, openSUSE Leap 15.6 +1 more 1.8.0.422-150200.3.48.2
  • java-1_8_0-openjdk SLES for SAP 15 SP4, SLES for SAP 15 SP3, SLES for SAP 15 SP2 +11 more 1.8.0.422-150000.3.97.1
  • java-1_8_0-openjdk SLES for SAP 12 SP5, SLES 12 SP5 1.8.0.422-27.105.2
  • java-11-openjdk SLES for SAP 15 SP4, SLES for SAP 15 SP3, SLES for SAP 15 SP2 +16 more 11.0.24.0-150000.3.116.1
  • java-17-openjdk SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE Module for Legacy 15 SP6 +8 more 17.0.12.0-150400.3.45.1
  • java-11-openjdk SLES for SAP 12 SP5, SLES 12 SP5 11.0.24.0-3.78.1

suse advisories SUSE-SU-2024:3183-1SUSE-SU-2024:3162-1SUSE-SU-2024:3140-1SUSE-SU-2024:2786-1SUSE-SU-2024:2766-1SUSE-SU-2024:2629-1

  • java-17-openj9 Package Hub 15 SP6, openSUSE Leap 15.6 17.0.14.0-bp156.3.3.1
  • java-11-openj9 Package Hub 15 SP6, openSUSE Leap 15.6 11.0.26.0-bp156.4.3.1
  • java-11-openj9 openSUSE Tumbleweed 11.0.24.0-1.1
  • java-17-openj9 openSUSE Tumbleweed 17.0.12.0-1.1
  • java-1_8_0-openj9 openSUSE Tumbleweed 1.8.0.422-1.1
  • java-21-openj9 openSUSE Tumbleweed 21.0.4.0-1.1
  • java-1_8_0-openjdk openSUSE Tumbleweed 1.8.0.422-1.1
  • java-22-openjdk openSUSE Tumbleweed 22.0.2.0-1.1

opensuse advisories openSUSE-SU-2025:0067-1openSUSE-SU-2025:0066-1openSUSE-SU-2024:14262-1openSUSE-SU-2024:14263-1openSUSE-SU-2024:14264-1openSUSE-SU-2024:14265-1

  • java-1.8.0-openjdk AlmaLinux 8 1:1.8.0.422.b05-2.el8
  • java-1.8.0-openjdk AlmaLinux 9 1:1.8.0.422.b05-2.el9
  • java-1.8.0-openjdk-src AlmaLinux 8 1:1.8.0.422.b05-2.el8
  • java-1.8.0-openjdk-src AlmaLinux 9 1:1.8.0.422.b05-2.el9
  • java-1.8.0-openjdk-demo AlmaLinux 8 1:1.8.0.422.b05-2.el8
  • java-1.8.0-openjdk-demo AlmaLinux 9 1:1.8.0.422.b05-2.el9
  • java-1.8.0-openjdk-javadoc AlmaLinux 8 1:1.8.0.422.b05-2.el8
  • java-1.8.0-openjdk-javadoc AlmaLinux 9 1:1.8.0.422.b05-2.el9

almalinux advisories ALSA-2024:4563ALSA-2024:4568ALSA-2024:4573ALSA-2024:4567

  • java-1.8.0-openjdk Rocky Linux 8 1:1.8.0.422.b05-2.el8
  • java-11-openjdk Rocky Linux 8 1:11.0.24.0.8-3.el8
  • java-17-openjdk Rocky Linux 8 1:17.0.12.0.7-2.el8
  • java-21-openjdk Rocky Linux 8 1:21.0.4.0.7-1.el8
  • java-21-openjdk Rocky Linux 9 1:21.0.4.0.7-1.el9

rocky linux advisories RLSA-2024:4563RLSA-2024:4567RLSA-2024:4568RLSA-2024:4573

  • openjdk8 Alpine 3.24, Alpine 3.23, Alpine 3.22 +2 more 8.422.05-r0
  • openjdk11 Alpine 3.24, Alpine 3.23, Alpine 3.22 +4 more 11.0.24_p8-r0
  • openjdk17 Alpine 3.24, Alpine 3.23, Alpine 3.22 +4 more 17.0.12_p7-r0
  • openjdk21 Alpine 3.24, Alpine 3.23, Alpine 3.22 +3 more 21.0.4_p7-r0

alpine advisories ALPINE-CVE-2024-21140

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-21140 updated cvss 4.8

OpenJDK: Range Check Elimination (RCE) pre-loop limit overflow (8320548)

  • Red Hat build of OpenJDK 1.8 Linux Linux, Windows Windows Red Hat build of OpenJDK 11 Linux Linux, Windows Windows Red Hat build of OpenJDK 17 Linux Linux, Windows Windows Red Hat build of OpenJDK 21 Linux Linux, Windows Windows
    affected: no fix available
  • Red Hat Enterprise Linux 6 java-1.6.0-openjdk, java-1.7.0-openjdk, java-1.8.0-openjdk, java-1.6.0-openjdk-src, java-1.7.0-openjdk-src, java-1.8.0-openjdk-src, +7 more Red Hat Enterprise Linux 7 java-1.6.0-openjdk, java-1.7.0-openjdk, java-1.6.0-openjdk-src, java-1.7.0-openjdk-src, java-1.6.0-openjdk-demo, java-1.7.0-openjdk-demo, +4 more
    affected: no fix planned “Out of support scope”
  • Red Hat Enterprise Linux 10 java-21-openjdk
    affected: no fix available
  • Red Hat Build of OpenJDK 8u422
    fixed: vendor fix RHSA-2024:4561
  • Red Hat Build of OpenJDK 11.0.24
    fixed: vendor fix RHSA-2024:4565
  • Red Hat Build of OpenJDK 17.0.12
    fixed: vendor fix RHSA-2024:4569
  • Red Hat Build of OpenJDK 21.0.4
    fixed: vendor fix RHSA-2024:4571
  • Red Hat CodeReady Linux Builder EUS (v.8.8) java-11-openjdk-fastdebug 11.0.24.0.8-3.el8, java-11-openjdk-slowdebug 11.0.24.0.8-3.el8, java-17-openjdk-fastdebug 17.0.12.0.7-2.el8, java-17-openjdk-slowdebug 17.0.12.0.7-2.el8, java-11-openjdk-src-fastdebug 11.0.24.0.8-3.el8, java-11-openjdk-src-slowdebug 11.0.24.0.8-3.el8, +34 more Red Hat CodeReady Linux Builder EUS (v.9.2) java-11-openjdk-fastdebug 11.0.24.0.8-2.el9, java-11-openjdk-slowdebug 11.0.24.0.8-2.el9, java-17-openjdk-fastdebug 17.0.12.0.7-2.el9, java-17-openjdk-slowdebug 17.0.12.0.7-2.el9, java-11-openjdk-src-fastdebug 11.0.24.0.8-2.el9, java-11-openjdk-src-slowdebug 11.0.24.0.8-2.el9, +32 more Red Hat Enterprise Linux AppStream (v. 8) java-21-openjdk 21.0.4.0.7-1.el8, java-11-openjdk 11.0.24.0.8-3.el8, java-17-openjdk 17.0.12.0.7-2.el8, java-21-openjdk-src 21.0.4.0.7-1.el8, java-11-openjdk-src 11.0.24.0.8-3.el8, java-17-openjdk-src 17.0.12.0.7-2.el8, +25 more Red Hat Enterprise Linux AppStream (v. 9) java-21-openjdk 21.0.4.0.7-1.el9, java-11-openjdk 11.0.24.0.8-2.el9, java-17-openjdk 17.0.12.0.7-2.el9, java-21-openjdk-src 21.0.4.0.7-1.el9, java-11-openjdk-src 11.0.24.0.8-2.el9, java-17-openjdk-src 17.0.12.0.7-2.el9, +24 more Red Hat Enterprise Linux AppStream AUS (v. 8.2) java-11-openjdk 11.0.24.0.8-1.el8_2, java-11-openjdk-src 11.0.24.0.8-1.el8_2, java-1.8.0-openjdk 1.8.0.422.b05-1.el8_2, java-11-openjdk-demo 11.0.24.0.8-1.el8_2, java-11-openjdk-jmods 11.0.24.0.8-1.el8_2, java-11-openjdk-javadoc 11.0.24.0.8-1.el8_2, +9 more Red Hat Enterprise Linux AppStream AUS (v.8.4) java-11-openjdk 11.0.24.0.8-1.el8_4, java-17-openjdk 17.0.12.0.7-1.el8_4, java-11-openjdk-src 11.0.24.0.8-1.el8_4, java-17-openjdk-src 17.0.12.0.7-1.el8_4, java-1.8.0-openjdk 1.8.0.422.b05-1.el8_4, java-11-openjdk-demo 11.0.24.0.8-1.el8_4, +17 more
    +10 more products
    Red Hat Enterprise Linux AppStream AUS (v.8.6) java-11-openjdk 11.0.24.0.8-1.el8_6, java-17-openjdk 17.0.12.0.7-1.el8_6, java-11-openjdk-src 11.0.24.0.8-1.el8_6, java-17-openjdk-src 17.0.12.0.7-1.el8_6, java-1.8.0-openjdk 1.8.0.422.b05-1.el8_6, java-11-openjdk-demo 11.0.24.0.8-1.el8_6, +17 more Red Hat Enterprise Linux AppStream E4S (v.8.4) java-11-openjdk 11.0.24.0.8-1.el8_4, java-17-openjdk 17.0.12.0.7-1.el8_4, java-11-openjdk-src 11.0.24.0.8-1.el8_4, java-17-openjdk-src 17.0.12.0.7-1.el8_4, java-1.8.0-openjdk 1.8.0.422.b05-1.el8_4, java-11-openjdk-demo 11.0.24.0.8-1.el8_4, +17 more Red Hat Enterprise Linux AppStream E4S (v.8.6) java-11-openjdk 11.0.24.0.8-1.el8_6, java-17-openjdk 17.0.12.0.7-1.el8_6, java-11-openjdk-src 11.0.24.0.8-1.el8_6, java-17-openjdk-src 17.0.12.0.7-1.el8_6, java-1.8.0-openjdk 1.8.0.422.b05-1.el8_6, java-11-openjdk-demo 11.0.24.0.8-1.el8_6, +17 more Red Hat Enterprise Linux AppStream E4S (v.9.0) java-11-openjdk 11.0.24.0.8-1.el9_0, java-17-openjdk 17.0.12.0.7-1.el9_0, java-11-openjdk-src 11.0.24.0.8-1.el9_0, java-17-openjdk-src 17.0.12.0.7-1.el9_0, java-1.8.0-openjdk 1.8.0.422.b05-1.el9_0, java-11-openjdk-demo 11.0.24.0.8-1.el9_0, +16 more Red Hat Enterprise Linux AppStream EUS (v.8.8) java-11-openjdk 11.0.24.0.8-3.el8, java-17-openjdk 17.0.12.0.7-2.el8, java-11-openjdk-src 11.0.24.0.8-3.el8, java-17-openjdk-src 17.0.12.0.7-2.el8, java-1.8.0-openjdk 1.8.0.422.b05-2.el8, java-11-openjdk-demo 11.0.24.0.8-3.el8, +17 more Red Hat Enterprise Linux AppStream EUS (v.9.2) java-11-openjdk 11.0.24.0.8-2.el9, java-17-openjdk 17.0.12.0.7-2.el9, java-11-openjdk-src 11.0.24.0.8-2.el9, java-17-openjdk-src 17.0.12.0.7-2.el9, java-1.8.0-openjdk 1.8.0.422.b05-2.el9, java-11-openjdk-demo 11.0.24.0.8-2.el9, +16 more Red Hat Enterprise Linux AppStream TUS (v.8.4) java-11-openjdk 11.0.24.0.8-1.el8_4, java-17-openjdk 17.0.12.0.7-1.el8_4, java-11-openjdk-src 11.0.24.0.8-1.el8_4, java-17-openjdk-src 17.0.12.0.7-1.el8_4, java-1.8.0-openjdk 1.8.0.422.b05-1.el8_4, java-11-openjdk-demo 11.0.24.0.8-1.el8_4, +17 more Red Hat Enterprise Linux AppStream TUS (v.8.6) java-11-openjdk 11.0.24.0.8-1.el8_6, java-17-openjdk 17.0.12.0.7-1.el8_6, java-11-openjdk-src 11.0.24.0.8-1.el8_6, java-17-openjdk-src 17.0.12.0.7-1.el8_6, java-1.8.0-openjdk 1.8.0.422.b05-1.el8_6, java-11-openjdk-demo 11.0.24.0.8-1.el8_6, +17 more Red Hat Enterprise Linux CRB (v. 8) java-21-openjdk-fastdebug 21.0.4.0.7-1.el8, java-21-openjdk-slowdebug 21.0.4.0.7-1.el8, java-11-openjdk-fastdebug 11.0.24.0.8-3.el8, java-11-openjdk-slowdebug 11.0.24.0.8-3.el8, java-17-openjdk-fastdebug 17.0.12.0.7-2.el8, java-17-openjdk-slowdebug 17.0.12.0.7-2.el8, +48 more Red Hat Enterprise Linux CRB (v. 9) java-21-openjdk-fastdebug 21.0.4.0.7-1.el9, java-21-openjdk-slowdebug 21.0.4.0.7-1.el9, java-11-openjdk-fastdebug 11.0.24.0.8-2.el9, java-11-openjdk-slowdebug 11.0.24.0.8-2.el9, java-17-openjdk-fastdebug 17.0.12.0.7-2.el9, java-17-openjdk-slowdebug 17.0.12.0.7-2.el9, +46 more
    fixed: vendor fix RHSA-2024:4563
show 2 more
  • Red Hat Enterprise Linux Server (v. 7 ELS) java-11-openjdk 11.0.24.0.8-1.el7_9, java-1.8.0-openjdk 1.8.0.422.b05-1.el7_9, java-11-openjdk-headless 11.0.24.0.8-1.el7_9, java-1.8.0-openjdk-headless 1.8.0.422.b05-1.el7_9 Red Hat Enterprise Linux Server Optional (v. 7 ELS) java-11-openjdk-src 11.0.24.0.8-1.el7_9, java-11-openjdk-demo 11.0.24.0.8-1.el7_9, java-11-openjdk-jmods 11.0.24.0.8-1.el7_9, java-11-openjdk-javadoc 11.0.24.0.8-1.el7_9, java-1.8.0-openjdk-src 1.8.0.422.b05-1.el7_9, java-1.8.0-openjdk-demo 1.8.0.422.b05-1.el7_9, +5 more
    fixed: vendor fix RHSA-2024:4560
  • Red Hat Enterprise Linux 7 java-1.8.0-ibm, java-1.8.0-ibm-src, java-1.8.0-ibm-demo, java-1.8.0-ibm-jdbc, java-1.8.0-ibm-plugin Red Hat Enterprise Linux 8 java-1.8.0-ibm, java-1.8.0-ibm-src, java-1.8.0-ibm-demo, java-1.8.0-ibm-jdbc, java-1.8.0-ibm-plugin, java-1.8.0-ibm-headless, +1 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
partial
Assessed
2 y ago

Exploit prediction

0.94% chance of exploitation in the next 30 days, higher than 61% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 4.8 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
OSV 3.1 4.8 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

Affected packages

ecosystem package affected fixed in
bitnami java
<1.8.0
>=1.9.0, <8.0.421
>=9.0.0, <11.0.24
>=12.0.0, <17.0.12
>=18.0.0, <21.0.4
>=22.0.0, <22.0.2
1.8.0
8.0.421
11.0.24
17.0.12
21.0.4
22.0.2
bitnami java-min
<1.8.0
>=1.9.0, <8.0.421
>=9.0.0, <11.0.24
>=12.0.0, <17.0.12
>=18.0.0, <21.0.4
>=22.0.0, <22.0.2
1.8.0
8.0.421
11.0.24
17.0.12
21.0.4
22.0.2
bitnami jre
<1.8.0
>=1.9.0, <8.0.421
>=9.0.0, <11.0.24
>=12.0.0, <17.0.12
>=18.0.0, <21.0.4
>=22.0.0, <22.0.2
1.8.0
8.0.421
11.0.24
17.0.12
21.0.4
22.0.2

Affected products

  • Oracle Corporation Java SE JDK and JRE
  • oracle java_se
  • oracle jdk
  • oracle jre

Classification

Weakness
  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.