Use After Free Affecting glibc-langpack-hak package, versions <0:2.26-57.amzn2


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.66% (80th 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-AMZN2-GLIBCLANGPACKHAK-6130738
  • published19 Dec 2023
  • disclosed25 May 2021

Introduced: 25 May 2021

CVE-2021-33574  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 glibc-langpack-hak to version 0:2.26-57.amzn2 or higher.
This issue was patched in ALAS2-2023-2371.

NVD Description

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

The mq_notify function in the GNU C Library (aka glibc) versions 2.32 and 2.33 has a use-after-free. It may use the notification thread attributes object (passed through its struct sigevent parameter) after it has been freed by the caller, leading to a denial of service (application crash) or possibly unspecified other impact.

CVSS Scores

version 3.1