Use After Free Affecting libcrypt package, versions <0:2.26-57.amzn2


low

Snyk CVSS

    Attack Complexity High
    Availability High

    Threat Intelligence

    EPSS 1.39% (87th percentile)
Expand this section
NVD
9.8 critical
Expand this section
SUSE
5.9 medium
Expand this section
Red Hat
5.9 medium

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 ID SNYK-AMZN2-LIBCRYPT-2349018
  • published 21 Jan 2022
  • disclosed 25 May 2021

How to fix?

Upgrade Amazon-Linux:2 libcrypt to version 0:2.26-57.amzn2 or higher.
This issue was patched in ALAS2-2022-1736.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libcrypt package and not the libcrypt 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.