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, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs852934

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
s-nail (PTS)bullseye14.9.22-1fixed
bookworm14.9.24-2fixed
sid, trixie14.9.25-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
https://www.openwall.com/lists/oss-security/2017/01/27/7

Search for package or bug name: Reporting problems