Vulnerability · Published Feb 18, 2025 · Assigned by Anolis
CVE-2025-1390pam_cap: Fix potential configuration parsing error
Medium 6.1
In plain English
A medium-severity improper access control in Anolis OS from OpenAnolis. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 7% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
The PAM module pam_cap.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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libcap2 | 1:2.66-4+deb12u1 | DEBIAN-CVE-2025-1390 |
| Debian:13 | libcap2 | 1:2.73-4 | DEBIAN-CVE-2025-1390 |
| Debian:14 | libcap2 | 1:2.73-4 | DEBIAN-CVE-2025-1390 |
| Ubuntu:22.04:LTS | libcap2 | 1:2.44-1ubuntu0.22.04.2 | USN-7287-1 |
| Ubuntu:22.04:LTS | libcap2 | 1:2.44-1ubuntu0.22.04.2 | UBUNTU-CVE-2025-1390 |
| Ubuntu:24.04:LTS | libcap2 | 1:2.66-5ubuntu2.2 | USN-7287-1 |
| Ubuntu:24.04:LTS | libcap2 | 1:2.66-5ubuntu2.2 | UBUNTU-CVE-2025-1390 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| OpenAnolis | Anolis OS | 2.73;0 |
Weakness: CWE-284 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N