NULL Pointer Dereference Affecting libcrypt-nss package, versions <0:2.26-57.amzn2


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
3.05% (86th 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-LIBCRYPTNSS-6098762
  • published5 Dec 2023
  • disclosed12 Aug 2021

Introduced: 12 Aug 2021

CVE-2021-38604  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 libcrypt-nss 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 libcrypt-nss package and not the libcrypt-nss package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

In librt in the GNU C Library (aka glibc) through 2.34, sysdeps/unix/sysv/linux/mq_notify.c mishandles certain NOTIFY_REMOVED data, leading to a NULL pointer dereference. NOTE: this vulnerability was introduced as a side effect of the CVE-2021-33574 fix.

CVSS Base Scores

version 3.1