Bug 2318530 (CVE-2024-21217)

Summary: CVE-2024-21217 JDK: Unbounded allocation leads to out-of-memory error (8331446)
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: ahughes, caswilli, chazlett, cmoore, dnakabaa, fitzsim, gmccullo, jsamir, kaycoth, kholdawa, khosford, lcouzens, lphiri, mbalao, mskarbek, neugens, pjindal, security-response-team, sraghupu, sthirugn, vkrizan
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Deadline: 2024-10-15   

Description OSIDB Bzimport 2024-10-14 13:43:13 UTC
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.

Oracle Critical Patch Update Advisory - October 2024:
https://www.oracle.com/security-alerts/cpuoct2024.html#AppendixJAVA

Comment 1 errata-xmlrpc 2024-10-16 11:09:51 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7 Extended Lifecycle Support

Via RHSA-2024:8120 https://access.redhat.com/errata/RHSA-2024:8120

Comment 2 errata-xmlrpc 2024-10-16 12:04:40 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8
  Red Hat Enterprise Linux 8.8 Extended Update Support
  Red Hat Enterprise Linux 8.2 Advanced Update Support
  Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.4 Telecommunications Update Service
  Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.6 Telecommunications Update Service
  Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions
  Red Hat Enterprise Linux 9.2 Extended Update Support
  Red Hat Enterprise Linux 9

Via RHSA-2024:8121 https://access.redhat.com/errata/RHSA-2024:8121

Comment 3 errata-xmlrpc 2024-10-16 14:22:02 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8
  Red Hat Enterprise Linux 9

Via RHSA-2024:8127 https://access.redhat.com/errata/RHSA-2024:8127

Comment 4 errata-xmlrpc 2024-10-16 15:01:51 UTC
This issue has been addressed in the following products:

  Red Hat Build of OpenJDK 8u432

Via RHSA-2024:8118 https://access.redhat.com/errata/RHSA-2024:8118

Comment 5 errata-xmlrpc 2024-10-16 15:02:06 UTC
This issue has been addressed in the following products:

  Red Hat Build of OpenJDK 11.0.25

Via RHSA-2024:8123 https://access.redhat.com/errata/RHSA-2024:8123

Comment 6 errata-xmlrpc 2024-10-16 15:02:16 UTC
This issue has been addressed in the following products:

  Red Hat Build of OpenJDK 11.0.25

Via RHSA-2024:8122 https://access.redhat.com/errata/RHSA-2024:8122

Comment 7 errata-xmlrpc 2024-10-16 15:03:05 UTC
This issue has been addressed in the following products:

  Red Hat Build of OpenJDK 8u432

Via RHSA-2024:8119 https://access.redhat.com/errata/RHSA-2024:8119

Comment 8 errata-xmlrpc 2024-10-16 15:12:09 UTC
This issue has been addressed in the following products:

  Red Hat Build of OpenJDK 17.0.13

Via RHSA-2024:8125 https://access.redhat.com/errata/RHSA-2024:8125

Comment 9 errata-xmlrpc 2024-10-16 15:12:26 UTC
This issue has been addressed in the following products:

  Red Hat Build of OpenJDK 17.0.13

Via RHSA-2024:8126 https://access.redhat.com/errata/RHSA-2024:8126

Comment 10 errata-xmlrpc 2024-10-16 15:16:33 UTC
This issue has been addressed in the following products:

  Red Hat Build of OpenJDK 21.0.5

Via RHSA-2024:8128 https://access.redhat.com/errata/RHSA-2024:8128

Comment 11 errata-xmlrpc 2024-10-16 15:16:40 UTC
This issue has been addressed in the following products:

  Red Hat Build of OpenJDK 21.0.4

Via RHSA-2024:8129 https://access.redhat.com/errata/RHSA-2024:8129

Comment 12 errata-xmlrpc 2024-10-16 15:37:28 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.6 Telecommunications Update Service
  Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.4 Telecommunications Update Service
  Red Hat Enterprise Linux 8
  Red Hat Enterprise Linux 8.8 Extended Update Support
  Red Hat Enterprise Linux 9.2 Extended Update Support
  Red Hat Enterprise Linux 9

Via RHSA-2024:8124 https://access.redhat.com/errata/RHSA-2024:8124

Comment 13 errata-xmlrpc 2024-10-16 18:45:46 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8
  Red Hat Enterprise Linux 8.8 Extended Update Support
  Red Hat Enterprise Linux 8.2 Advanced Update Support
  Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.4 Telecommunications Update Service
  Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.6 Telecommunications Update Service
  Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions
  Red Hat Enterprise Linux 9.2 Extended Update Support
  Red Hat Enterprise Linux 9

Via RHSA-2024:8117 https://access.redhat.com/errata/RHSA-2024:8117

Comment 14 errata-xmlrpc 2024-10-17 14:13:17 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7 Extended Lifecycle Support

Via RHSA-2024:8116 https://access.redhat.com/errata/RHSA-2024:8116

Comment 17 Mauro Matteo Cascella 2024-10-21 16:04:01 UTC
Relevant excerpt from release notes:

-> MessageFormat ArgumentIndex Now Has a Limit (JDK-8331446 (not public))
In the JDK, java.text.MessageFormat now has an implementation limit for the ArgumentIndex pattern element. The hard limit for the value is 10,000.

If an ArgumentIndex value is equal to or exceeds the upper limit, an IllegalArgumentException will now be thrown by

MessageFormats constructors
applyPattern(String pattern) instance method
format(String pattern, Object... arguments) static method
De-serializing a MessageFormat object with an ArgumentIndex value at or over the limit will throw an InvalidObjectException.