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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
S-nail < 14.8.16 - Local Privilege Escalation
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| debian | bookworm | fixed | 14.8.16-1 |
| debian | bullseye | fixed | 14.8.16-1 |
| debian | forky | fixed | 14.8.16-1 |
| debian | sid | fixed | 14.8.16-1 |
| debian | trixie | fixed | 14.8.16-1 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| s-nail_project | s-nail | {"endIncluding":"14.8.5"} | |
References
CWEs
CWE-22 CWE-362
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.