Description
passwdehd in libpam-mount 0.43 allows local users to overwrite arbitrary files via a symlink attack on a /tmp/passwdehd.##### temporary file.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libpam-mount | 1.2+gitaa4791f-1 | — |
| Debian 13 | libpam-mount | 1.2+gitaa4791f-1 | — |
| Debian 12 | libpam-mount | 1.2+gitaa4791f-1 | — |
References
- 32780 third-party-advisory
- SUSE-SR:2009:005 vendor-advisory
- libpammount-passwdehd-symlink(46724) vdb-entry
- [debian-devel] 20080811 Re: Possible mass bug filing: The possibility of attack with the help of symlinks in some Debian packages mailing-list