UBUNTU-CVE-2017-17087

    Dashboard / Vulnerabilities / UBUNTU-CVE-2017-17087

    UBUNTU-CVE-2017-17087

    Published: 1 Dec 2017Last Modified: 4 Feb 2026

    Summary:

    Details: fileio.c in Vim prior to 8.0.1263 sets the group ownership of a .swp file to the editor's primary group (which may be different from the group ownership of the original file), which allows local users to obtain sensitive information by leveraging an applicable group membership, as demonstrated by /etc/shadow owned by root:shadow mode 0640, but /etc/.shadow.swp owned by root:users mode 0640, a different vulnerability than CVE-2017-1000382.

    Affected packages

    Package

    Name: vim

    Purl: pkg:deb/ubuntu/vim@2:7.4.052-1ubuntu3.1+esm4?arch=source&distro=trusty/esm

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -2:7.4.052-1ubuntu3.1+esm4

    Affected versions

    2:7.4.000-1ubuntu2
    2:7.4.052-1ubuntu1
    2:7.4.052-1ubuntu2
    2:7.4.052-1ubuntu3
    2:7.4.052-1ubuntu3.1
    2:7.4.052-1ubuntu3.1+esm1
    2:7.4.052-1ubuntu3.1+esm3

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High