{"id":"CVE-2017-5899","details":"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.","modified":"2026-03-14T09:23:04.832337Z","published":"2017-03-27T15:59:00.497Z","references":[{"type":"WEB","url":"https://www.mail-archive.com/s-nail-users%40lists.sourceforge.net/msg00551.html"},{"type":"ADVISORY","url":"http://www.openwall.com/lists/oss-security/2017/02/07/4"},{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/96138"},{"type":"EVIDENCE","url":"http://www.openwall.com/lists/oss-security/2017/01/27/7"}],"affected":[{"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"14.8.5"}]}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-5899.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}