From: Linux Mandrake Security Team <firstname.lastname@example.org>
Subject: [Security Announce] MDKSA-2001:040-1 - samba update
Date: Mon, 21 May 2001 12:06:05 -0600
Linux-Mandrake Security Update Advisory
Package name: samba
Date: May 21st, 2001
Original Advisory Date: April 20th, 2001
Advisory ID: MDKSA-2001:040-1
Affected versions: 7.1, 7.2, 8.0, Corporate Server 1.0.1
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.
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.
Please verify the update prior to upgrading to ensure the integrity of
the downloaded package. You can do this with the command:
rpm --checksig package.rpm
You can get the GPG public key of the Linux-Mandrake Security Team at
If you use MandrakeUpdate, the verification of md5 checksum and GPG
signature is performed automatically for you.
Corporate Server 1.0.1:
Bug IDs fixed (see https://qa.mandrakesoft.com for more information):
To upgrade automatically, use MandrakeUpdate.
If you want to upgrade manually, download the updated package from one
of our FTP server mirrors and upgrade with "rpm -Fvh *.rpm".
You can download the updates directly from one of the mirror sites
Updated packages are available in the "updates/[ver]/RPMS/" directory.
For example, if you are looking for an updated RPM package for
Linux-Mandrake 8.0, look for it in "updates/8.0/RPMS/". Updated source
RPMs are available as well, but you generally do not need to download
Please be aware that sometimes it takes the mirrors a few hours to
You can view other security advisories for Linux-Mandrake at:
If you want to report vulnerabilities, please contact
Linux-Mandrake has two security-related mailing list services that
anyone can subscribe to:
Linux-Mandrake's security announcements mailing list. Only
announcements are sent to this list and it is read-only.
Linux-Mandrake's security discussion mailing list. This list is open
to anyone to discuss Linux-Mandrake security specifically and Linux
security in general.
To subscribe to either list, send a message to
with "subscribe [listname]" in the body of the message.
To remove yourself from either list, send a message to
with "unsubscribe [listname]" in the body of the message.
To get more information on either list, send a message to
with "info [listname]" in the body of the message.
Optionally, you can use the web interface to subscribe to or unsubscribe
from either list: