CVE-2017-5899

NameCVE-2017-5899
DescriptionDirectory 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium
Debian Bugs852934

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
s-nail (PTS)stretch14.8.16-1fixed
buster14.9.11-2fixed
bullseye, sid14.9.15-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
s-nailsource(unstable)14.8.16-1852934

Notes

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
http://www.openwall.com/lists/oss-security/2017/01/27/7

Search for package or bug name: Reporting problems