| Name | CVE-2017-5899 |
| Description | Directory traversal vulnerability in the setuid root helper binary in S-nail (later S-mailx) before 14.8.16 allows local users to write to arbitrary files and consequently gain root privileges via a .. (dot dot) in the randstr argument. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| Debian Bugs | 852934 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| s-nail (PTS) | bullseye | 14.9.22-1 | fixed |
| bookworm | 14.9.24-2 | fixed | |
| trixie | 14.9.25-1 | fixed | |
| forky, sid | 14.9.25-2 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| s-nail | source | (unstable) | 14.8.16-1 | 852934 |
https://www.mail-archive.com/s-nail-users@lists.sourceforge.net/msg00551.html
https://git.sdaoden.eu/cgit/s-nail.git/commit/?id=f797c27efecad45af191c518b7f87fda32ada160
https://git.sdaoden.eu/cgit/s-nail.git/commit/?id=f2699449b66dd702a98925bd1b11153a6f7294bf
https://www.openwall.com/lists/oss-security/2017/01/27/7