Out-of-bounds Write Affecting harfbuzz package, versions <0:2.9.1-1.amzn2022.0.2


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.54% (78th 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-AMZN2022-HARFBUZZ-3101496
  • published4 Nov 2022
  • disclosed1 Jan 2022

Introduced: 1 Jan 2022

CVE-2021-45931  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2022 harfbuzz to version 0:2.9.1-1.amzn2022.0.2 or higher.
This issue was patched in ALAS2022-2022-181.

NVD Description

Note: Versions mentioned in the description apply only to the upstream harfbuzz package and not the harfbuzz package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2022 relevant fixed versions and status.

HarfBuzz 2.9.0 has an out-of-bounds write in hb_bit_set_invertible_t::set (called from hb_sparseset_t<hb_bit_set_invertible_t>::set and hb_set_copy).

CVSS Base Scores

version 3.1