An insecure temporary file usage in Shadow may allow local users to gain root privileges.
|Package||sys-apps/shadow on all architectures|
|Affected versions||< 22.214.171.124|
|Unaffected versions||>= 126.96.36.199|
Shadow is a set of tools to deal with user accounts.
Paul Szabo reported a race condition in the "login" executable when setting up tty permissions.
A local attacker belonging to the "utmp" group could use symlink attacks to overwrite arbitrary files and possibly gain root privileges.
There is no known workaround at this time.
All Shadow users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=sys-apps/shadow-188.8.131.52"
March 10, 2009
March 10, 2009: 01