Buffer overflow in Brotli library
Google LLC Brotli
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| compu-brotli-sys crates.io |
|
|
| Microsoft.NETCore.App.Runtime.linux-arm NuGet |
|
Google LLC Brotli
| Product | Affected | Fixed in |
|---|---|---|
| compu-brotli-sys crates.io |
|
|
| Microsoft.NETCore.App.Runtime.linux-arm NuGet |
|
|
| Microsoft.NETCore.App.Runtime.linux-arm64 NuGet |
|
|
| Microsoft.NETCore.App.Runtime.linux-musl-arm64 NuGet |
|
|
| Microsoft.NETCore.App.Runtime.linux-x64 NuGet |
|
|
| Microsoft.NETCore.App.Runtime.osx-x64 NuGet |
|
|
| Microsoft.NETCore.App.Runtime.win-arm NuGet |
|
|
| Microsoft.NETCore.App.Runtime.win-arm64 NuGet |
|
|
| Microsoft.NETCore.App.Runtime.win-x64 NuGet |
|
|
| Microsoft.NETCore.App.Runtime.win-x86 NuGet |
|
|
| Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.linux-arm64 NuGet |
|
|
| Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.linux-x64 NuGet |
|
|
| Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.osx-x64 NuGet |
|
|
| Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-arm64 NuGet |
|
|
| Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-x64 NuGet |
|
|
| Microsoft.NETCore.App.Runtime.Mono.LLVM.osx-x64 NuGet |
|
|
| Microsoft.NETCore.App.Runtime.Mono.linux-arm NuGet |
|
|
| Microsoft.NETCore.App.Runtime.Mono.linux-arm64 NuGet |
|
|
| Microsoft.NETCore.App.Runtime.Mono.linux-musl-x64 NuGet |
|
|
| Microsoft.NETCore.App.Runtime.Mono.linux-x64 NuGet |
|
|
| Microsoft.NETCore.App.Runtime.Mono.osx-x64 NuGet |
|
|
| Microsoft.NETCore.App.Runtime.browser-wasm NuGet |
|
|
| Microsoft.NETCore.App.Runtime.linux-musl-arm NuGet |
|
|
| Microsoft.NETCore.App.Runtime.linux-musl-x64 NuGet |
|
|
| Microsoft.NETCore.App.Runtime.AOT.linux-x64.Cross.android-arm NuGet |
|
|
| Microsoft.NETCore.App.Runtime.AOT.linux-x64.Cross.android-arm64 NuGet |
|
|
| Microsoft.NETCore.App.Runtime.AOT.linux-x64.Cross.android-x64 NuGet |
|
|
| Microsoft.NETCore.App.Runtime.AOT.linux-x64.Cross.android-x86 NuGet |
|
|
| Microsoft.NETCore.App.Runtime.AOT.linux-x64.Cross.browser-wasm NuGet |
|
|
| Microsoft.NETCore.App.Runtime.AOT.osx-x64.Cross.android-arm NuGet |
|
|
A buffer overflow exists in the Brotli library versions prior to 1.0.8 where an attacker controlling the input length of a "one-shot" decompression request to a script can trigger a crash, which happens when copying over chunks of data larger than 2 GiB. It is recommended to update your Brotli library to 1.0.8 or later. If one cannot update, we recommend to use the "streaming" API as opposed to the "one-shot" API, and impose chunk size limits.
From the CVE record · Google
Brotli versions before 1.0.8 have a buffer overflow in one-shot decompression. An attacker who controls the input length of a decompression request to a script can trigger a crash when chunks larger than 2 GiB are copied. The input does not specify whether network access, authentication, or user interaction is required.
Check systems using Brotli before 1.0.8, compu-brotli-sys before 1.0.9, or the listed Microsoft.NETCore.App.Runtime packages in affected 3.0–3.1, 5.0, or 6.0 version ranges.