Advisory

UBUNTU-CVE-2026-35368

Also known as: CVE-2026-35368

Summary

The record has no summary.

Details

A vulnerability exists in the chroot utility of uutils coreutils when using the --userspec option. The utility resolves the user specification via getpwnam() after entering the chroot but before dropping root privileges. On glibc-based systems, this can trigger the Name Service Switch (NSS) to load shared libraries (e.g., libnss_*.so.2) from the new root directory. If the NEWROOT is writable by an attacker, they can inject a malicious NSS module to execute arbitrary code as root, facilitating a full container escape or privilege escalation.

Severity

High Basis: CVSS v3 score 7.8, vector CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H

Dates

Published
2026-04-22 17:16 UTC
Modified
2026-11-12 17:25 UTC

Affected packages and fixes

rust-coreutils

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

rust-coreutils

Debian packages (deb) · Ubuntu 25.10

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

rust-coreutils

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 0.10.0-1ubuntu2~26.04.1 (ecosystem)

Fixed versions

0.10.0-1ubuntu2~26.04.1

Fix

  • Fixed version 0.10.0-1ubuntu2~26.04.1
    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