GHSA-gm2p-wf5c-w3pj

Suggest an improvement
Source
https://github.com/advisories/GHSA-gm2p-wf5c-w3pj
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/04/GHSA-gm2p-wf5c-w3pj/GHSA-gm2p-wf5c-w3pj.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-gm2p-wf5c-w3pj
Aliases
  • CVE-2025-3857
Published
2025-04-21T16:19:20Z
Modified
2025-04-23T14:51:07.901510Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
  • 8.7 (High) CVSS_V4 - 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 CVSS Calculator
Summary
Infinite loop condition in Amazon.IonDotnet
Details

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.

Database specific
{
    "nvd_published_at": "2025-04-21T16:15:54Z",
    "cwe_ids": [
        "CWE-502",
        "CWE-835"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2025-04-21T16:19:20Z"
}
References

Affected packages

NuGet / Amazon.IonDotnet

Package

Name
Amazon.IonDotnet
View open source insights on deps.dev
Purl
pkg:nuget/Amazon.IonDotnet

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.3.1

Affected versions

0.*

0.9.0-beta

1.*

1.0.0
1.1.0
1.2.2
1.2.3
1.3.0