Vulnerabilities in pkg:nuget/Amazon.IonDotnet
PACKAGECVE-2025-3857 is a HIGH (CVSS 7.5) infinite loop condition vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Amazon.IonDotnet libraries in the NuGet ecosystem. The issue involves infinite loop condition in amazon.iondotnet. Remediation is available by upgrading affected packages to version 1.3.1.
pkg:nuget/Amazon.IonDotnet
Vulnerability advisories affecting package pkg:nuget/Amazon.IonDotnet. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-gm2p-wf5c-w3pj | CVE-2025-3857 | HIGH | Infinite loop condition in Amazon.IonDotnet |
| GHSA-q5r6-9qwq-g2wj | CVE-2025-11573 | HIGH | Amazon.IonDotnet is vulnerable to Denial of Service attacks |
CVE-2025-3857 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2025-3857
To remediate this vulnerability, upgrade all affected Amazon.IonDotnet dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade Amazon.IonDotnet to 1.3.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for Amazon.IonDotnet
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-3857, inspect your project dependencies for Amazon.IonDotnet:
inspect dependencies for Amazon.IonDotnet
Analyze the terminal output to locate any version of Amazon.IonDotnet in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.3.1), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. In Amazon.IonDotnet, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-3857 Affected Amazon.IonDotnet Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
Amazon.IonDotnet
|
NuGet |
< 1.3.1
|
1.3.1
|
References
Frequently Asked Questions
What is CVE-2025-3857?
Which Amazon.IonDotnet versions are affected?
What version fixes CVE-2025-3857?
Is Amazon.IonDotnet affected?
What is the CVSS score of CVE-2025-3857?
What CWE is associated with CVE-2025-3857?
How can I check NuGet dependencies for CVE-2025-3857?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-gm2p-wf5c-w3pj",
"modified" : "2025-10-14T21:59:16Z",
"published" : "2025-04-21T16:19:20Z",
"aliases" : [ "CVE-2025-3857" ],
"summary" : "Infinite loop condition in Amazon.IonDotnet",
"details" : "## Summary\n\n[Amazon.IonDotnet (ion-dotnet)](https://github.com/amazon-ion/ion-dotnet) is a .NET library with an implementation of the [Ion data serialization format](https://amazon-ion.github.io/ion-docs/).\n\nAn issue exists in Amazon.IonDotnet and the RawBinaryReader class where, under certain conditions, an actor could trigger an infinite loop condition.\n\n## Impact\n\nWhen 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.\n\n**Impacted versions: <=1.3.0**\n\n## Patches\n\nThis issue has been addressed in Amazon.IonDotnet version [1.3.1](https://github.com/amazon-ion/ion-dotnet/releases/tag/v1.3.1). We recommend upgrading to the latest version and ensuring any forked or derivative code is patched to incorporate the new fixes.\n\n## Workarounds\n\nThere are no workarounds. Upgrade to version 1.3.1.\n\n## References\n\nIf you have any questions or comments about this advisory, contact AWS/Amazon Security via our [vulnerability reporting page](https://aws.amazon.com/security/vulnerability-reporting) or directly via email to [aws-security@amazon.com](mailto:aws-security@amazon.com). Please do not create a public GitHub issue.\n\n## Credit\n\nWe would like to thank Josh Coleman from Symbotic for collaborating on this issue through the coordinated vulnerability disclosure process.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}, {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "NuGet",
"name" : "Amazon.IonDotnet"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.3.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/amazon-ion/ion-dotnet/security/advisories/GHSA-gm2p-wf5c-w3pj"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-3857"
}, {
"type" : "WEB",
"url" : "https://github.com/amazon-ion/ion-dotnet/commit/34a4f5215eceac1bb7bf434c4f2310d64d1b703b"
}, {
"type" : "WEB",
"url" : "https://aws.amazon.com/security/security-bulletins/AWS-2025-009"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/amazon-ion/ion-dotnet"
}, {
"type" : "WEB",
"url" : "https://github.com/amazon-ion/ion-dotnet/releases/tag/v1.3.1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-502", "CWE-835" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-04-21T16:19:20Z",
"nvd_published_at" : "2025-04-21T16:15:54Z"
}
}