cve.bz

CVE-2024-21217 oracle: Deserialization of Untrusted Data

3.7 lowEPSS 1.1%

Low (3.7) in oracle. EPSS 1.1% estimated probability of exploitation activity in the next 30 days.

On this page
Vulnerability in the Oracle Java SE, Oracle GraalVM for JDK, Oracle GraalVM Enterprise Edition product of Oracle Java SE (component: Serialization). Supported versions that are affected are Oracle Java SE: 8u421, 8u421-perf, 11.0.24, 17.0.12, 21.0.4, 23; Oracle GraalVM for JDK: 17.0.12, 21.0.4, 23; Oracle GraalVM Enterprise Edition: 20.3.15 and 21.3.11. 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 ability to cause a partial denial of service (partial DOS) of Oracle Java SE, Oracle GraalVM for JDK, Oracle GraalVM Enterprise Edition. 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 3.7 (Availability impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L).

Severity

CVSS 3.1

3.7 low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS
1.1% (unchanged from 1.1% a week ago; 1.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 68th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-10-17. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-502 Deserialization of Untrusted Data
OWASP Top 10
A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-21217 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-21217?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-21217?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-21217 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
oracle:graalvm20.3.15
oracle:graalvm21.3.11
oracle:graalvm_for_jdk17.0.12
oracle:graalvm_for_jdk21.0.4
oracle:graalvm_for_jdk23
oracle:jdk1.8.0:update421
oracle:jdk11.0.24
oracle:jdk17.0.12
oracle:jdk21.0.4
oracle:jdk23
oracle:jre1.8.0:update421
oracle:jre11.0.24
oracle:jre17.0.12
oracle:jre21.0.4
oracle:jre23

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11openjdk-1111.0.25+9-1~deb11u1DLA-3929-1
Debian11openjdk-1717.0.13+11-1~deb11u1DLA-3927-1
Debian12openjdk-1717.0.13+11-2~deb12u1DEBIAN-CVE-2024-21217 DSA-5794-1
Debian13, 14openjdk-2121.0.5+11-1DEBIAN-CVE-2024-21217
Ubuntu16.04:LTSopenjdk-9no fix listedUBUNTU-CVE-2024-21217
Ubuntu20.04:LTSopenjdk-13, openjdk-16no fix listedUBUNTU-CVE-2024-21217
Ubuntu20.04:LTSopenjdk-1717.0.13+11-2ubuntu1~20.04UBUNTU-CVE-2024-21217 USN-7098-1
Ubuntu20.04:LTSopenjdk-2121.0.5+11-1ubuntu1~20.04UBUNTU-CVE-2024-21217 USN-7099-1
Ubuntu20.04:LTSopenjdk-88u432-ga~us1-0ubuntu2~20.04UBUNTU-CVE-2024-21217 USN-7096-1
Ubuntu20.04:LTSopenjdk-lts11.0.25+9-1ubuntu1~20.04UBUNTU-CVE-2024-21217 USN-7097-1
Ubuntu22.04:LTSopenjdk-1717.0.13+11-2ubuntu1~22.04UBUNTU-CVE-2024-21217 USN-7098-1
Ubuntu22.04:LTSopenjdk-18no fix listedUBUNTU-CVE-2024-21217
Ubuntu22.04:LTSopenjdk-2121.0.5+11-1ubuntu1~22.04UBUNTU-CVE-2024-21217 USN-7099-1
Ubuntu22.04:LTSopenjdk-88u432-ga~us1-0ubuntu2~22.04UBUNTU-CVE-2024-21217 USN-7096-1
Ubuntu22.04:LTSopenjdk-lts11.0.25+9-1ubuntu1~22.04UBUNTU-CVE-2024-21217 USN-7097-1
Ubuntu24.04:LTSopenjdk-1717.0.13+11-2ubuntu1~24.04UBUNTU-CVE-2024-21217 USN-7098-1
7 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::appstreamjava-21-openjdk, java-21-openjdk-src, java-21-openjdk-demo and 10 more1:21.0.5.0.10-3.el8RHSA-2024:8127
Red Hatenterprise_linux:8::appstream, rhel_eus:8.8::appstreamjava-1.8.0-openjdk, java-1.8.0-openjdk-src, java-1.8.0-openjdk-demo and 10 more1:1.8.0.432.b06-2.el8RHSA-2024:8117
Red Hatenterprise_linux:8::appstream, rhel_eus:8.8::appstreamjava-11-openjdk, java-11-openjdk-src, java-11-openjdk-demo and 10 more1:11.0.25.0.9-2.el8RHSA-2024:8121
Red Hatenterprise_linux:8::appstream, rhel_eus:8.8::appstreamjava-17-openjdk, java-17-openjdk-src, java-17-openjdk-demo and 10 more1:17.0.13.0.11-3.el8RHSA-2024:8124
Red Hatenterprise_linux:8::crbjava-21-openjdk-debuginfo, java-21-openjdk-fastdebug, java-21-openjdk-slowdebug and 21 more1:21.0.5.0.10-3.el8RHSA-2024:8127
Red Hatenterprise_linux:8::crb, rhel_eus:8.8::crbjava-1.8.0-openjdk-debuginfo, java-1.8.0-openjdk-fastdebug, java-1.8.0-openjdk-slowdebug and 22 more1:1.8.0.432.b06-2.el8RHSA-2024:8117
Red Hatenterprise_linux:8::crb, rhel_eus:8.8::crbjava-11-openjdk-debuginfo, java-11-openjdk-fastdebug, java-11-openjdk-slowdebug and 21 more1:11.0.25.0.9-2.el8RHSA-2024:8121
Red Hatenterprise_linux:8::crb, rhel_eus:8.8::crbjava-17-openjdk-debuginfo, java-17-openjdk-fastdebug, java-17-openjdk-slowdebug and 21 more1:17.0.13.0.11-3.el8RHSA-2024:8124
Red Hatenterprise_linux:8::supplementaryjava-1.8.0-ibm, java-1.8.0-ibm-src, java-1.8.0-ibm-demo and 5 more1:1.8.0.8.35-1.el8_10RHSA-2024:10926
Red Hatenterprise_linux:9::appstreamjava-21-openjdk, java-21-openjdk-src, java-21-openjdk-demo and 10 more1:21.0.5.0.10-3.el9RHSA-2024:8127
Red Hatenterprise_linux:9::appstream, rhel_eus:9.2::appstreamjava-1.8.0-openjdk, java-1.8.0-openjdk-src, java-1.8.0-openjdk-demo and 9 more1:1.8.0.432.b06-2.el9RHSA-2024:8117
Red Hatenterprise_linux:9::appstream, rhel_eus:9.2::appstreamjava-11-openjdk, java-11-openjdk-src, java-11-openjdk-demo and 10 more1:11.0.25.0.9-2.el9RHSA-2024:8121
19 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 9 morejava-1_8_0-ibm1.8.0_sr8.35-150000.3.95.1SUSE-SU-2024:4306-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 9 morejava-1_8_0-openjdk1.8.0.432-150000.3.100.1SUSE-SU-2024:4202-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS and 12 morejava-11-openjdk11.0.25.0-150000.3.119.1SUSE-SU-2024:3875-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Module for Basesystem 15 SP5 and 6 morejava-17-openjdk17.0.13.0-150400.3.48.2SUSE-SU-2024:3963-1
SUSELinux Enterprise Module for Basesystem 15 SP6java-21-openjdk21.0.5.0-150600.3.6.3SUSE-SU-2024:3954-1
SUSELinux Enterprise Module for Package Hub 15 SP6java-1_8_0-openj91.8.0.442-150200.3.51.1SUSE-SU-2025:0435-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5java-11-openjdk11.0.25.0-3.81.1SUSE-SU-2024:3802-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5java-1_8_0-ibm1.8.0_sr8.35-30.129.1SUSE-SU-2024:4252-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5java-1_8_0-openjdk1.8.0.432-27.108.2SUSE-SU-2024:3987-1
SUSEPackage Hub 15 SP6java-11-openj911.0.26.0-bp156.4.3.1openSUSE-SU-2025:0066-1
SUSEPackage Hub 15 SP6java-17-openj917.0.14.0-bp156.3.3.1openSUSE-SU-2025:0067-1
openSUSELeap 15.5, Leap 15.6java-11-openjdk11.0.25.0-150000.3.119.1SUSE-SU-2024:3875-1
openSUSELeap 15.5, Leap 15.6java-17-openjdk17.0.13.0-150400.3.48.2SUSE-SU-2024:3963-1
openSUSELeap 15.5, Leap 15.6java-1_8_0-ibm1.8.0_sr8.35-150000.3.95.1SUSE-SU-2024:4306-1
openSUSELeap 15.5, Leap 15.6java-1_8_0-openjdk1.8.0.432-150000.3.100.1SUSE-SU-2024:4202-1
openSUSELeap 15.6java-11-openj911.0.26.0-bp156.4.3.1openSUSE-SU-2025:0066-1
openSUSELeap 15.6java-17-openj917.0.14.0-bp156.3.3.1openSUSE-SU-2025:0067-1
openSUSELeap 15.6java-1_8_0-openj91.8.0.442-150200.3.51.1SUSE-SU-2025:0435-1
openSUSELeap 15.6java-21-openjdk21.0.5.0-150600.3.6.3SUSE-SU-2024:3954-1
openSUSELeap 16.0java-17-openj917.0.19.0-bp160.1.1openSUSE-SU-2026:20943-1
openSUSELeap 16.0java-21-openj921.0.11.0-bp160.1.1openSUSE-SU-2026:20947-1
openSUSETumbleweedjava-11-openj911.0.26.0-1.1openSUSE-SU-2025:14747-1
openSUSETumbleweedjava-11-openjdk11.0.25.0-1.1openSUSE-SU-2024:14432-1
7 more for openSUSE in the JSON and on openSUSE's page.
AlmaLinux8java-1.8.0-openjdk, java-1.8.0-openjdk-src, java-1.8.0-openjdk-demo and 17 more1:1.8.0.432.b06-2.el8ALSA-2024:8117
AlmaLinux8java-11-openjdk, java-11-openjdk-src, java-11-openjdk-demo and 20 more1:11.0.25.0.9-2.el8ALSA-2024:8121
AlmaLinux8java-17-openjdk, java-17-openjdk-src, java-17-openjdk-demo and 20 more1:17.0.13.0.11-3.el8ALSA-2024:8124
AlmaLinux8java-21-openjdk, java-21-openjdk-src, java-21-openjdk-demo and 20 more1:21.0.5.0.10-3.el8.alma.1ALSA-2024:8127
AlmaLinux9java-1.8.0-openjdk, java-1.8.0-openjdk-src, java-1.8.0-openjdk-demo and 14 more1:1.8.0.432.b06-2.el9ALSA-2024:8117
AlmaLinux9java-11-openjdk, java-11-openjdk-src, java-11-openjdk-demo and 20 more1:11.0.25.0.9-2.el9ALSA-2024:8121
AlmaLinux9java-17-openjdk, java-17-openjdk-src, java-17-openjdk-demo and 20 more1:17.0.13.0.11-3.el9.alma.1ALSA-2024:8124
AlmaLinux9java-21-openjdk, java-21-openjdk-src, java-21-openjdk-demo and 20 more1:21.0.5.0.10-3.el9.alma.1ALSA-2024:8127
Rocky Linux8java-1.8.0-openjdk1:1.8.0.432.b06-2.el8RLSA-2024:8117
Rocky Linux8java-11-openjdk1:11.0.25.0.9-2.el8RLSA-2024:8121
Rocky Linux8java-17-openjdk1:17.0.13.0.11-3.el8RLSA-2024:8124
Rocky Linux8java-21-openjdk1:21.0.5.0.10-3.el8RLSA-2024:8127
Rocky Linux9java-1.8.0-openjdk1:1.8.0.432.b06-2.el9RLSA-2024:8117
Rocky Linux9java-11-openjdk1:11.0.25.0.9-2.el9RLSA-2024:8121
Rocky Linux9java-17-openjdk1:17.0.13.0.11-3.el9RLSA-2024:8124
Rocky Linux9java-21-openjdk1:21.0.5.0.10-3.el9RLSA-2024:8127
Alpinev3.19, v3.20, v3.21 and 3 moreopenjdk1111.0.25_p9-r0ALPINE-CVE-2024-21217
Alpinev3.19, v3.20, v3.21 and 3 moreopenjdk1717.0.13_p11-r0ALPINE-CVE-2024-21217
Alpinev3.19, v3.20, v3.21 and 3 moreopenjdk2121.0.5_p11-r0ALPINE-CVE-2024-21217
Alpinev3.20, v3.21, v3.22 and 2 moreopenjdk88.432.06-r0ALPINE-CVE-2024-21217

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

A MODERATE impact denial-of-service vulnerability was found in the java.text.MessageFormat implementation in OpenJDK as shipped in Red Hat Enterprise Linux and the Red Hat Build of OpenJDK. MessageFormat did not impose an upper bound on the ArgumentIndex pattern element, and internal array allocation was sized from that untrusted value: supplying a crafted pattern with an arbitrarily large ArgumentIndex to the MessageFormat constructors, the applyPattern(String) method, or the static format(String, Object...) method, or deserializing a crafted MessageFormat object, can trigger an excessively large memory allocation that exhausts Java heap memory (out-of-memory error), resulting in a partial denial of service of the affected Java application. The vulnerability is difficult to exploit by an unauthenticated remote attacker and affects availability only; exploitation requires an application to pass attacker-controlled data to the affected APIs, for example through a web service that supplies data to those APIs. The java-1.8.0-openjdk, java-11-openjdk, java-17-openjdk, and java-21-openjdk components in Red Hat Enterprise Linux 7, 8, and 9, the Red Hat Build of OpenJDK 8, 11, 17, and 21, and Red Hat online services built on OpenJDK are affected, and a fix is being pursued for these products. Red Hat Enterprise Linux 10 is not affected because the vulnerable code is not present in its java-21-openjdk packages. Both Red Hat and the upstream rating assign a CVSS 3.1 base score of 3.7 (LOW severity, availability impact only), reflecting the difficult exploitation and limited consequence of this flaw.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability. This issue can be addressed by installing the OpenJDK security updates provided by Red Hat for the affected products.

ProductPackageStateAdvisory
Red Hat Build of OpenJDK 11.0.25portable-linuxFixed 2024-10-16RHSA-2024:8122
Red Hat Build of OpenJDK 11.0.25windowsFixed 2024-10-16RHSA-2024:8123
Red Hat Build of OpenJDK 17.0.13portable-linuxFixed 2024-10-16RHSA-2024:8125
Red Hat Build of OpenJDK 17.0.13windowsFixed 2024-10-16RHSA-2024:8126
Red Hat Build of OpenJDK 21.0.4windowsFixed 2024-10-16RHSA-2024:8129
Red Hat Build of OpenJDK 21.0.5portable-linuxFixed 2024-10-16RHSA-2024:8128
Red Hat Build of OpenJDK 8u432portable-linuxFixed 2024-10-16RHSA-2024:8118
Red Hat Build of OpenJDK 8u432windowsFixed 2024-10-16RHSA-2024:8119
Red Hat Enterprise Linux 7 Extended Lifecycle Supportjava-1.8.0-openjdk-1:1.8.0.432.b06-1.el7_9Fixed 2024-10-17RHSA-2024:8116
Red Hat Enterprise Linux 7 Extended Lifecycle Supportjava-11-openjdk-1:11.0.25.0.9-1.el7_9Fixed 2024-10-16RHSA-2024:8120
Red Hat Enterprise Linux 8java-1.8.0-openjdk-1:1.8.0.432.b06-2.el8Fixed 2024-10-16RHSA-2024:8117
Red Hat Enterprise Linux 8java-11-openjdk-1:11.0.25.0.9-2.el8Fixed 2024-10-16RHSA-2024:8121
Red Hat Enterprise Linux 8java-17-openjdk-1:17.0.13.0.11-3.el8Fixed 2024-10-16RHSA-2024:8124
Red Hat Enterprise Linux 10java-21-openjdkNot affected
Red Hat Enterprise Linux 6java-1.6.0-openjdkOut of support scope
Red Hat Enterprise Linux 6java-1.7.0-openjdkOut of support scope
Red Hat Enterprise Linux 6java-1.8.0-openjdkOut of support scope
Red Hat Enterprise Linux 7java-1.6.0-openjdkOut of support scope
Red Hat Enterprise Linux 7java-1.7.0-openjdkOut of support scope
Red Hat Enterprise Linux 7java-1.8.0-ibmOut of support scope
35 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-21217.

Attack patterns (CAPEC)

  • CAPEC-586 Object Injection Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON