Buffer Overflow The advisory has been revoked - it doesn't affect any version of package google/brotli  (opens in a new tab)


Threat Intelligence

EPSS
3.22% (87th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-GOOGLEBROTLI-2333602
  • published12 Jan 2022
  • disclosed15 Sept 2020
  • creditUnknown

Introduced: 15 Sep 2020

CVE-2020-8927  (opens in a new tab)
CWE-120  (opens in a new tab)

Amendment

This was deemed not a vulnerability.

Overview

Affected versions of this package are vulnerable to Buffer Overflow. 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.

Note:

This advisory is a duplicate of SNYK-PYTHON-BROTLI-1925013.

References