CVE-2025-1390: pam_cap: Fix potential configuration parsing error

Published Feb 18, 2025
·
Updated

Last updated 26 February 2025

Other sources

pamcap: Fix potential configuration parsing error

Microsoft

The PAM module pamcap.so of libcap configuration supports group names starting with “@”, during actual parsing, configurations not starting with “@” are incorrectly recognized as group names. This may result in nonintended users being granted an inherited capability set, potentially leading to security risks. Attackers can exploit this vulnerability to achieve local privilege escalation on systems where /etc/security/capability.conf is used to configure user inherited privileges by constructing specific usernames.

NVD

Affected Software

6 affected componentsFixes available
debian/libcap2<=1:2.44-1, <=1:2.66-4, <=1:2.66-5
1:2.73-4
libcap libcap
Microsoft cbl2 libcap 2.60-3
Microsoft azl3 libcap 2.69-4
Microsoft cbl2 libcap 2.60-4
Microsoft azl3 libcap 2.69-2

Remediation

Information

https://git.kernel.org/pub/scm/libs/libcap/libcap.git/commit/?id=1ad42b66c3567481cc5fa22fc1ba1556a31... https://git.kernel.org/pub/scm/libs/libcap/libcap.git/commit/

Event History

Feb 18, 2025
CVE Published
via MITRE·02:34 AM
Data Sourced
via MITRE·02:34 AM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·03:15 AM
DescriptionSeverityWeakness
Feb 27, 2025
Data Sourced
via Microsoft·08:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:00 AM
Affected Software
Updated
via Microsoft·08:00 AM
Affected Software
Updated
via Microsoft·08:00 AM
DescriptionSeverity
Feb 28, 2025
Data Sourced
via Ubuntu·06:57 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-1390?

CVE-2025-1390 has a high severity due to the potential for unauthorized users to gain elevated capabilities.

2

How do I fix CVE-2025-1390?

To fix CVE-2025-1390, ensure that only trusted group names are used in the configuration and consider applying relevant patches from the libcap maintainers.

3

Which versions of libcap are affected by CVE-2025-1390?

CVE-2025-1390 affects versions of libcap that improperly handle group names during configuration parsing.

4

What potential impacts does CVE-2025-1390 have on system security?

CVE-2025-1390 can lead to unauthorized users being granted unintended capabilities, compromising system security.

5

Is there a workaround for CVE-2025-1390?

As a temporary workaround for CVE-2025-1390, avoid using group names that do not start with '@' in the PAM module configurations.

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