Bug 1879225 (CVE-2020-8927) - CVE-2020-8927 brotli: buffer overflow when input chunk is larger than 2GiB
Summary: CVE-2020-8927 brotli: buffer overflow when input chunk is larger than 2GiB
Keywords:
Status: NEW
Alias: CVE-2020-8927
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1879226 1879227 1879228 1879230 1881156
Blocks: 1879229
TreeView+ depends on / blocked
 
Reported: 2020-09-15 17:54 UTC by Guilherme de Almeida Suckevicz
Modified: 2020-09-23 19:18 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2020-09-15 17:54:33 UTC
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.

Reference:
https://github.com/google/brotli/releases/tag/v1.0.9

Comment 1 Guilherme de Almeida Suckevicz 2020-09-15 17:55:13 UTC
Created brotli tracking bugs for this issue:

Affects: epel-7 [bug 1879230]
Affects: fedora-all [bug 1879226]


Created golang-github-andybalholm-brotli tracking bugs for this issue:

Affects: fedora-all [bug 1879228]


Created mingw-brotli tracking bugs for this issue:

Affects: fedora-all [bug 1879227]

Comment 4 Todd Cullum 2020-09-21 16:25:45 UTC
Mitigation:

This flaw can be mitigated by using the Streaming API instead of the One-Shot API and imposing chunk size limitations.


Note You need to log in before you can comment on or make changes to this bug.