CVE-2025-6020 Linux-pam: linux-pam directory traversal
HighCVSS 7.8
EPSS 0.49%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
35 packages: 34 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/pam(Debian 12) | = 1.5.2-6; = 1.5.2-6+deb12u1; = 1.5.2-6+deb12u2; = 1.5.2-7 +21 more | No fix listed | No fix yet |
| azure linux pam(Azure Linux 3.0) | < 1.5.3-5 | 1.5.3-5 | Fixed |
| cbl-mariner pam(CBL-Mariner 2.0) | < 1.5.1-8 | 1.5.1-8 | Fixed |
| debian/pam(Debian 13) | < 1.7.0-5 | 1.7.0-5 | Fixed |
| debian/pam(Debian 14) | < 1.7.0-5 | 1.7.0-5 | Fixed |
| linux-pam | < 1.7.1 | 1.7.1 | Fixed |
| redhat cert manager | < v1.16.5-1760515757 | v1.16.5-1760515757 | Fixed |
| redhat confidential compute attestation | < 1.10.2-1757421804; < 1.10.2-1757421879; < 1.10.2-1757422110; < 1.10.2-1757422401 | 1.10.2-1757421804, 1.10.2-1757421879, 1.10.2-1757422110, 1.10.2-1757422401 | Fixed |
| redhat discovery | < 2.0.0-1752592913; < 2.2.1-1758555934 | 2.0.0-1752592913, 2.2.1-1758555934 | Fixed |
| redhat enterprise linux | < 0:1.3.1-37.el8_10; < 0:1.3.1-38.el8_10; < 0:1.5.1-25.el9_6; < 0:1.5.1-26.el9_6 +1 more | 0:1.3.1-37.el8_10, 0:1.3.1-38.el8_10, 0:1.5.1-25.el9_6, 0:1.5.1-26.el9_6, 0:1.6.1-8.el10 | Fixed |
| redhat enterprise linux eus | < 0:1.6.1-8.el10_0 | 0:1.6.1-8.el10_0 | Fixed |
| redhat insights proxy | < 1.5.7-1759331989 | 1.5.7-1759331989 | Fixed |
| redhat openshift compliance operator | < 1.8.0 | 1.8.0 | Fixed |
| redhat openshift distributed tracing | < rhosdt-3.6-1751993590; < rhosdt-3.6-1752046437; < rhosdt-3.6-1752046439; < rhosdt-3.6-1752046452 +5 more | rhosdt-3.6-1751993590, rhosdt-3.6-1752046437, rhosdt-3.6-1752046439, rhosdt-3.6-1752046452, rhosdt-3.6-1752070827, rhosdt-3.6-1752070833, rhosdt-3.6-1752070865, rhosdt-3.6-1752070866, rhosdt-3.6-1752070873 | Fixed |
| redhat openshift serverless | < 1.36.0-4; < 1.36.0-7; < 1.36.0-9; < 1.36.0-10 +3 more | 1.36.0-4, 1.36.0-7, 1.36.0-9, 1.36.0-10, 1.36.0-11, 1.36.0-12, 1.36.0-18 | Fixed |
| redhat rhel aus | < 0:1.3.1-8.el8_2.1; < 0:1.3.1-14.el8_4.1; < 0:1.3.1-16.el8_6.2 | 0:1.3.1-8.el8_2.1, 0:1.3.1-14.el8_4.1, 0:1.3.1-16.el8_6.2 | Fixed |
| redhat rhel e4s | < 0:1.3.1-16.el8_6.2; < 0:1.3.1-26.el8_8.1; < 0:1.5.1-9.el9_0.2; < 0:1.5.1-15.el9_2.1 | 0:1.3.1-16.el8_6.2, 0:1.3.1-26.el8_8.1, 0:1.5.1-9.el9_0.2, 0:1.5.1-15.el9_2.1 | Fixed |
| redhat rhel els | < 0:1.1.8-23.el7_9.1 | 0:1.1.8-23.el7_9.1 | Fixed |
| redhat rhel eus | < 0:1.5.1-24.el9_4 | 0:1.5.1-24.el9_4 | Fixed |
| redhat rhel tus | < 0:1.3.1-16.el8_6.2; < 0:1.3.1-26.el8_8.1 | 0:1.3.1-16.el8_6.2, 0:1.3.1-26.el8_8.1 | Fixed |
| redhat rhosemc | < 7.13.5-2.1752065733; < 7.13.5-3.1752065737; < 7.13.5-4.1752065731; < 7.13.5-4.1752065732 +4 more | 7.13.5-2.1752065733, 7.13.5-3.1752065737, 7.13.5-4.1752065731, 7.13.5-4.1752065732, 7.13.5-4.1752065736, 7.13.5-4.1752065755, 7.13.5-4.1752066672, 7.13.5-25 | Fixed |
| redhat webterminal | < 1.11-8; < 1.11-19; < 1.12-4 | 1.11-8, 1.11-19, 1.12-4 | Fixed |
| Siemens RUGGEDCOM ROX MX5000 | < V2.17.1 | V2.17.1 | Fixed |
| Siemens RUGGEDCOM ROX MX5000RE | < V2.17.1 | V2.17.1 | Fixed |
| Siemens RUGGEDCOM ROX RX1400 | < V2.17.1 | V2.17.1 | Fixed |
| Siemens RUGGEDCOM ROX RX1500 | < V2.17.1 | V2.17.1 | Fixed |
| Siemens RUGGEDCOM ROX RX1501 | < V2.17.1 | V2.17.1 | Fixed |
| Siemens RUGGEDCOM ROX RX1510 | < V2.17.1 | V2.17.1 | Fixed |
| Siemens RUGGEDCOM ROX RX1511 | < V2.17.1 | V2.17.1 | Fixed |
| Siemens RUGGEDCOM ROX RX1512 | < V2.17.1 | V2.17.1 | Fixed |
… and 5 more packages.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| cbl-mariner pam(CBL-Mariner:2.0) | < 1.5.1-8 | 1.5.1-8 |
| azure linux pam(Azure Linux:3.0) | < 1.5.3-5 | 1.5.3-5 |
| linux-pam | < 1.7.1 | 1.7.1 |
| redhat enterprise linux | < 0:1.6.1-8.el10 | 0:1.6.1-8.el10 |
| redhat enterprise linux eus | < 0:1.6.1-8.el10_0 | 0:1.6.1-8.el10_0 |
| redhat rhel els | < 0:1.1.8-23.el7_9.1 | 0:1.1.8-23.el7_9.1 |
| redhat enterprise linux | < 0:1.3.1-37.el8_10 | 0:1.3.1-37.el8_10 |
| redhat enterprise linux | < 0:1.3.1-38.el8_10 | 0:1.3.1-38.el8_10 |
| redhat rhel aus | < 0:1.3.1-8.el8_2.1 | 0:1.3.1-8.el8_2.1 |
| redhat rhel aus | < 0:1.3.1-14.el8_4.1 | 0:1.3.1-14.el8_4.1 |
| redhat rhel aus | < 0:1.3.1-16.el8_6.2 | 0:1.3.1-16.el8_6.2 |
| redhat rhel e4s | < 0:1.3.1-16.el8_6.2 | 0:1.3.1-16.el8_6.2 |
| redhat rhel tus | < 0:1.3.1-16.el8_6.2 | 0:1.3.1-16.el8_6.2 |
| redhat rhel e4s | < 0:1.3.1-26.el8_8.1 | 0:1.3.1-26.el8_8.1 |
| redhat rhel tus | < 0:1.3.1-26.el8_8.1 | 0:1.3.1-26.el8_8.1 |
| redhat enterprise linux | < 0:1.5.1-26.el9_6 | 0:1.5.1-26.el9_6 |
| redhat enterprise linux | < 0:1.5.1-25.el9_6 | 0:1.5.1-25.el9_6 |
| redhat rhel e4s | < 0:1.5.1-9.el9_0.2 | 0:1.5.1-9.el9_0.2 |
| redhat rhel e4s | < 0:1.5.1-15.el9_2.1 | 0:1.5.1-15.el9_2.1 |
| redhat rhel eus | < 0:1.5.1-24.el9_4 | 0:1.5.1-24.el9_4 |
| redhat webterminal | < 1.11-19 | 1.11-19 |
| redhat webterminal | < 1.11-8 | 1.11-8 |
| redhat webterminal | < 1.12-4 | 1.12-4 |
| redhat rhosemc | < 7.13.5-4.1752066672 | 7.13.5-4.1752066672 |
| redhat rhosemc | < 7.13.5-4.1752065732 | 7.13.5-4.1752065732 |
Show 71 more
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat rhosemc | < 7.13.5-3.1752065737 | 7.13.5-3.1752065737 |
| redhat rhosemc | < 7.13.5-4.1752065731 | 7.13.5-4.1752065731 |
| redhat rhosemc | < 7.13.5-25 | 7.13.5-25 |
| redhat rhosemc | < 7.13.5-4.1752065736 | 7.13.5-4.1752065736 |
| redhat rhosemc | < 7.13.5-2.1752065733 | 7.13.5-2.1752065733 |
| redhat rhosemc | < 7.13.5-4.1752065755 | 7.13.5-4.1752065755 |
| redhat openshift serverless | < 1.36.0-11 | 1.36.0-11 |
| redhat openshift serverless | < 1.36.0-10 | 1.36.0-10 |
| redhat openshift serverless | < 1.36.0-4 | 1.36.0-4 |
| redhat openshift serverless | < 1.36.0-9 | 1.36.0-9 |
| redhat openshift serverless | < 1.36.0-12 | 1.36.0-12 |
| redhat openshift serverless | < 1.36.0-18 | 1.36.0-18 |
| redhat openshift serverless | < 1.36.0-7 | 1.36.0-7 |
| redhat cert manager | < v1.16.5-1760515757 | v1.16.5-1760515757 |
| redhat openshift compliance operator | < 1.8.0 | 1.8.0 |
| redhat discovery | < 2.0.0-1752592913 | 2.0.0-1752592913 |
| redhat discovery | < 2.2.1-1758555934 | 2.2.1-1758555934 |
| redhat insights proxy | < 1.5.7-1759331989 | 1.5.7-1759331989 |
| redhat openshift distributed tracing | < rhosdt-3.6-1752046452 | rhosdt-3.6-1752046452 |
| redhat openshift distributed tracing | < rhosdt-3.6-1752046437 | rhosdt-3.6-1752046437 |
| redhat openshift distributed tracing | < rhosdt-3.6-1752046439 | rhosdt-3.6-1752046439 |
| redhat openshift distributed tracing | < rhosdt-3.6-1752070865 | rhosdt-3.6-1752070865 |
| redhat openshift distributed tracing | < rhosdt-3.6-1752070873 | rhosdt-3.6-1752070873 |
| redhat openshift distributed tracing | < rhosdt-3.6-1751993590 | rhosdt-3.6-1751993590 |
| redhat openshift distributed tracing | < rhosdt-3.6-1752070827 | rhosdt-3.6-1752070827 |
| redhat openshift distributed tracing | < rhosdt-3.6-1752070833 | rhosdt-3.6-1752070833 |
| redhat openshift distributed tracing | < rhosdt-3.6-1752070866 | rhosdt-3.6-1752070866 |
| redhat confidential compute attestation | < 1.10.2-1757422110 | 1.10.2-1757422110 |
| redhat confidential compute attestation | < 1.10.2-1757421804 | 1.10.2-1757421804 |
| redhat confidential compute attestation | < 1.10.2-1757421879 | 1.10.2-1757421879 |
| redhat confidential compute attestation | < 1.10.2-1757422401 | 1.10.2-1757422401 |
| Siemens RUGGEDCOM ROX MX5000 | < V2.17.1 | V2.17.1 |
| Siemens RUGGEDCOM ROX MX5000RE | < V2.17.1 | V2.17.1 |
| Siemens RUGGEDCOM ROX RX1400 | < V2.17.1 | V2.17.1 |
| Siemens RUGGEDCOM ROX RX1500 | < V2.17.1 | V2.17.1 |
| Siemens RUGGEDCOM ROX RX1501 | < V2.17.1 | V2.17.1 |
| Siemens RUGGEDCOM ROX RX1510 | < V2.17.1 | V2.17.1 |
| Siemens RUGGEDCOM ROX RX1511 | < V2.17.1 | V2.17.1 |
| Siemens RUGGEDCOM ROX RX1512 | < V2.17.1 | V2.17.1 |
| Siemens RUGGEDCOM ROX RX1524 | < V2.17.1 | V2.17.1 |
| Siemens RUGGEDCOM ROX RX1536 | < V2.17.1 | V2.17.1 |
| Siemens RUGGEDCOM ROX RX5000 | < V2.17.1 | V2.17.1 |
| ubuntu/pam(Ubuntu:22.04) | < 1.4.0-11ubuntu2.6 | 1.4.0-11ubuntu2.6 |
| ubuntu/pam(Ubuntu:24.04) | < 1.5.3-5ubuntu5.4 | 1.5.3-5ubuntu5.4 |
| debian/pam(Debian:12) | All versions | No fix listed |
| debian/pam(Debian:12) | = 1.5.2-6 | No fix listed |
| debian/pam(Debian:12) | = 1.5.2-6+deb12u1 | No fix listed |
| debian/pam(Debian:12) | = 1.5.2-6+deb12u2 | No fix listed |
| debian/pam(Debian:12) | = 1.5.2-7 | No fix listed |
| debian/pam(Debian:12) | = 1.5.2-8 | No fix listed |
| debian/pam(Debian:12) | = 1.5.2-9 | No fix listed |
| debian/pam(Debian:12) | = 1.5.2-9.1 | No fix listed |
| debian/pam(Debian:12) | = 1.5.3-1 | No fix listed |
| debian/pam(Debian:12) | = 1.5.3-2 | No fix listed |
| debian/pam(Debian:12) | = 1.5.3-3 | No fix listed |
| debian/pam(Debian:12) | = 1.5.3-4 | No fix listed |
| debian/pam(Debian:12) | = 1.5.3-5 | No fix listed |
| debian/pam(Debian:12) | = 1.5.3-6 | No fix listed |
| debian/pam(Debian:12) | = 1.5.3-6+hurd.1 | No fix listed |
| debian/pam(Debian:12) | = 1.5.3-7 | No fix listed |
| debian/pam(Debian:12) | = 1.7.0-1 | No fix listed |
| debian/pam(Debian:12) | = 1.7.0-2 | No fix listed |
| debian/pam(Debian:12) | = 1.7.0-2+hurd.1 | No fix listed |
| debian/pam(Debian:12) | = 1.7.0-3 | No fix listed |
| debian/pam(Debian:12) | = 1.7.0-4 | No fix listed |
| debian/pam(Debian:12) | = 1.7.0-5 | No fix listed |
| debian/pam(Debian:12) | = 1.7.0-6 | No fix listed |
| debian/pam(Debian:12) | = 1.7.0-7 | No fix listed |
| debian/pam(Debian:12) | = 1.7.0-8 | No fix listed |
| debian/pam(Debian:13) | < 1.7.0-5 | 1.7.0-5 |
| debian/pam(Debian:14) | < 1.7.0-5 | 1.7.0-5 |
References
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- Debian Security Tracker CVE-2025-6020 vendor-advisory
- RHSA-2025:10024 vendor-advisory
- RHSA-2025:10027 vendor-advisory
- RHSA-2025:10180 vendor-advisory
- RHSA-2025:10354 vendor-advisory
- RHSA-2025:10357 vendor-advisory
- RHSA-2025:10358 vendor-advisory
- RHSA-2025:10359 vendor-advisory
- RHSA-2025:10361 vendor-advisory
- RHSA-2025:10362 vendor-advisory
- RHSA-2025:10735 vendor-advisory
- RHSA-2025:10823 vendor-advisory
- RHSA-2025:11386 vendor-advisory
- RHSA-2025:11487 vendor-advisory
- RHSA-2025:14557 vendor-advisory
- RHSA-2025:15099 vendor-advisory
- RHSA-2025:15709 vendor-advisory
- RHSA-2025:15827 vendor-advisory
- RHSA-2025:15828 vendor-advisory
- RHSA-2025:16524 vendor-advisory
- RHSA-2025:17181 vendor-advisory
- RHSA-2025:18219 vendor-advisory
- RHSA-2025:20181 vendor-advisory
- RHSA-2025:21885 vendor-advisory
- RHSA-2025:22019 vendor-advisory
- RHSA-2025:9526 vendor-advisory
- RHSA-2026:0934 vendor-advisory
- access.redhat.com vdb-entry
- RHBZ#2372512 issue-tracking
- github.com
- www.openwall.com
- lists.debian.org
- cert-portal.siemens.com
- Ubuntu CVE tracker vendor-advisory
- USN-7580-1 vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking
- ENISA EUVD EUVD-2025-19056 third-party-advisory