@agentclientprotocol/sdk is vulnerable to Denial of Service (DoS)
47
CVE Score
Medium
Denial of Service (DoS)
LineBuffer reassembles each ACP JSON-RPC message from the chunks of a byte stream and keeps the current incomplete line in a plain array with no byte limit. Standard input/output uses that stream for a spawned agent, and HTTP with Server-Sent Events uses it for a remote agent. Either the agent or the client can send one message large enough that the receiver keeps appending chunks to that line until it runs out of memory, which kills the connection and every session running on it. The fix adds a configurable maximum message and line size that rejects an oversized line before it is fully buffered.
Upgrade the @agentclientprotocol/sdk library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and you exchange ACP messages over standard input/output or HTTP with Server-Sent Events.
0.4.7 - 1.5.0
Fixed in 1.5.1@agentclientprotocol/sdk is vulnerable to Denial of Service (DoS) in versions 0.4.7 - 1.5.0.
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.