Skip to content
OpenAdvisories
High ALAS2-2025-2796 1 CVE

Important: libcap security update (Amazon Linux 2)

Published Mar 13, 2025 · Updated Mar 25, 2025

Summary

Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2025-1390: 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 packages 4

ReleasePackageFixed in
Amazon Linux · 2 libcap 0:2.54-1.amzn2.0.3
Amazon Linux · 2 libcap-debuginfo 0:2.54-1.amzn2.0.3
Amazon Linux · 2 libcap-devel 0:2.54-1.amzn2.0.3
Amazon Linux · 2 libcap-static 0:2.54-1.amzn2.0.3

Vulnerabilities 1

  • Medium 6.1

    pam_cap: Fix potential configuration parsing error

    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 ca…

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2025-1390.html