USN-5745-1: shadow vulnerability

Publication date

28 November 2022

Overview

shadow could be made to overwrite files.


Packages

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.

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

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
22.10 kinetic passwd –  1:4.11.1+dfsg1-2ubuntu1.1
login –  1:4.11.1+dfsg1-2ubuntu1.1
libsubid4 –  1:4.11.1+dfsg1-2ubuntu1.1
uidmap –  1:4.11.1+dfsg1-2ubuntu1.1
22.04 jammy passwd –  1:4.8.1-2ubuntu2.1
login –  1:4.8.1-2ubuntu2.1
uidmap –  1:4.8.1-2ubuntu2.1
20.04 focal passwd –  1:4.8.1-1ubuntu5.20.04.3
login –  1:4.8.1-1ubuntu5.20.04.3
uidmap –  1:4.8.1-1ubuntu5.20.04.3
18.04 bionic passwd –  1:4.5-1ubuntu2.4
login –  1:4.5-1ubuntu2.4
uidmap –  1:4.5-1ubuntu2.4
16.04 xenial passwd –  1:4.2-3.1ubuntu5.5+esm2  
login –  1:4.2-3.1ubuntu5.5+esm2  
uidmap –  1:4.2-3.1ubuntu5.5+esm2  
14.04 trusty passwd –  1:4.1.5.1-1ubuntu9.5+esm2  
login –  1:4.1.5.1-1ubuntu9.5+esm2  
uidmap –  1:4.1.5.1-1ubuntu9.5+esm2  

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›