MDKSA-2001:040-1

Problembeschreibung

A vulnerability found by Marcus Meissner exists in Samba where it was
not creating temporary files safely which could allow local users to
overwrite files that they may not have access to. This happens when a
remote user queried a printer queue and samba would create a temporary
file in which the queue's data was written. Because Samba created the
file insecurely and used a predictable filename, a local attacker could
cause Samba to overwrite files that the attacker did not have access
to. As well, the smbclient "more" and "mput" commands also created
temporary files insecurely.
The vulnerability is present in Samba 2.0.7 and lower. 2.0.8 and 2.2.0
correct this behaviour.
Update:
The Samba 2.0.8 release did not entirely fix the temporary file issues
in previous versions. The Samba team released 2.0.9 recently which
does fix these problems completely. As well, the 8.0 packages will now
not attempt to use /root/tmp as the temporary directory, but /var/tmp.