CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

CVE-2025-3857: Infinite loop condition in Amazon.IonDotnet

8.7 CVSS

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.

Classification

CVE ID: CVE-2025-3857

CVSS Base Severity: HIGH

CVSS Base Score: 8.7

CVSS 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

Problem Types

CWE-835 Loop with Unreachable Exit Condition ('Infinite Loop') CWE-502 Deserialization of Untrusted Data

Affected Products

Vendor: Amazon

Product: Amazon Ion Dotnet

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.05% (probability of being exploited)

EPSS Percentile: 16.86% (scored less or equal to compared to others)

EPSS Date: 2025-05-20 (when was this score calculated)

Stakeholder-Specific Vulnerability Categorization (SSVC)

SSVC Exploitation: none

SSVC Technical Impact: partial

SSVC Automatable: true

References

https://nvd.nist.gov/vuln/detail/CVE-2025-3857
https://aws.amazon.com/security/security-bulletins/AWS-2025-009/
https://github.com/amazon-ion/ion-dotnet/security/advisories/GHSA-gm2p-wf5c-w3pj

Timeline