ALAS2-2025-3057


Amazon Linux 2 Security Advisory: ALAS2-2025-3057
Advisory Released Date: 2025-11-10
Advisory Updated Date: 2025-11-10
Severity: Medium

Issue Overview:

A flaw was found in linux-pam. The pam_namespace module may improperly handle user-controlled paths, allowing local users to exploit symlink attacks and race conditions to elevate their privileges to root. This CVE provides a "complete" fix for CVE-2025-6020. (CVE-2025-8941)


Affected Packages:

pam


Note:

This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.


Issue Correction:
Run yum update pam or yum update --advisory ALAS2-2025-3057 to update your system.

New Packages:
aarch64:
    pam-1.1.8-23.amzn2.0.5.aarch64
    pam-devel-1.1.8-23.amzn2.0.5.aarch64
    pam-debuginfo-1.1.8-23.amzn2.0.5.aarch64

i686:
    pam-1.1.8-23.amzn2.0.5.i686
    pam-devel-1.1.8-23.amzn2.0.5.i686
    pam-debuginfo-1.1.8-23.amzn2.0.5.i686

src:
    pam-1.1.8-23.amzn2.0.5.src

x86_64:
    pam-1.1.8-23.amzn2.0.5.x86_64
    pam-devel-1.1.8-23.amzn2.0.5.x86_64
    pam-debuginfo-1.1.8-23.amzn2.0.5.x86_64