{"answers":{"affected":"2 open source packages ship an affected version, including Amazon.IonDotnet.","exploited":"There is no known exploitation of CVE-2025-3857 in the wild and no public exploit code.","fix":"Upgrade Amazon.IonDotnet to 1.3.1 or later.","what":"CVE-2025-3857 is a high-severity denial of service vulnerability in Amazon Ion Dotnet, published on 21 Apr 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-3857 and fix it if it is affected.\n\nWhat it is: CVE-2025-3857 is a high-severity denial of service vulnerability in Amazon Ion Dotnet, published on 21 Apr 2025. 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-2025-3857 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- Amazon.IonDotnet (NuGet): affected all versions; fixed in 1.3.1\n- Amazon.IonDotnet (NuGet): affected all versions; fixed in 1.3.1\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-2025-3857/ (Markdown: https://insights.sbomify.com/CVE-2025-3857/index.md)","id":"CVE-2025-3857","markdown":"https://insights.sbomify.com/CVE-2025-3857/index.md","name":"CVE-2025-3857","record":{"aliases":["GHSA-gm2p-wf5c-w3pj"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Amazon Ion Dotnet","requires_auth":"none","summary":"An infinite loop in Amazon.IonDotnet's binary reader allows attackers to cause denial of service via malformed data.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"AMZN","cpe":[],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-835","name":"Loop with Unreachable Exit Condition"},{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"description":"When reading binary Ion data through Amazon.IonDotnet using the RawBinaryReader class, Amazon.IonDotnet does not check the number of bytes read from the underlying stream while deserializing the binary format. If the Ion data is malformed or truncated, this triggers an infinite loop condition that could potentially result in a denial of service. Users should upgrade to Amazon.IonDotnet version 1.3.1 and ensure any forked or derivative code is patched to incorporate the new fixes.","ecosystems":["NuGet"],"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":"Infinite loop condition in Amazon.IonDotnet","id":"CVE-2025-3857","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"NuGet","product":null,"products":[],"type":"denial_of_service","year":"2025"},"n_packages":2,"n_references":3,"next":{"headline":"Formality \u003c= 1.5.8 - Authenticated (Contributor+) Stored Cross-Site Scripting via align Parameter","id":"CVE-2025-3858"},"packages":[{"ecosystem":"NuGet","fixed":["1.3.1"],"introduced":["0"],"last_affected":[],"package":"Amazon.IonDotnet","purl":null,"source":"GHSA-gm2p-wf5c-w3pj"},{"ecosystem":"NuGet","fixed":["1.3.1"],"introduced":["0"],"last_affected":[],"package":"Amazon.IonDotnet","purl":"pkg:nuget/Amazon.IonDotnet","source":"GHSA-gm2p-wf5c-w3pj"}],"prev":{"headline":"xxyopen Novel-Plus searchByPage sql injection","id":"CVE-2025-3856"},"products":["Amazon Ion Dotnet"],"published":"2025-04-21","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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-10-14","vendors":["Amazon"]},"summary":"An infinite loop in Amazon.IonDotnet's binary reader allows attackers to cause denial of service via malformed data.","url":"https://insights.sbomify.com/CVE-2025-3857/"}