{"answers":{"affected":"4 open source packages ship an affected version, including com.amazon.ion:ion-java and software.amazon.ion:ion-java. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-21634 in the wild and no public exploit code.","fix":"Upgrade com.amazon.ion:ion-java to 1.10.5 or later.","what":"CVE-2024-21634 is a high-severity denial of service vulnerability in amazon-ion ion-java, published on 3 Jan 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-21634 and fix it if it is affected.\n\nWhat it is: CVE-2024-21634 is a high-severity denial of service vulnerability in amazon-ion ion-java, published on 3 Jan 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-21634 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- com.amazon.ion:ion-java (Maven): affected all versions; fixed in 1.10.5\n- com.amazon.ion:ion-java (Maven): affected all versions; fixed in 1.10.5\n- software.amazon.ion:ion-java (Maven): affected all versions; no fix listed\n- software.amazon.ion:ion-java (Maven): affected all versions; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-21634/ (Markdown: https://insights.sbomify.com/CVE-2024-21634/index.md)","id":"CVE-2024-21634","markdown":"https://insights.sbomify.com/CVE-2024-21634/index.md","name":"CVE-2024-21634","record":{"aliases":["CLEANSTART-2026-GM84692","CLEANSTART-2026-NE90123","ECHO-4efd-f0e1-ea28","GHSA-264p-99wq-f4j6","MINI-hpcx-88x5-775r","ROOT-APP-MAVEN-CVE-2024-21634"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Java Ion library","requires_auth":"none","summary":"Crafted Ion data causes a StackOverflowError in the ion-java library, leading to denial of service for applications processing untrusted input.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"ion","vendor":"amazon"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Ion Java StackOverflow vulnerability","id":"CVE-2024-21634","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"denial_of_service","year":"2024"},"n_packages":4,"n_references":1,"next":{"headline":"Memos Access Tokens Stay Valid after User Password Change","id":"CVE-2024-21635"},"packages":[{"ecosystem":"Maven","fixed":["1.10.5"],"introduced":["0"],"last_affected":[],"package":"com.amazon.ion:ion-java","purl":null,"source":"GHSA-264p-99wq-f4j6"},{"ecosystem":"Maven","fixed":["1.10.5"],"introduced":["0"],"last_affected":[],"package":"com.amazon.ion:ion-java","purl":"pkg:maven/com.amazon.ion/ion-java","source":"GHSA-264p-99wq-f4j6"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":[],"package":"software.amazon.ion:ion-java","purl":null,"source":"GHSA-264p-99wq-f4j6"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":[],"package":"software.amazon.ion:ion-java","purl":"pkg:maven/software.amazon.ion/ion-java","source":"GHSA-264p-99wq-f4j6"}],"prev":{"headline":"Arbitrary file write on Decoding","id":"CVE-2024-21633"},"products":["ion-java"],"published":"2024-01-03","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-11-03","vendors":["amazon-ion"]},"summary":"Crafted Ion data causes a StackOverflowError in the ion-java library, leading to denial of service for applications processing untrusted input.","url":"https://insights.sbomify.com/CVE-2024-21634/"}