VDB

CVE-2025-1390

CVE-2025-1390 PUBLISHED CVSS 6.1 MEDIUM

pam_cap: Fix potential configuration parsing error

Reported by anolis · Published February 18, 2025

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
libcapAmazon Linux2.54-1.amzn2.0.3, 2.48-2.amzn2023.0.4
libcap-staticAmazon Linux2.54-1.amzn2.0.3, 2.48-2.amzn2023.0.4
libcap-develAmazon Linux2.54-1.amzn2.0.3, 2.48-2.amzn2023.0.4
SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 familySiemens3.3
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPSiemens3.1.5
SCALANCE XCM332Siemens3.3
SIMATIC S7-1500 CPU 1518-4 PN/DP MFPSiemens3.1.5
SIPLUS S7-1500 CPU 1518-4 PN/DP MFPSiemens3.1.5
SCALANCE XCH328Siemens3.3
SCALANCE XRM334 (230 V AC, 8xFO)Siemens3.3
SCALANCE XCM328Siemens3.3
SCALANCE XRH334 (24 V DC, 8xFO, CC)Siemens3.3

10 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
6.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N

Affected products

VendorProductVersions
OpenAnolisAnolis OS2.73;0
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP3.1.0
SiemensSCALANCE XCM3320
SiemensSCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family0
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP3.1.0
SiemensSCALANCE XRM334 (230 V AC, 8xFO)0
SiemensSCALANCE XCM3280
SiemensSCALANCE XRH334 (24 V DC, 8xFO, CC)0
OpenAnolisAnolis OS2.73
SiemensSCALANCE XRM334 (230 V AC, 12xFO)0
SiemensSCALANCE XRM334 (24V DC, 2x10G, 24xSFP, 8xSFP+)0
SiemensSCALANCE XCM3240
SiemensSCALANCE XRM334 (24 V DC, 12xFO)0
SiemensSCALANCE XRM334 (2x230 V AC, 12xFO)0
SiemensRUGGEDCOM RST2428P0
SiemensSCALANCE XRM334 (24 V DC, 8xFO)0
SiemensSCALANCE XRM334 (2x230 V AC, 8xFO)0
SiemensSCALANCE XCH3280
SiemensSCALANCE XRM334 (2x230V AC, 2x10G, 24xSFP, 8xSFP+)0
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP3.1.0

…and 1 more

Timeline

  • Feb 18, 2025 EPSS Score (30 in total, the first dated here)
  • Feb 18, 2025 CVE Published
  • Feb 18, 2025 PoC Published (6 in total, the first dated here)
  • Mar 2, 2025 Coalition ESS Score (10 in total, the first dated here)
  • Mar 17, 2026 Security Advisory (3 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-1390
vulnetix vdb fixes CVE-2025-1390

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-1390/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›