USN-7287-1: libcap2 vulnerability
USN-7287-1: libcap2 vulnerability
24 February 2025
libcap2 would allow unintended capabilities.
Releases
Ubuntu 24.10 Ubuntu 24.04 LTS Ubuntu 22.04 LTS Ubuntu 20.04 LTS
Packages
libcap2 - POSIX 1003.1e capabilities (library)
Details
Tianjia Zhang discovered the libcap2 PAM module pam_cap incorrectly
handled parsing group names in the configuration file. This could result in
certain users being granted capabilities, contrary to expectations.
Update instructions
The problem can be corrected by updating your system to the following package versions:
Ubuntu 24.10
- libpam-cap - 1:2.66-5ubuntu3.1
Ubuntu 24.04 - libpam-cap - 1:2.66-5ubuntu2.2
Ubuntu 22.04 - libpam-cap - 1:2.44-1ubuntu0.22.04.2
Ubuntu 20.04 - libpam-cap - 1:2.32-1ubuntu0.2
After a standard system update you need to reboot your computer to make all
the necessary changes.