libcap
cpe:2.3:a:libcap_project:libcap:*:*:*:*:*:*:*
A local privilege escalation vulnerability has been identified in the PAM module pam_cap.so of libcap, affecting all Linux distributions. The issue arises because the module incorrectly parses group names in the /etc/security/capability.conf file. Group names not starting with '@' are misinterpreted as valid group names, potentially allowing unintended users to inherit capabilities and escalate privileges. This vulnerability can be exploited by crafting specific usernames to manipulate the inherited capability set.
Exploitation of this vulnerability could lead to unauthorized privilege escalation, allowing users to gain elevated rights on the system.
This vulnerability has been fixed in Anolis OS versions 8, 23, and 23.2. Users can refer to the Anolis OS errata ANSA-2025:0096 for details on the update.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.