USN-5745-2

Type: Security
Severity: None
Published: 2022-11-29
Ubuntu 20.04 LTS (Focal Fossa)

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. Update Instructions: Run `sudo pro fix USN-5745-2` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: passwd - 1:4.8.1-1ubuntu5.20.04.4 login - 1:4.8.1-1ubuntu5.20.04.4 uidmap - 1:4.8.1-1ubuntu5.20.04.4 No subscription required

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-27T23:47:41.555Z UTC

Official vendor advisory

Ubuntu 20.04 LTS (Focal Fossa)

View source
Observed 2026-11-27T23:47:41.555Z UTC. Last updated 2025-11-26T08:04:42.504Z UTC.

Upstream Advisory

Affected Packages

  • passwd 1:4.8.1-1ubuntu5.20.04.4-1:4.8.1-1ubuntu5.20.04.4

  • login 1:4.8.1-1ubuntu5.20.04.4-1:4.8.1-1ubuntu5.20.04.4

  • uidmap 1:4.8.1-1ubuntu5.20.04.4-1:4.8.1-1ubuntu5.20.04.4

Interested in being alerted when there are new versions of passwd and the other packages? Set up an alert.
USN-5745-2: shadow regression | Package Alert