Buffer Overflow Affecting brotli package, versions <0:1.0.6-3.el8


Severity

Recommended
0.0
medium
0
10

Based on AlmaLinux security rating.

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-ALMALINUX8-BROTLI-5634962
  • published28 May 2023
  • disclosed10 Mar 2022

Introduced: 10 Mar 2022

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

How to fix?

Upgrade AlmaLinux:8 brotli to version 0:1.0.6-3.el8 or higher.
This issue was patched in ALSA-2021:1702.

NVD Description

Note: Versions mentioned in the description apply only to the upstream brotli package and not the brotli package as distributed by AlmaLinux. See How to fix? for AlmaLinux:8 relevant fixed versions and status.

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.

References

CVSS Base Scores

version 3.1