Memory Leak Affecting libcap package, versions <0:2.54-1.amzn2.0.2
Snyk CVSS
Attack Complexity
Low
Threat Intelligence
EPSS
0.05% (21st
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 ID SNYK-AMZN2-LIBCAP-5789427
- published 20 Jul 2023
- disclosed 6 Jun 2023
Introduced: 6 Jun 2023
CVE-2023-2602 Open this link in a new tabHow 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.
References
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-2602
- https://bugzilla.redhat.com/show_bug.cgi?id=2209114
- https://www.x41-dsec.de/static/reports/X41-libcap-Code-Review-2023-OSTIF-Final-Report.pdf
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IPEGCFMCN5KGCFX5Y2VTKR732TTD4ADW/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EZ57ICDLMVYEREXQGZWL4GWI7FRJCRQT/