USN-7287-1: libcap2 vulnerability

Published Feb 24, 2025
·
Updated

Tianjia Zhang discovered the libcap2 PAM module pamcap incorrectly handled parsing group names in the configuration file. This could result in certain users being granted capabilities, contrary to expectations.

Affected Software

8 affected componentsFixes available
All of the following
ubuntu/libpam-cap<1:2.66-5ubuntu3.1
1:2.66-5ubuntu3.1
Ubuntu Ubuntu=24.10
All of the following
ubuntu/libpam-cap<1:2.66-5ubuntu2.2
1:2.66-5ubuntu2.2
Ubuntu Ubuntu=24.04
All of the following
ubuntu/libpam-cap<1:2.44-1ubuntu0.22.04.2
1:2.44-1ubuntu0.22.04.2
Ubuntu Ubuntu=22.04
All of the following
ubuntu/libpam-cap<1:2.32-1ubuntu0.2
1:2.32-1ubuntu0.2
Ubuntu Ubuntu=20.04

Event History

Feb 24, 2025
Advisory Published
via Ubuntu·12:00 AM

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of USN-7287-1?

USN-7287-1 is classified as a medium severity vulnerability due to improper handling of group names in libcap2 PAM module.

2

How do I fix USN-7287-1?

To resolve USN-7287-1, update the libpam-cap package to versions 1:2.66-5ubuntu3.1, 1:2.66-5ubuntu2.2, 1:2.44-1ubuntu0.22.04.2, or 1:2.32-1ubuntu0.2 depending on your Ubuntu version.

3

Who discovered the vulnerability identified as USN-7287-1?

The vulnerability USN-7287-1 was discovered by Tianjia Zhang.

4

What systems are affected by USN-7287-1?

USN-7287-1 affects Ubuntu versions 20.04, 22.04, 24.04, and 24.10 using the libpam-cap package.

5

Why is USN-7287-1 a concern for system administrators?

USN-7287-1 is a concern for system administrators because it could lead to unauthorized users being granted capabilities, potentially compromising system security.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203