Summary
Olivier BAL-PETRE discovered that the PAM pam_namespace module incorrectly
handled user-controlled paths. In environments where pam_namespace is used,
a local attacker could possibly use this issue to escalate their privileges
to root.
Fixed packages 4
| Release | Package | Fixed in |
|---|---|---|
| Ubuntu · Pro 14.04 LTS Pro:14.04:LTS | pam | 1.1.8-1ubuntu2.2+esm5 |
| Ubuntu · Pro 16.04 LTS Pro:16.04:LTS | pam | 1.1.8-3.2ubuntu2.3+esm6 |
| Ubuntu · Pro 18.04 LTS Pro:18.04:LTS | pam | 1.1.8-3.6ubuntu2.18.04.6+esm3 |
| Ubuntu · Pro 20.04 LTS Pro:20.04:LTS | pam | 1.3.1-5ubuntu4.7+esm2 |
Vulnerabilities 1
-
High 7.8CVE-2025-6020 Public exploit
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.
References
-
report
https://ubuntu.com/security/CVE-2025-6020