OpenPKG Information for VU#298233

Samba contains buffer overflow in SMB/CIFS packet fragment reassembly code



Vendor Statement

Hash: SHA1


OpenPKG Security Advisory                            The OpenPKG Project                   
OpenPKG-SA-2003.021                                          18-Mar-2003

Package:             samba
Vulnerability:       remote root exploit / chown race condition
OpenPKG Specific:    no

Affected Releases:   Affected Packages:          Corrected Packages:
OpenPKG CURRENT      <= samba-2.2.7a-20030207    >= samba-2.2.8-20030316
OpenPKG 1.2          <= samba-2.2.7a-1.2.0       >= samba-2.2.7a-1.2.1
OpenPKG 1.1          <= samba-2.2.5-1.1.1        >= samba-2.2.5-1.1.2

Dependent Packages:  none

 Sebastian Krahmer, SuSE Security Team, [0] has alerted the Samba Team
 to two serious vulnerabilities in all versions of Samba [1] up to and
 including version 2.2.7a. We have backported the security relevant
 pieces of the 2.2.8 vendor changes into releases used by OpenPKG.

  If exploited correctly, it could lead to an anonymous user gaining
 root access on a Samba serving system. All versions of Samba up to
 and including Samba 2.2.7a are vulnerable. The Common Vulnerabilities
 and Exposures (CVE) project assigned the id CAN-2003-0085 [2] to the

  In addition he pointed out a chown(2) race condition which could
 allow overwriting of critical system files if exploited. The
 Common Vulnerabilities and Exposures (CVE) project assigned the id
 CAN-2003-0086 [3] to the problem.

  Please check whether you are affected by running "<prefix>/bin/rpm -q
 samba". If you have the "samba" package installed and its version is
 affected (see above), we recommend that you immediately upgrade it
 (see Solution). [4][5]

 Select the updated source RPM appropriate for your OpenPKG release
 [6][7], fetch it from the OpenPKG FTP service [8][9] or a mirror
 location, verify its integrity [10], build a corresponding binary
 RPM from it [4] and update your OpenPKG installation by applying the
 binary RPM [5]. For the current release OpenPKG 1.2, perform the
 following operations to permanently fix the security problem (for
 other releases adjust accordingly).

  $ ftp
 ftp> bin
 ftp> cd release/1.2/UPD
 ftp> get samba-2.2.7a-1.2.1.src.rpm
 ftp> bye
 $ <prefix>/bin/rpm -v --checksig samba-2.2.7a-1.2.1.src.rpm
 $ <prefix>/bin/rpm --rebuild samba-2.2.7a-1.2.1.src.rpm
 $ su -
 # <prefix>/bin/rpm -Fvh <prefix>/RPM/PKG/samba-2.2.7a-1.2.1.*.rpm


For security reasons, this advisory was digitally signed with
the OpenPGP public key "OpenPKG <>" (ID 63C4CB9F)
of the OpenPKG project which you can find under the official URL or on To
check the integrity of this advisory, verify its digital signature by
using GnuPG ( For instance, pipe this message to
the command "gpg --verify --keyserver".

Comment: OpenPKG <>


Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.

Vendor References



The CERT/CC has no additional comments at this time.

If you have feedback, comments, or additional information about this vulnerability, please send us email.