CVE-2024-21634
JSON

7.5high

Ion Java StackOverflow vulnerability

Severity
7.5high CVSS:3.1 by GitHub_M
Exploit likelihood
0.89% (higher than 57% of CVEs)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-264p-99wq-f4j6

Description

Amazon Ion is a Java implementation of the Ion data notation. Prior to version 1.10.5, a potential denial-of-service issue exists in `ion-java` for applications that use `ion-java` to deserialize Ion text encoded data, or deserialize Ion text or binary encoded data into the `IonValue` model and then invoke certain `IonValue` methods on that in-memory representation. An actor could craft Ion data that, when loaded by the affected application and/or processed using the `IonValue` model, results in a `StackOverflowError` originating from the `ion-java` library. The patch is included in `ion-java` 1.10.5. As a workaround, do not load data which originated from an untrusted source or that could have been tampered with.

Affected

Product or packageVersionsReported by
amazon-ion ion-java< 1.10.5CVE List
com.amazon.ion:ion-java (Maven)before 1.10.5GitHub Advisory Database
software.amazon.ion:ion-java (Maven)all versionsGitHub Advisory Database
amazon ionbefore 1.10.5NVD

All scores

GitHub_M7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-770

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

Amazon Ion is a Java implementation of the Ion data notation. Prior to version 1.10.5, a potential denial-of-service issue exists in `ion-java` for applications that use `ion-java` to deserialize Ion text encoded data, or deserialize Ion text or binary encoded data into the `IonValue` model and then invoke certain `IonValue` methods on that in-memory representation. An actor could craft Ion data that, when loaded by the affected application and/or processed using the `IonValue` model, results in a `StackOverflowError` originating from the `ion-java` library. The patch is included in `ion-java` 1.10.5. As a workaround, do not load data which originated from an untrusted source or that could have been tampered with.

GitHub Advisory Database
Impact

A potential denial-of-service issue exists in ion-java for applications that use ion-java to:

  • Deserialize Ion text encoded data, or
  • Deserialize Ion text or binary encoded data into the IonValue model and then invoke certain IonValue methods on that in-memory representation.

An actor could craft Ion data that, when loaded by the affected application and/or processed using the IonValue model, results in a StackOverflowError originating from the ion-java library.

Impacted versions: <1.10.5

Patches

The patch is included in ion-java >= 1.10.5.

Workarounds

Do not load data which originated from an untrusted source or that could have been tampered with. Only load data you trust.


If you have any questions or comments about this advisory, we ask that you contact AWS/Amazon Security via our vulnerability reporting page [1] or directly via email to aws-security@amazon.com. Please do not create a public GitHub issue.

[1] https://aws.amazon.com/security/vulnerability-reporting

NVD (es)

Amazon Ion es una implementación Java de la notación de datos de Ion. Antes de la versión 1.10.5, existe un posible problema de denegación de servicio en `ion-java` para aplicaciones que usan `ion-java` para deserializar datos codificados de texto Ion, o deserializar texto Ion o datos codificados binarios en `IonValue `modelo y luego invocar ciertos métodos `IonValue` en esa representación en memoria. Un actor podría crear datos de Ion que, cuando los carga la aplicación afectada y/o los procesa usando el modelo "IonValue", dan como resultado un "StackOverflowError" que se origina en la librería "ion-java". El parche está incluido en `ion-java` 1.10.5. Como workaround, no cargue datos que se hayan originado en una fuente que no sea de confianza o que puedan haber sido manipulados.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-21634 changed 2025-11-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-264p-99wq-f4j6 changed 2026-09-10CC-BY-4.0
NVDCVE-2024-21634 changed 2026-06-17Public domain