Buffer Overflow Affecting aspnetcore-targeting-pack-5.0 package, versions <0:5.0.15-1.el8_5


Severity

Recommended
high

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.99% (84th 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-ASPNETCORETARGETINGPACK50-5641601
  • published28 May 2023
  • disclosed18 May 2021

Introduced: 18 May 2021

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

How to fix?

Upgrade AlmaLinux:8 aspnetcore-targeting-pack-5.0 to version 0:5.0.15-1.el8_5 or higher.
This issue was patched in ALSA-2022:0830.

NVD Description

Note: Versions mentioned in the description apply only to the upstream aspnetcore-targeting-pack-5.0 package and not the aspnetcore-targeting-pack-5.0 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 Scores

version 3.1