CVE-2025-1390

Public on 2025-02-18
Modified on 2025-03-13
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.
Severity
Important severity
Important
CVSS v3 Base Score
7.8
See breakdown

Affected Packages

Platform Package Release Date Advisory Status
HAQM Linux 1 compat-libcap1 Not Affected
HAQM Linux 2 - Core compat-libcap1 Not Affected
HAQM Linux 1 libcap Not Affected
HAQM Linux 2 - Core libcap 2025-03-13 ALAS2-2025-2796 Fixed
HAQM Linux 2023 libcap 2025-03-13 ALAS2023-2025-897 Fixed
HAQM Linux 1 libcap-ng Not Affected
HAQM Linux 2 - Core libcap-ng Not Affected
HAQM Linux 2023 libcap-ng Not Affected

CVSS Scores

Score Type Score Vector
HAQM Linux CVSSv3 7.8 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
NVD CVSSv3 6.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N