CVE-2025-6020 Linux-pam: linux-pam directory traversal
A flaw was found in linux-pam. The module pam_namespace may use access user-controlled paths without proper protection, allowing local users to elevate their privileges to root via multiple symlink attacks and race conditions.
Problem types: cwe_id: CWE-22
description: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected products: default_status: unaffected
vendor: Red Hat
product: Red Hat Enterprise Linux 10
cpes: cpe:/o:redhat:enterprise_linux:10.1
default_status: affected
vendor: Red Hat
product: Red Hat Enterprise Linux 10.0 Extended Update Support
cpes: cpe:/o:redhat:enterprise_linux_eus:10.0
default_status: affected
vendor: Red Hat
product: Red Hat Enterprise Linux 7 Extended Lifecycle Support
cpes: cpe:/o:redhat:rhel_els:7
default_status: affected
vendor: Red Hat
product: Red Hat Enterprise Linux 8
cpes: cpe:/o:redhat:enterprise_linux:8::baseos
default_status: affected
vendor: Red Hat
product: Red Hat Enterprise Linux 8
cpes: cpe:/o:redhat:enterprise_linux:8::baseos
default_status: affected
vendor: Red Hat
product: Red Hat Enterprise Linux 8.2 Advanced Update Support
cpes: cpe:/o:redhat:rhel_aus:8.2::baseos
default_status: affected
vendor: Red Hat
product: Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
cpes: cpe:/o:redhat:rhel_aus:8.4::baseos
default_status: affected
vendor: Red Hat
product: Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
cpes: cpe:/o:redhat:rhel_aus:8.6::baseos
cpe:/o:redhat:rhel_e4s:8.6::baseos
cpe:/o:redhat:rhel_tus:8.6::baseos
default_status: affected
vendor: Red Hat
product: Red Hat Enterprise Linux 8.6 Telecommunications Update Service
cpes: cpe:/o:redhat:rhel_aus:8.6::baseos
cpe:/o:redhat:rhel_e4s:8.6::baseos
cpe:/o:redhat:rhel_tus:8.6::baseos
default_status: affected
vendor: Red Hat
product: Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
cpes: cpe:/o:redhat:rhel_aus:8.6::baseos
cpe:/o:redhat:rhel_e4s:8.6::baseos
cpe:/o:redhat:rhel_tus:8.6::baseos
default_status: affected
vendor: Red Hat
product: Red Hat Enterprise Linux 8.8 Telecommunications Update Service
cpes: cpe:/o:redhat:rhel_e4s:8.8::baseos
cpe:/o:redhat:rhel_tus:8.8::baseos
default_status: affected
vendor: Red Hat
product: Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
cpes: cpe:/o:redhat:rhel_e4s:8.8::baseos
cpe:/o:redhat:rhel_tus:8.8::baseos
default_status: affected
vendor: Red Hat
product: Red Hat Enterprise Linux 9
cpes: cpe:/a:redhat:enterprise_linux:9::appstream
cpe:/o:redhat:enterprise_linux:9::baseos
default_status: affected
vendor: Red Hat
product: Red Hat Enterprise Linux 9
cpes: cpe:/a:redhat:enterprise_linux:9::appstream
cpe:/o:redhat:enterprise_linux:9::baseos
default_status: affected
vendor: Red Hat
product: Red Hat Enterprise Linux 9
cpes: cpe:/a:redhat:enterprise_linux:9::appstream
cpe:/o:redhat:enterprise_linux:9::baseos
default_status: affected
vendor: Red Hat
product: Red Hat Enterprise Linux 9
cpes: cpe:/a:redhat:enterprise_linux:9::appstream
cpe:/o:redhat:enterprise_linux:9::baseos
default_status: affected
vendor: Red Hat
product: Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions
cpes: cpe:/a:redhat:rhel_e4s:9.0::appstream
cpe:/o:redhat:rhel_e4s:9.0::baseos
default_status: affected
vendor: Red Hat
product: Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
cpes: cpe:/a:redhat:rhel_e4s:9.2::appstream
cpe:/o:redhat:rhel_e4s:9.2::baseos
default_status: affected
vendor: Red Hat
product: Red Hat Enterprise Linux 9.4 Extended Update Support
cpes: cpe:/a:redhat:rhel_eus:9.4::appstream
cpe:/o:redhat:rhel_eus:9.4::baseos
default_status: affected
vendor: Red Hat
product: Red Hat Web Terminal 1.11 on RHEL 9
cpes: cpe:/a:redhat:webterminal:1.11::el9
default_status: affected
vendor: Red Hat
product: Red Hat Web Terminal 1.11 on RHEL 9
cpes: cpe:/a:redhat:webterminal:1.11::el9
default_status: affected
vendor: Red Hat
product: Red Hat Web Terminal 1.12 on RHEL 9
cpes: cpe:/a:redhat:webterminal:1.12::el9
default_status: affected
vendor: Red Hat
product: RHEL-8 based Middleware Containers
cpes: cpe:/a:redhat:rhosemc:1.0::el8
default_status: affected
vendor: Red Hat
product: RHEL-8 based Middleware Containers
cpes: cpe:/a:redhat:rhosemc:1.0::el8
default_status: affected
vendor: Red Hat
product: RHEL-8 based Middleware Containers
cpes: cpe:/a:redhat:rhosemc:1.0::el8
default_status: affected
vendor: Red Hat
product: RHEL-8 based Middleware Containers
cpes: cpe:/a:redhat:rhosemc:1.0::el8
default_status: affected
vendor: Red Hat
product: RHEL-8 based Middleware Containers
cpes: cpe:/a:redhat:rhosemc:1.0::el8
default_status: affected
vendor: Red Hat
product: RHEL-8 based Middleware Containers
cpes: cpe:/a:redhat:rhosemc:1.0::el8
default_status: affected
vendor: Red Hat
product: RHEL-8 based Middleware Containers
cpes: cpe:/a:redhat:rhosemc:1.0::el8
default_status: affected
vendor: Red Hat
product: RHEL-8 based Middleware Containers
cpes: cpe:/a:redhat:rhosemc:1.0::el8
default_status: affected
vendor: Red Hat
product: RHEL-8 based Middleware Containers
cpes: cpe:/a:redhat:rhosemc:1.0::el8
default_status: affected
vendor: Red Hat
product: RHOSS-1.36-RHEL-8
cpes: cpe:/a:redhat:openshift_serverless:1.36::el8
default_status: affected
vendor: Red Hat
product: RHOSS-1.36-RHEL-8
cpes: cpe:/a:redhat:openshift_serverless:1.36::el8
default_status: affected
vendor: Red Hat
product: RHOSS-1.36-RHEL-8
cpes: cpe:/a:redhat:openshift_serverless:1.36::el8
default_status: affected
vendor: Red Hat
product: RHOSS-1.36-RHEL-8
cpes: cpe:/a:redhat:openshift_serverless:1.36::el8
default_status: affected
vendor: Red Hat
product: RHOSS-1.36-RHEL-8
cpes: cpe:/a:redhat:openshift_serverless:1.36::el8
default_status: affected
vendor: Red Hat
product: RHOSS-1.36-RHEL-8
cpes: cpe:/a:redhat:openshift_serverless:1.36::el8
default_status: affected
vendor: Red Hat
product: RHOSS-1.36-RHEL-8
cpes: cpe:/a:redhat:openshift_serverless:1.36::el8
default_status: affected
vendor: Red Hat
product: RHOSS-1.36-RHEL-8
cpes: cpe:/a:redhat:openshift_serverless:1.36::el8
default_status: affected
vendor: Red Hat
product: RHOSS-1.36-RHEL-8
cpes: cpe:/a:redhat:openshift_serverless:1.36::el8
default_status: affected
vendor: Red Hat
product: RHOSS-1.36-RHEL-8
cpes: cpe:/a:redhat:openshift_serverless:1.36::el8
default_status: affected
vendor: Red Hat
product: RHOSS-1.36-RHEL-8
cpes: cpe:/a:redhat:openshift_serverless:1.36::el8
default_status: affected
vendor: Red Hat
product: cert-manager operator for Red Hat OpenShift 1.16
cpes: cpe:/a:redhat:cert_manager:1.16::el9
default_status: affected
vendor: Red Hat
product: OpenShift Compliance Operator 1
cpes: cpe:/a:redhat:openshift_compliance_operator:1::el9
default_status: affected
vendor: Red Hat
product: Red Hat Discovery 2
cpes: cpe:/a:redhat:discovery:2::el9
default_status: affected
vendor: Red Hat
product: Red Hat Discovery 2
cpes: cpe:/a:redhat:discovery:2::el9
default_status: affected
vendor: Red Hat
product: Red Hat Insights proxy 1.5
cpes: cpe:/a:redhat:insights_proxy:1.5::el9
default_status: affected
vendor: Red Hat
product: Red Hat OpenShift distributed tracing 3.6.0
cpes: cpe:/a:redhat:openshift_distributed_tracing:3.6::el8
default_status: affected
vendor: Red Hat
product: Red Hat OpenShift distributed tracing 3.6.0
cpes: cpe:/a:redhat:openshift_distributed_tracing:3.6::el8
default_status: affected
vendor: Red Hat
product: Red Hat OpenShift distributed tracing 3.6.0
cpes: cpe:/a:redhat:openshift_distributed_tracing:3.6::el8
default_status: affected
vendor: Red Hat
product: Red Hat OpenShift distributed tracing 3.6.0
cpes: cpe:/a:redhat:openshift_distributed_tracing:3.6::el8
default_status: affected
vendor: Red Hat
product: Red Hat OpenShift distributed tracing 3.6.0
cpes: cpe:/a:redhat:openshift_distributed_tracing:3.6::el8
default_status: affected
vendor: Red Hat
product: Red Hat OpenShift distributed tracing 3.6.0
cpes: cpe:/a:redhat:openshift_distributed_tracing:3.6::el8
default_status: affected
vendor: Red Hat
product: Red Hat OpenShift distributed tracing 3.6.0
cpes: cpe:/a:redhat:openshift_distributed_tracing:3.6::el8
default_status: affected
vendor: Red Hat
product: Red Hat OpenShift distributed tracing 3.6.0
cpes: cpe:/a:redhat:openshift_distributed_tracing:3.6::el8
default_status: affected
vendor: Red Hat
product: Red Hat OpenShift distributed tracing 3.6.0
cpes: cpe:/a:redhat:openshift_distributed_tracing:3.6::el8
default_status: affected
vendor: Red Hat
product: Red Hat OpenShift sandboxed containers 1.1
cpes: cpe:/a:redhat:confidential_compute_attestation:1.10::el9
default_status: affected
vendor: Red Hat
product: Red Hat OpenShift sandboxed containers 1.1
cpes: cpe:/a:redhat:confidential_compute_attestation:1.10::el9
default_status: affected
vendor: Red Hat
product: Red Hat OpenShift sandboxed containers 1.1
cpes: cpe:/a:redhat:confidential_compute_attestation:1.10::el9
default_status: affected
vendor: Red Hat
product: Red Hat OpenShift sandboxed containers 1.1
cpes: cpe:/a:redhat:confidential_compute_attestation:1.10::el9
default_status: affected
CVSS v3.1: attackComplexity: LOW
attackVector: LOCAL
availabilityImpact: HIGH
baseScore: 7.8
baseSeverity: HIGH
confidentialityImpact: HIGH
integrityImpact: HIGH
privilegesRequired: LOW
scope: UNCHANGED
userInteraction: NONE
vectorString: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
version: 3.1
Credits: lang: en
value: Red Hat would like to thank Olivier BAL-PETRE (ANSSI - French Cybersecurity Agency) for reporting this issue.
Published: 2025-06-17T12:44:08.646Z