Synopsis
The remote Debian host is missing one or more security-related updates.
Description
The remote Debian 11 host has packages installed that are affected by multiple vulnerabilities as referenced in the dla-4092 advisory.
- ------------------------------------------------------------------------- Debian LTS Advisory DLA-4092-1 [email protected] https://www.debian.org/lts/security/ Chris Lamb March 26, 2025 https://wiki.debian.org/LTS
- -------------------------------------------------------------------------
Package : libcap2 Version : 1:2.44-1+deb11u1 CVE IDs : CVE-2023-2602 CVE-2023-2603 CVE-2025-1390 Debian Bugs : 1036114 1098318
It was discovered that there were three issues in libcap2, a library for managing kernel capabilities; that is, partitioning the powerful single root privilege into a set of distinct privileges, typically used to limit any damage if a process running as the root user is exploited. The three issues are as follows:
* CVE-2023-2602: A vulnerability was found in the pthread_create() function. This issue could have allowed a malicious actor in order to exhaust the system's memory.
* CVE-2023-2603: An issue was found in the _libcap_strdup function which could have led to an integer overflow if the input string was close to 4GiB.
* CVE-2025-1390: The pam_cap.so PAM module supports group names starting with @ but during parsing, configurations not starting with @ were incorrectly recognised as group names. This user-group confusion may have resulted in unintended users being granted an inherited capability set, potentially leading to security risks. Attackers could have exploited this vulnerability to achieve local privilege escalation on systems where capability.conf was used to configure user inherited privileges by constructing specific usernames.
For Debian 11 bullseye, these problems have been fixed in version 1:2.44-1+deb11u1.
We recommend that you upgrade your libcap2 packages.
For the detailed security status of libcap2 please refer to its security tracker page at:
https://security-tracker.debian.org/tracker/libcap2
Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: https://wiki.debian.org/LTS
Tenable has extracted the preceding description block directly from the Debian security advisory.
Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.
Solution
Upgrade the libcap-dev packages.
Plugin Details
File Name: debian_DLA-4092.nasl
Agent: unix
Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Continuous Assessment, Nessus
Risk Information
Vector: CVSS2#AV:L/AC:L/Au:S/C:C/I:C/A:C
Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C
Threat Vector: CVSS:4.0/E:P
Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Vulnerability Information
CPE: cpe:/o:debian:debian_linux:11.0, p-cpe:/a:debian:debian_linux:libcap2-udeb, p-cpe:/a:debian:debian_linux:libcap-dev, p-cpe:/a:debian:debian_linux:libcap2-bin, p-cpe:/a:debian:debian_linux:libpam-cap, p-cpe:/a:debian:debian_linux:libcap2
Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l
Exploit Ease: Exploits are available
Patch Publication Date: 3/26/2025
Vulnerability Publication Date: 6/6/2023