Advisory

UBUNTU-CVE-2018-7169

Also known as: CVE-2018-7169

Summary

The record has no 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.

Severity

Medium Basis: CVSS v3 score 5.3, vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Dates

Published
2018-02-15 20:29 UTC
Modified
2026-02-04 04:18 UTC

Affected packages and fixes

shadow

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 1:4.5-1ubuntu2.2 (ecosystem)

Fixed versions

1:4.5-1ubuntu2.2

Fix

  • Fixed version 1:4.5-1ubuntu2.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences