CVE-2025-1390
Fixed in a distro release EPSS <1%CVSS 6.1
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.
Products: OpenAnolis Anolis OS, Siemens RUGGEDCOM RST2428P, Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family, Siemens SCALANCE XCH328, Siemens SCALANCE XCM324, Siemens SCALANCE XCM328, Siemens SCALANCE XCM332, Siemens SCALANCE XRH334 (24 V DC, 8xFO, CC), Siemens SCALANCE XRM334 (230 V AC, 12xFO), Siemens SCALANCE XRM334 (230 V AC, 8xFO), Siemens SCALANCE XRM334 (230V AC, 2x10G, 24xSFP, 8xSFP+), Siemens SCALANCE XRM334 (24 V DC, 12xFO), Siemens SCALANCE XRM334 (24 V DC, 8xFO), Siemens SCALANCE XRM334 (24V DC, 2x10G, 24xSFP, 8xSFP+), Siemens SCALANCE XRM334 (2x230 V AC, 12xFO), Siemens SCALANCE XRM334 (2x230 V AC, 8xFO), Siemens SCALANCE XRM334 (2x230V AC, 2x10G, 24xSFP, 8xSFP+), Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP, Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP, Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Debian 11 | libcap2 | 1:2.44-1+deb11u1 |
| Debian 12 | libcap2 | 1:2.66-4+deb12u1 |
| Debian 13 | libcap2 | 1:2.73-4 |
| Debian 14 | libcap2 | 1:2.73-4 |
| Ubuntu 20.04 LTS | libcap2 | 1:2.32-1ubuntu0.2 |
| Ubuntu 22.04 LTS | libcap2 | 1:2.44-1ubuntu0.22.04.2 |
| Ubuntu 24.04 LTS | libcap2 | 1:2.66-5ubuntu2.2 |
| Ubuntu Pro 14.04 LTS | libcap2 | no fix |
| Ubuntu Pro 16.04 LTS | libcap2 | no fix |
| Ubuntu Pro 18.04 LTS | libcap2 | no fix |