Gentoo: samba buffer overflow vulnerability
Posted by LinuxSecurity.com Team   
Gentoo An anonymous user can gain remote root access due to a buffer overflow caused by a StrnCpy() into a char array (fname) using a non-constant length (namelen).

- - ---------------------------------------------------------------------
GENTOO LINUX SECURITY ANNOUNCEMENT 200304-02
- - ---------------------------------------------------------------------

          PACKAGE : samba
          SUMMARY : Buffer overflow
             DATE : 2003-04-09 08:44 UTC
          EXPLOIT : remote
VERSIONS AFFECTED : <2.2.8a
    FIXED VERSION : >=2.2.8a
              CVE : CAN-2003-0201

- - ---------------------------------------------------------------------

- From advisory:

"An anonymous user can gain remote root access due to a buffer overflow caused
by a StrnCpy() into a char array (fname) using a non-constant length 
(namelen)."

Read the full advisory at: 
http://marc.theaimsgroup.com/?l=bugtraq&m=104972664226781&w=2

SOLUTION

It is recommended that all Gentoo Linux users who are running
net-fs/samba upgrade to samba-2.2.8a as follows:

emerge sync
emerge samba
emerge clean

- - ---------------------------------------------------------------------
aliz@gentoo.org - GnuPG key is available at  http://cvs.gentoo.org/~aliz
- - ---------------------------------------------------------------------