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


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
1.39% (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 Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2-GLIBCLANGPACKCY-6130863
  • 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-cy 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-cy package and not the glibc-langpack-cy 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