UBUNTU-CVE-2018-7169

    Dashboard / Vulnerabilities / UBUNTU-CVE-2018-7169

    UBUNTU-CVE-2018-7169

    Published: 15 Feb 2018Last Modified: 4 Feb 2026
    Upstream:
    Aliases:

    Summary:

    Details: An issue was discovered in shadow 4.5. newgidmap (in shadow-utils) is setuid and allows an unprivileged user to be placed in a user namespace where setgroups(2) is permitted. This allows an attacker to remove themselves from a supplementary group, which may allow access to certain filesystem paths if the administrator has used "group blacklisting" (e.g., chmod g-rwx) to restrict access to paths. This flaw effectively reverts a security feature in the kernel (in particular, the /proc/self/setgroups knob) to prevent this sort of privilege escalation.

    Affected packages

    Package

    Name: shadow

    Purl: pkg:deb/ubuntu/shadow@1:4.1.5.1-1ubuntu9.5+esm1?arch=source&distro=trusty/esm

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -1:4.1.5.1-1ubuntu9.5+esm1

    Affected versions

    1:4.1.5.1-1ubuntu6
    1:4.1.5.1-1ubuntu7
    1:4.1.5.1-1ubuntu8
    1:4.1.5.1-1ubuntu9
    1:4.1.5.1-1ubuntu9.1
    1:4.1.5.1-1ubuntu9.2
    1:4.1.5.1-1ubuntu9.4
    1:4.1.5.1-1ubuntu9.5

    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