CVE-2024-21634
Ion Java StackOverflow vulnerability
Description
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
IonValuemodel and then invoke certainIonValuemethods 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
Affected Maven artifacts (2)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| com.amazon.ion » ion-java | < 1.10.5 | 1.10.5 |
| software.amazon.ion » ion-java | * | - |
Blast radius
58% of the dependent artifacts (4,871) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 5,435 |
| 2 hops | 395,645 |
| 3 hops | 114,084 |
| 4 hops | 159,869 |
| 5 hops | 78,659 |
| 6 hops | 20,299 |
Most used dependents
- com.amazonaws » aws-java-sdk-s31,790 usages
- org.apache.kafka » kafka1,450 usages
- software.amazon.awssdk » s31,330 usages
- com.amazonaws » aws-java-sdk-core1,268 usages
- com.amazonaws » aws-java-sdk974 usages
- org.apache.hive » hive-exec699 usages
- org.springframework.cloud » spring-cloud-starter-netflix-eureka-client684 usages
- org.apache.spark » spark-hive633 usages
- org.apache.camel.kafkaconnector » camel-kafka-connector616 usages
- software.amazon.awssdk » sts559 usages
- com.amazonaws » aws-java-sdk-dynamodb525 usages
- software.amazon.awssdk » auth431 usages
- com.amazonaws » aws-java-sdk-sts416 usages
- org.apache.hive » hive-jdbc404 usages
- org.apereo.cas » cas-server-core-authentication-api400 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
