USN-7287-1: libcap2 vulnerability

Publication date

24 February 2025

Overview

libcap2 would allow unintended capabilities.


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.

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

After a standard system update you need to reboot your computer to make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
24.10 oracular libpam-cap –  1:2.66-5ubuntu3.1
24.04 noble libpam-cap –  1:2.66-5ubuntu2.2
22.04 jammy libpam-cap –  1:2.44-1ubuntu0.22.04.2
20.04 focal libpam-cap –  1:2.32-1ubuntu0.2

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›