UBUNTU-CVE-2017-5899

Source
https://ubuntu.com/security/CVE-2017-5899
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-5899.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2017-5899
Upstream
Downstream
Related
Published
2017-03-27T15:59:00Z
Modified
2026-02-04T03:35:46.439285Z
Severity
  • 7.0 (High) CVSS_V3 - CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • Ubuntu - high
Summary
[none]
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.

References

Affected packages

Ubuntu:Pro:16.04:LTS / s-nail

Package

Name
s-nail
Purl
pkg:deb/ubuntu/s-nail@14.8.6-1ubuntu0.1~esm1?arch=source&distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
14.8.6-1ubuntu0.1~esm1

Affected versions

14.*
14.8.5-1
14.8.5-2
14.8.5-3
14.8.5-4
14.8.5-5
14.8.6-1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "heirloom-mailx",
            "binary_version": "14.8.6-1ubuntu0.1~esm1"
        },
        {
            "binary_name": "s-nail",
            "binary_version": "14.8.6-1ubuntu0.1~esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-5899.json"