Memory leak in libcap
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- Partial Red Hat: 4 fixed, 2 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-401.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | libcap | NA | — | No fix listed | CNA |
- libcap Vendor— Affected NA Fixed in — No fix listed CNA
CPE configurations NVD · 10
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:libcap_project:libcap:2.66:*:*:*:*:*:*:* | 2.66 | Vulnerable | Libcap Project |
| cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:* | 6.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Red Hat |
| cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* | 10.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* | 11.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:12.0:*:*:*:*:*:*:* | 12.0 | Vulnerable | Debian |
| cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* | 37 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* | 38 | Vulnerable | Fedoraproject |
- cpe:2.3:a:libcap_project:libcap:2.66:*:*:*:*:*:*:* Versions 2.66 Vulnerable ·Libcap Project
- cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:* Versions 6.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Red Hat
- cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Versions 10.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* Versions 11.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:12.0:*:*:*:*:*:*:* Versions 12.0 Vulnerable ·Debian
- cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* Versions 37 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* Versions 38 Vulnerable ·Fedoraproject
Remediation
Red Hat 3 advisories
- RHSA-2023:7400 Released 2023-11-21 · Red Hat rating Moderatelibcap security update
- Red Hat Enterprise Linux BaseOS EUS (v.8.6) libcap-2.48-4.el8_6, libcap-devel-2.48-4.el8_6
- RHSA-2023:5071 Released 2023-09-12 · Red Hat rating Moderatelibcap security update
- Red Hat Enterprise Linux AppStream (v. 9) libcap-devel-2.48-9.el9_2
- Red Hat Enterprise Linux BaseOS (v. 9) libcap-2.48-9.el9_2
- RHSA-2023:4524 Released 2023-08-08 · Red Hat rating Moderatelibcap security update
- Red Hat Enterprise Linux BaseOS (v. 8) libcap-2.48-5.el8_8, libcap-devel-2.48-5.el8_8
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
libcap — FEDORA-2023-5911638116
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2023-02433 Integer overflow in libcapPriority LOW 37
- Advisory ·
libcap — FEDORA-2023-ad944c2d34
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2023-02433 Integer overflow in libcapPriority LOW 37
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2023:5071 |
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | RHSA-2023:4524 |
| Red Hat Enterprise Linux BaseOS (v. 9) | Fixed | RHSA-2023:5071 |
| Red Hat Enterprise Linux BaseOS EUS (v.8.6) | Fixed | RHSA-2023:7400 |
Timeline
- 2026-10-02 Threatist record created from CVE-2023-2602
- 2026-10-03 Alias added: GHSA-7wq6-hwpj-wcq2
References
Sources
- CVE-2023-2602 · CVE Program
- CVE-2023-2602 · NVD
- FIRST EPSS
- GHSA-7wq6-hwpj-wcq2 · GitHub Advisory Database · CC BY 4.0
- CVE-2023-2602 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences