8.7high
Infinite loop condition in Amazon.IonDotnet
- Severity
- 8.7high CVSS:4.0 by AMZN
- Exploit likelihood
- 1.33% (higher than 71% of CVEs)
- Published
- Last changed
- Assigned by
- AMZN
- Also known as
- GHSA-gm2p-wf5c-w3pj
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Amazon Amazon Ion Dotnet | before 1.3.1 | CVE List |
| Amazon.IonDotnet (NuGet) | before 1.3.1 | GitHub Advisory Database |
All scores
| AMZN | 8.7high CVSS:4.0 | 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 |
| AMZN | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | high CVSS:4.0 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
Summary
Amazon.IonDotnet (ion-dotnet) is a .NET library with an implementation of the Ion data serialization format.
An issue exists in Amazon.IonDotnet and the RawBinaryReader class where, under certain conditions, an actor could trigger an infinite loop condition.
Impact
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.
Impacted versions: <=1.3.0
Patches
This issue has been addressed in Amazon.IonDotnet version 1.3.1. We recommend upgrading to the latest version and ensuring any forked or derivative code is patched to incorporate the new fixes.
Workarounds
There are no workarounds. Upgrade to version 1.3.1.
References
If you have any questions or comments about this advisory, contact AWS/Amazon Security via our vulnerability reporting page or directly via email to aws-security@amazon.com. Please do not create a public GitHub issue.
Credit
We would like to thank Josh Coleman from Symbotic for collaborating on this issue through the coordinated vulnerability disclosure process.
NVD (es)
Al leer datos binarios de Ion a través de Amazon.IonDotnet con la clase RawBinaryReader, Amazon.IonDotnet no comprueba el número de bytes leídos del flujo subyacente al deserializar el formato binario. Si los datos de Ion están malformados o truncados, se activa un bucle infinito que podría resultar en una denegación de servicio. Los usuarios deben actualizar a la versión 1.3.1 de Amazon.IonDotnet y asegurarse de que cualquier código bifurcado o derivado esté parcheado para incorporar las nuevas correcciones.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-3857 changed 2025-10-14 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-gm2p-wf5c-w3pj changed 2025-10-14 | CC-BY-4.0 |
| NVD | CVE-2025-3857 changed 2026-06-17 | Public domain |