Advisory

PYSEC-2020-29

Also known as: BIT-brotli-2020-8927, BIT-dotnet-2020-8927, BIT-dotnet-sdk-2020-8927, BIT-powershell-2020-8927, CVE-2020-36846, CVE-2020-8927, GHSA-5v8v-66v8-mwm7, GO-2025-3726, RUSTSEC-2021-0131, RUSTSEC-2021-0132

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2020-09-15 10:15 UTC
Modified
2026-06-10 17:00 UTC

Affected packages and fixes

brotli

PyPI · All systems

Affected

  • introduced 0, fixed 1.0.8 (ecosystem)

Fixed versions

1.0.8

Fix

  • Fixed version 1.0.8
    pip install --upgrade brotli==1.0.8

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences