aiosonic is vulnerable to Denial of Service (DoS)
59
CVE Score
Medium
Denial of Service (DoS)
aiosonic transparently decompresses Content-Encoding: gzip and deflate response bodies with one-shot gzip.decompress()/zlib.decompress() calls over the entire buffer and no output-size limit. A malicious or compromised server can return a small compressed payload that inflates to hundreds of megabytes or gigabytes, exhausting memory in the client process and crashing it. Decompression happens in the request path before the response object is returned, so callers cannot inspect headers and opt out, and no special option is required. The fix switches to bounded streaming decompression with a configurable maximum size and raises a new DecompressionError on overflow.
Upgrade the aiosonic library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and your application fetches responses from untrusted or attacker-influenced servers.
0.1.0 - 1.0.2
Fixed in 1.0.3aiosonic is vulnerable to Denial of Service (DoS) in versions 0.1.0 - 1.0.2.
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.