An insecure temporary file usage in Shadow may allow local users to gain root privileges.
|Package||sys-apps/shadow on all architectures|
|Affected versions||< 184.108.40.206|
|Unaffected versions||>= 220.127.116.11|
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-18.104.22.168"
March 10, 2009
March 10, 2009: 01