Red Hat Enterprise Linux 7 Extended Lifecycle Support
Linux-pam: incomplete fix for cve-2025-6020
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Fixed in 0:1.1.8-23.el7_9.2
Fixed in 0:1.3.1-38.el8_10
Fixed in 0:1.3.1-8.el8_2.2
Fixed in 0:1.3.1-14.el8_4.2
Fixed in 0:1.3.1-14.el8_4.2
Fixed in 0:1.3.1-16.el8_6.3
Fixed in 0:1.3.1-16.el8_6.3
Fixed in 0:1.3.1-16.el8_6.3
Fixed in 0:1.3.1-26.el8_8.2
Fixed in 0:1.3.1-26.el8_8.2
Fixed in 0:1.5.1-26.el9_6
Fixed in 0:1.5.1-26.el9_6
Fixed in 0:1.5.1-9.el9_0.3
Fixed in 0:1.5.1-15.el9_2.2
Fixed in 0:1.5.1-24.el9_4.1
Fixed in 1.11-19
Fixed in 1.11-8
Fixed in 1.12-4
Fixed in sha256:330e8b5ab4841a21f8f5f23cc7fb192197872f11639b12bf4b1e70831f636323
Fixed in sha256:c953e9f9abf9cf25bf65bb3ffdc86ccf49b3e69a1cf3fbb47b6972e421fd6628
Fixed in sha256:c85cfbcaf7888885e57596b7b8bde3894718cfc33326499b24961a66a62cf083
Fixed in sha256:4ca38b33efec0d2dd17a8fd822a7c18281810676ceabb0c1db90953cb91cd5ea
Fixed in sha256:24722900db1425bf0c27f6ad6f3fb7d79ff9ebc433bdab58423fa71bab76122b
Fixed in sha256:f5e1602d72177d77f1b879c76e6f6cfbc2979c136c06ca9f03ea97ffb369b7a6
Fixed in sha256:cead623ceda4048cabaa81c371ed2a8143f5c5514276fca1d71685bd9e6d1e65
Fixed in sha256:59fb1f7f1653361d94f7d48b42d8fe19ed3263c1c78654837c11f2135544c1ac
Mitigation
Upgrade Red Hat Enterprise Linux 7 Extended Lifecycle Support to 0:1.1.8-23.el7_9.2 or later.
Upgrade Red Hat Enterprise Linux 8 to 0:1.3.1-38.el8_10 or later.
Upgrade Red Hat Enterprise Linux 8.2 Advanced Update Support to 0:1.3.1-8.el8_2.2 or later.
Upgrade Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support to 0:1.3.1-14.el8_4.2 or later.
Upgrade Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On to 0:1.3.1-14.el8_4.2 or later.
Upgrade Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support to 0:1.3.1-16.el8_6.3 or later.
Upgrade Red Hat Enterprise Linux 8.6 Telecommunications Update Service to 0:1.3.1-16.el8_6.3 or later.
Upgrade Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions to 0:1.3.1-16.el8_6.3 or later.
Upgrade Red Hat Enterprise Linux 8.8 Telecommunications Update Service to 0:1.3.1-26.el8_8.2 or later.
Upgrade Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions to 0:1.3.1-26.el8_8.2 or later.
Upgrade Red Hat Enterprise Linux 9 to 0:1.5.1-26.el9_6 or later.
Upgrade Red Hat Enterprise Linux 9 to 0:1.5.1-26.el9_6 or later.
Upgrade Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions to 0:1.5.1-9.el9_0.3 or later.
Upgrade Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions to 0:1.5.1-15.el9_2.2 or later.
Upgrade Red Hat Enterprise Linux 9.4 Extended Update Support to 0:1.5.1-24.el9_4.1 or later.
Upgrade Red Hat Web Terminal 1.11 on RHEL 9 to 1.11-19 or later.
Upgrade Red Hat Web Terminal 1.11 on RHEL 9 to 1.11-8 or later.
Upgrade Red Hat Web Terminal 1.12 on RHEL 9 to 1.12-4 or later.
Upgrade cert-manager operator for Red Hat OpenShift 1.16 to sha256:330e8b5ab4841a21f8f5f23cc7fb192197872f11639b12bf4b1e70831f636323 or later.
Upgrade Compliance Operator 1 to sha256:c953e9f9abf9cf25bf65bb3ffdc86ccf49b3e69a1cf3fbb47b6972e421fd6628 or later.
Upgrade Red Hat Discovery 2 to sha256:c85cfbcaf7888885e57596b7b8bde3894718cfc33326499b24961a66a62cf083 or later.
Upgrade Red Hat Insights proxy 1.5 to sha256:4ca38b33efec0d2dd17a8fd822a7c18281810676ceabb0c1db90953cb91cd5ea or later.
Upgrade Red Hat OpenShift sandboxed containers 1.1 to sha256:24722900db1425bf0c27f6ad6f3fb7d79ff9ebc433bdab58423fa71bab76122b or later.
Upgrade Red Hat OpenShift sandboxed containers 1.1 to sha256:f5e1602d72177d77f1b879c76e6f6cfbc2979c136c06ca9f03ea97ffb369b7a6 or later.
Upgrade Red Hat OpenShift sandboxed containers 1.1 to sha256:cead623ceda4048cabaa81c371ed2a8143f5c5514276fca1d71685bd9e6d1e65 or later.
Upgrade Red Hat OpenShift sandboxed containers 1.1 to sha256:59fb1f7f1653361d94f7d48b42d8fe19ed3263c1c78654837c11f2135544c1ac or later.
Workaround
Disable the `pam_namespace` module if it is not essential for your environment, or carefully review and configure it to avoid operating on any directories or paths that can be influenced or controlled by unprivileged users, such as user home directories or world-writable locations like `/tmp`.
References
- Vendor advisory access.redhat.com/errata/RHSA-2025:14557
- Vendor advisory access.redhat.com/errata/RHSA-2025:15099
- Vendor advisory access.redhat.com/errata/RHSA-2025:15100
5 more
- Vendor advisory access.redhat.com/errata/RHSA-2025:15101
- Vendor advisory access.redhat.com/errata/RHSA-2025:15102
- Vendor advisory access.redhat.com/errata/RHSA-2025:15103
- Vendor advisory access.redhat.com/errata/RHSA-2025:15104
- Vendor advisory access.redhat.com/errata/RHSA-2025:15105
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.