Description
The log_event function in ssmtp 2.50.6 and earlier allows local users to overwrite arbitrary files via a symlink attack on the ssmtp.log temporary log 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 | ssmtp | No fix yet | — |
| Debian 13 | ssmtp | No fix yet | — |
| Debian 12 | ssmtp | No fix yet | — |
References
- 20040418 ssmtp insecure file creation mailing-list