Advisory

USN-5745-2

Also known as: None

Summary

shadow regression

Details

USN-5745-1 fixed vulnerabilities in shadow. Unfortunately that update
introduced a regression that caused useradd to behave incorrectly in Ubuntu
14.04 ESM, Ubuntu 16.04 ESM, Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. This
update reverts the security fix pending further investigation.

We apologize for the inconvenience.

Original advisory details:

Florian Weimer discovered that shadow was not properly copying and removing
user directory trees, which could lead to a race condition. A local attacker
could possibly use this issue to setup a symlink attack and alter or remove
directories without authorization.

Severity

Not rated by the source.

Dates

Published
2022-11-29 17:23 UTC
Modified
2026-06-29 13:50 UTC

Affected packages and fixes

shadow

Debian packages (deb) · Ubuntu 18.04

Affected

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

Fixed versions

1:4.5-1ubuntu2.5

Fix

  • Fixed version 1:4.5-1ubuntu2.5
    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.

shadow

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 1:4.8.1-1ubuntu5.20.04.4 (ecosystem)

Fixed versions

1:4.8.1-1ubuntu5.20.04.4

Fix

  • Fixed version 1:4.8.1-1ubuntu5.20.04.4
    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