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


Severity

Recommended
low

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-GLIBCLANGPACKRAJ-2349083
  • published21 Jan 2022
  • 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-raj 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 glibc-langpack-raj package and not the glibc-langpack-raj 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