@ag-ui/client is vulnerable to Denial of Service (DoS)
43
CVE Score
Medium
Denial of Service (DoS)
During legacy event conversion, JSON.parse processes a tool call's function.arguments without error handling. Arguments from model output that are malformed or not JSON throw an uncaught exception, stopping conversion and its event stream. Any model or tool output that reaches the legacy conversion path can trigger the failure. With the fix, parse errors are caught and reported as stream errors.
Upgrade the @ag-ui/client library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and you use the legacy event conversion path with tool call arguments from model output.
0.0.1 - 0.0.59
Fixed in 1.0.0@ag-ui/client is vulnerable to Denial of Service (DoS) in versions 0.0.1 - 0.0.59.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.