p PatchFirst

CVE-2018-7169

CVE-2018-7169

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 5.3 · Medium · EPSS 1.6% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • n/a

    Versions
    • n/a: Affected

    No fix published

  • shadow Debian:12

    Affected ranges
    • ECOSYSTEM: < 1:4.7-1

    Update to 1:4.7-1

  • shadow Debian:13

    Affected ranges
    • ECOSYSTEM: < 1:4.7-1

    Update to 1:4.7-1

  • shadow Debian:14

    Affected ranges
    • ECOSYSTEM: < 1:4.7-1

    Update to 1:4.7-1

  • shadow Ubuntu:Pro:14.04:LTS

    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
    Affected ranges
    • ECOSYSTEM: < 1:4.1.5.1-1ubuntu9.5+esm1

    Update to 1:4.1.5.1-1ubuntu9.5+esm1

  • shadow Ubuntu:Pro:16.04:LTS

    Versions
    • 1:4.1.5.1-1.1ubuntu7
    • 1:4.2-3.1ubuntu1
    • 1:4.2-3.1ubuntu2
    • 1:4.2-3.1ubuntu3
    • 1:4.2-3.1ubuntu4
    • 1:4.2-3.1ubuntu5
    • 1:4.2-3.1ubuntu5.2
    • 1:4.2-3.1ubuntu5.3
    • 1:4.2-3.1ubuntu5.4
    Affected ranges
    • ECOSYSTEM: < 1:4.2-3.1ubuntu5.5+esm1

    Update to 1:4.2-3.1ubuntu5.5+esm1

  • shadow Ubuntu:18.04:LTS

    Versions
    • 1:4.2-3.2ubuntu4
    • 1:4.5-1ubuntu1
    • 1:4.5-1ubuntu2
    Affected ranges
    • ECOSYSTEM: < 1:4.5-1ubuntu2.2

    Update to 1:4.5-1ubuntu2.2

Original sources

Check your server →