Headline
CVE-2020-10737: Commit - oddjob - 10b8aaa1564b723a005b53acc069df71313f4cac
A race condition was found in the mkhomedir tool shipped with the oddjob package in versions before 0.34.5 and 0.34.6 wherein, during the home creation, mkhomedir copies the /etc/skel directory into the newly created home and changes its ownership to the home’s user without properly checking the homedir path. This flaw allows an attacker to leverage this issue by creating a symlink point to a target folder, which then has its ownership transferred to the new home directory’s unprivileged user.
Overview Files Commits Branches Forks Releases
CVE-2020-10737: defer setting permissions on newly-created home directories
mkhomedir: add a patch from Matthias Gerstner of the SUSE security team
to defer setting permissions on newly-created home directories until
after we've finished populating them, to prevent possible interference
and attacks from the user who will eventually be given access to the new
home directory, while it's still being populated (CVE-2020-10737).
Author: Matthias Gerstner
Signed-off-by: Nalin Dahyabhai <[email protected]>