Memory Leak Affecting libcap package, versions <0:2.54-1.amzn2.0.2


Severity

Recommended
0.0
low
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.34% (30th 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-LIBCAP-5789427
  • published20 Jul 2023
  • disclosed6 Jun 2023

Introduced: 6 Jun 2023

CVE-2023-2602  (opens in a new tab)
CWE-401  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 libcap to version 0:2.54-1.amzn2.0.2 or higher.
This issue was patched in ALAS2-2023-2136.

NVD Description

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

A vulnerability was found in the pthread_create() function in libcap. This issue may allow a malicious actor to use cause __real_pthread_create() to return an error, which can exhaust the process memory.

CVSS Base Scores

version 3.1