{
  "affected": [
    {
      "database_specific": {
        "unresolved_ranges": [
          {
            "events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "14.8.5"
              }
            ]
          }
        ]
      }
    }
  ],
  "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.",
  "id": "CVE-2017-5899",
  "modified": "2026-03-13T21:53:18.001254422Z",
  "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"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}