{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2025-6020 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2025-6020 is a high-severity path traversal vulnerability in Red Hat Compliance Operator 1, published on 17 Jun 2025. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-6020 and fix it if it is affected.\n\nWhat it is: CVE-2025-6020 is a high-severity path traversal vulnerability in Red Hat Compliance Operator 1, published on 17 Jun 2025. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-6020 in the wild and no public exploit code.\n\nAffected product: Red Hat Compliance Operator 1. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-6020/ (Markdown: https://insights.sbomify.com/CVE-2025-6020/index.md)","id":"CVE-2025-6020","markdown":"https://insights.sbomify.com/CVE-2025-6020/index.md","name":"CVE-2025-6020","record":{"aliases":["ALSA-2025:10027","ALSA-2025:20181","ALSA-2025:9526","AZL-64113","AZL-64142","CLSA-2025-1752089633","CLSA-2025-1753206847","CLSA-2025-1753206853","CLSA-2025-1753207513","CLSA-2025-1757531273","CLSA-2025-1757532130","CLSA-2025-1757574151","CLSA-2025-1759864577","CLSA-2025-1759864776","CLSA-2025-1766137116","DEBIAN-CVE-2025-6020","ECHO-5cf6-3556-3b34","GHSA-f9p8-gjr4-j9gx","OESA-2025-1743","OESA-2025-1744","OESA-2025-1745","OESA-2025-1746","OESA-2025-1830","OESA-2025-1831","RHSA-2025:10024","RHSA-2025:10027","RHSA-2025:10180","RHSA-2025:10354","RHSA-2025:10357","RHSA-2025:10358","RHSA-2025:10359","RHSA-2025:10361","RHSA-2025:10362","RHSA-2025:20181","RHSA-2025:22019","RHSA-2025:9526","RLSA-2025:10027","RLSA-2025:20181","RLSA-2025:9526","SUSE-SU-2025:20427-1","SUSE-SU-2025:20441-1","UBUNTU-CVE-2025-6020","USN-7580-1","openSUSE-SU-2025:15256-1"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Linux PAM module","requires_auth":"low_privilege","summary":"Local attackers can exploit symlink race conditions in the pam_namespace module to elevate privileges to root on affected Linux systems.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[],"cvss":{"score":7.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"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.","ecosystems":["AlmaLinux:10","AlmaLinux:8","AlmaLinux:9","Red Hat:enterprise_linux:10.1","Red Hat:enterprise_linux:8::baseos","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::baseos","Red Hat:enterprise_linux_eus:10.0","Red Hat:rhel_aus:8.2::baseos","Red Hat:rhel_aus:8.4::baseos","Red Hat:rhel_aus:8.6::baseos","Red Hat:rhel_e4s:8.6::baseos","Red Hat:rhel_e4s:8.8::baseos","Red Hat:rhel_e4s:9.0::appstream","Red Hat:rhel_e4s:9.0::baseos","Red Hat:rhel_e4s:9.2::appstream","Red Hat:rhel_e4s:9.2::baseos","Red Hat:rhel_els:7","Red Hat:rhel_eus:9.4::appstream","Red Hat:rhel_eus:9.4::baseos","Red Hat:rhel_tus:8.6::baseos","Red Hat:rhel_tus:8.8::baseos","Rocky Linux:10","Rocky Linux:8","Rocky Linux:9","SUSE:Linux Micro 6.0","SUSE:Linux Micro 6.1","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Linux-pam: linux-pam directory traversal","id":"CVE-2025-6020","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2025"},"n_packages":89,"n_references":29,"next":{"headline":"Libxml2: integer overflow in xmlbuildqname() leads to stack buffer overflow in libxml2","id":"CVE-2025-6021"},"packages":[{"ecosystem":"AlmaLinux:10","fixed":["1.6.1-8.el10"],"introduced":["0"],"last_affected":[],"package":"pam","purl":"pkg:rpm/almalinux/pam","source":"ALSA-2025:20181"},{"ecosystem":"AlmaLinux:10","fixed":["1.6.1-8.el10"],"introduced":["0"],"last_affected":[],"package":"pam-devel","purl":"pkg:rpm/almalinux/pam-devel","source":"ALSA-2025:20181"},{"ecosystem":"AlmaLinux:10","fixed":["1.6.1-8.el10"],"introduced":["0"],"last_affected":[],"package":"pam-libs","purl":"pkg:rpm/almalinux/pam-libs","source":"ALSA-2025:20181"},{"ecosystem":"AlmaLinux:8","fixed":["1.3.1-37.el8_10"],"introduced":["0"],"last_affected":[],"package":"pam","purl":"pkg:rpm/almalinux/pam","source":"ALSA-2025:10027"},{"ecosystem":"AlmaLinux:8","fixed":["1.3.1-37.el8_10"],"introduced":["0"],"last_affected":[],"package":"pam-devel","purl":"pkg:rpm/almalinux/pam-devel","source":"ALSA-2025:10027"},{"ecosystem":"AlmaLinux:9","fixed":["1.5.1-25.el9_6"],"introduced":["0"],"last_affected":[],"package":"pam","purl":"pkg:rpm/almalinux/pam","source":"ALSA-2025:9526"},{"ecosystem":"AlmaLinux:9","fixed":["1.5.1-25.el9_6"],"introduced":["0"],"last_affected":[],"package":"pam-devel","purl":"pkg:rpm/almalinux/pam-devel","source":"ALSA-2025:9526"},{"ecosystem":"AlmaLinux:9","fixed":["1.5.1-25.el9_6"],"introduced":["0"],"last_affected":[],"package":"pam-docs","purl":"pkg:rpm/almalinux/pam-docs","source":"ALSA-2025:9526"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:1.6.1-8.el10"],"introduced":["0"],"last_affected":[],"package":"pam","purl":"pkg:rpm/redhat/pam","source":"RHSA-2025:20181"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:1.6.1-8.el10"],"introduced":["0"],"last_affected":[],"package":"pam-debuginfo","purl":"pkg:rpm/redhat/pam-debuginfo","source":"RHSA-2025:20181"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:1.6.1-8.el10"],"introduced":["0"],"last_affected":[],"package":"pam-debugsource","purl":"pkg:rpm/redhat/pam-debugsource","source":"RHSA-2025:20181"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:1.6.1-8.el10"],"introduced":["0"],"last_affected":[],"package":"pam-devel","purl":"pkg:rpm/redhat/pam-devel","source":"RHSA-2025:20181"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:1.6.1-8.el10"],"introduced":["0"],"last_affected":[],"package":"pam-libs","purl":"pkg:rpm/redhat/pam-libs","source":"RHSA-2025:20181"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:1.6.1-8.el10"],"introduced":["0"],"last_affected":[],"package":"pam-libs-debuginfo","purl":"pkg:rpm/redhat/pam-libs-debuginfo","source":"RHSA-2025:20181"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1.3.1-37.el8_10"],"introduced":["0"],"last_affected":[],"package":"pam","purl":"pkg:rpm/redhat/pam","source":"RHSA-2025:10027"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1.3.1-37.el8_10"],"introduced":["0"],"last_affected":[],"package":"pam-debuginfo","purl":"pkg:rpm/redhat/pam-debuginfo","source":"RHSA-2025:10027"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1.3.1-37.el8_10"],"introduced":["0"],"last_affected":[],"package":"pam-debugsource","purl":"pkg:rpm/redhat/pam-debugsource","source":"RHSA-2025:10027"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1.3.1-37.el8_10"],"introduced":["0"],"last_affected":[],"package":"pam-devel","purl":"pkg:rpm/redhat/pam-devel","source":"RHSA-2025:10027"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.5.1-25.el9_6"],"introduced":["0"],"last_affected":[],"package":"pam-debuginfo","purl":"pkg:rpm/redhat/pam-debuginfo","source":"RHSA-2025:9526"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.5.1-25.el9_6"],"introduced":["0"],"last_affected":[],"package":"pam-debugsource","purl":"pkg:rpm/redhat/pam-debugsource","source":"RHSA-2025:9526"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.5.1-25.el9_6"],"introduced":["0"],"last_affected":[],"package":"pam-devel","purl":"pkg:rpm/redhat/pam-devel","source":"RHSA-2025:9526"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.5.1-25.el9_6"],"introduced":["0"],"last_affected":[],"package":"pam-docs","purl":"pkg:rpm/redhat/pam-docs","source":"RHSA-2025:9526"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:1.5.1-25.el9_6"],"introduced":["0"],"last_affected":[],"package":"pam","purl":"pkg:rpm/redhat/pam","source":"RHSA-2025:9526"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:1.5.1-25.el9_6"],"introduced":["0"],"last_affected":[],"package":"pam-debuginfo","purl":"pkg:rpm/redhat/pam-debuginfo","source":"RHSA-2025:9526"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:1.5.1-25.el9_6"],"introduced":["0"],"last_affected":[],"package":"pam-debugsource","purl":"pkg:rpm/redhat/pam-debugsource","source":"RHSA-2025:9526"},{"ecosystem":"Red Hat:enterprise_linux_eus:10.0","fixed":["0:1.6.1-8.el10_0"],"introduced":["0"],"last_affected":[],"package":"pam","purl":"pkg:rpm/redhat/pam","source":"RHSA-2025:22019"},{"ecosystem":"Red Hat:enterprise_linux_eus:10.0","fixed":["0:1.6.1-8.el10_0"],"introduced":["0"],"last_affected":[],"package":"pam-debuginfo","purl":"pkg:rpm/redhat/pam-debuginfo","source":"RHSA-2025:22019"},{"ecosystem":"Red Hat:enterprise_linux_eus:10.0","fixed":["0:1.6.1-8.el10_0"],"introduced":["0"],"last_affected":[],"package":"pam-debugsource","purl":"pkg:rpm/redhat/pam-debugsource","source":"RHSA-2025:22019"},{"ecosystem":"Red Hat:enterprise_linux_eus:10.0","fixed":["0:1.6.1-8.el10_0"],"introduced":["0"],"last_affected":[],"package":"pam-devel","purl":"pkg:rpm/redhat/pam-devel","source":"RHSA-2025:22019"},{"ecosystem":"Red Hat:enterprise_linux_eus:10.0","fixed":["0:1.6.1-8.el10_0"],"introduced":["0"],"last_affected":[],"package":"pam-libs","purl":"pkg:rpm/redhat/pam-libs","source":"RHSA-2025:22019"},{"ecosystem":"Red Hat:enterprise_linux_eus:10.0","fixed":["0:1.6.1-8.el10_0"],"introduced":["0"],"last_affected":[],"package":"pam-libs-debuginfo","purl":"pkg:rpm/redhat/pam-libs-debuginfo","source":"RHSA-2025:22019"},{"ecosystem":"Red Hat:rhel_aus:8.2::baseos","fixed":["0:1.3.1-8.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"pam","purl":"pkg:rpm/redhat/pam","source":"RHSA-2025:10362"},{"ecosystem":"Red Hat:rhel_aus:8.2::baseos","fixed":["0:1.3.1-8.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"pam-debuginfo","purl":"pkg:rpm/redhat/pam-debuginfo","source":"RHSA-2025:10362"},{"ecosystem":"Red Hat:rhel_aus:8.2::baseos","fixed":["0:1.3.1-8.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"pam-debugsource","purl":"pkg:rpm/redhat/pam-debugsource","source":"RHSA-2025:10362"},{"ecosystem":"Red Hat:rhel_aus:8.2::baseos","fixed":["0:1.3.1-8.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"pam-devel","purl":"pkg:rpm/redhat/pam-devel","source":"RHSA-2025:10362"},{"ecosystem":"Red Hat:rhel_aus:8.4::baseos","fixed":["0:1.3.1-14.el8_4.1"],"introduced":["0"],"last_affected":[],"package":"pam","purl":"pkg:rpm/redhat/pam","source":"RHSA-2025:10361"},{"ecosystem":"Red Hat:rhel_aus:8.4::baseos","fixed":["0:1.3.1-14.el8_4.1"],"introduced":["0"],"last_affected":[],"package":"pam-debuginfo","purl":"pkg:rpm/redhat/pam-debuginfo","source":"RHSA-2025:10361"},{"ecosystem":"Red Hat:rhel_aus:8.4::baseos","fixed":["0:1.3.1-14.el8_4.1"],"introduced":["0"],"last_affected":[],"package":"pam-debugsource","purl":"pkg:rpm/redhat/pam-debugsource","source":"RHSA-2025:10361"},{"ecosystem":"Red Hat:rhel_aus:8.4::baseos","fixed":["0:1.3.1-14.el8_4.1"],"introduced":["0"],"last_affected":[],"package":"pam-devel","purl":"pkg:rpm/redhat/pam-devel","source":"RHSA-2025:10361"},{"ecosystem":"Red Hat:rhel_aus:8.6::baseos","fixed":["0:1.3.1-16.el8_6.2"],"introduced":["0"],"last_affected":[],"package":"pam","purl":"pkg:rpm/redhat/pam","source":"RHSA-2025:10359"}],"prev":{"headline":"Libblockdev: lpe from allow_active to root in libblockdev via udisks","id":"CVE-2025-6019"},"products":["Compliance Operator 1","RHEL-8 based Middleware Containers","RHOSS-1.36-RHEL-8","Red Hat Discovery 2","Red Hat Enterprise Linux 10","Red Hat Enterprise Linux 10.0 Extended Update Support","Red Hat Enterprise Linux 7 Extended Lifecycle Support","Red Hat Enterprise Linux 8","Red Hat Enterprise Linux 8.2 Advanced Update Support","Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support","Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support","Red Hat Enterprise Linux 8.6 Telecommunications Update Service","Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions","Red Hat Enterprise Linux 8.8 Telecommunications Update Service","Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions","Red Hat Enterprise Linux 9","Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions","Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions","Red Hat Enterprise Linux 9.4 Extended Update Support","Red Hat Insights proxy 1.5","Red Hat OpenShift distributed tracing 3.6.0","Red Hat OpenShift sandboxed containers 1.10","Red Hat Web Terminal 1.11 on RHEL 9","Red Hat Web Terminal 1.12 on RHEL 9","cert-manager operator for Red Hat OpenShift 1.16"],"published":"2025-06-17","related":[],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-12","vendors":["Red Hat"]},"summary":"Local attackers can exploit symlink race conditions in the pam_namespace module to elevate privileges to root on affected Linux systems.","url":"https://insights.sbomify.com/CVE-2025-6020/"}