brotli is vulnerable to Out-of-bounds Write
95
CVE Score
Critical
Out-of-bounds Write
The Ruby brotli gem vendors Google's Brotli decoder. A block type switch in a stream that declares only one block type is ignored on the fast path, so decoding continues and writes outside the decoder output buffer. A crafted Brotli stream passed to Brotli.inflate can crash the process, disclose memory, corrupt data, or potentially execute arbitrary code. The patched gem vendors a decoder that reports the invalid block switch and stops.
Upgrade the brotli library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and the application decompresses Brotli data.
0.2.1 - 0.9.0
Fixed in 0.9.1brotli is vulnerable to Out-of-bounds Write in versions 0.2.1 - 0.9.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.