CVE-2020-36846
Integer overflow in the bundled Brotli C library
6.5
MEDIUM
CVSS 3.1
EPSS 0.54%
Description
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. If one cannot update the C library, its authors recommend to use the "streaming" API as opposed to the "one-shot" API, and impose chunk size limits.
How to fix CVE-2020-36846
To remediate CVE-2020-36846, upgrade the affected package to a fixed version below.
- —upgrade to 1.0.8 or later
- —upgrade to 5.0.15 or later
- —upgrade to 5.0.15 or later
- —upgrade to 7.0.9 or later
- —no fix listed
- —upgrade to 1.0.9 or later
- —upgrade to 1.0.9 or later
- —no fix listed
- —upgrade to 6.0.3 or later
- —upgrade to 6.0.3 or later
- —upgrade to 6.0.3 or later
- —upgrade to 6.0.3 or later
- —upgrade to 6.0.3 or later
- —upgrade to 6.0.3 or later
- —
Is CVE-2020-36846 being exploited?
Low — EPSS is 0.5%, meaning exploitation activity has not been observed at scale.
Affected packages (126)
- from 0, < 1.0.8
- >= 5.0.0, < 5.0.15
- >= 5.0.0, < 5.0.15
- >= 7.0.0, < 7.0.9, >= 7.1.0, < 7.1.6, >= 7.2.0, < 7.2.2
- >= 0.0.0-0
- from 0, < 1.0.9
- >= 0.0.0-0, < 1.0.9
- from 0
- >= 6.0.0, < 6.0.3
- >= 6.0.0, < 6.0.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L |