---

SuSE Linux Advisory: cvs


____________________________________________________________________________

                        SuSE Security Announcement

        Package:                cvs
        Announcement-ID:        SuSE-SA:2003:0007
        Date:                   Wednesday, Jan 22th 2003 08:30 MET
        Affected products:      7.1, 7.2, 7.3, 8.0, 8.1
                                SuSE Linux Database Server
                                SuSE eMail Server 3.1
                                SuSE eMail Server III
                                SuSE Firewall Adminhost VPN
                                SuSE Linux Admin-CD for Firewall
                                SuSE Firewall on CD 2 - VPN
                                SuSE Firewall on CD 2
                                SuSE Linux Enterprise Server 7
                                SuSE Linux Connectivity Server
                                SuSE Linux Enterprise Server 8
                                SuSE Linux Office Server
        Vulnerability Type:     remote system compromise
        Severity (1-10):        3
        SuSE default package:   no
        Cross References:       CAN-2003-0015

    Content of this advisory:
        1) security vulnerability resolved:
            - double free()
            - removed dangerous features
           problem description, discussion, solution and upgrade information
        2) pending vulnerabilities, solutions, workarounds:
            - libmcrypt
            - gfxboot
            - mod_php4
            - wget
            - IMP
        3) standard appendix (further information)

____________________________________________________________________________

1)  problem description, brief discussion, solution, upgrade information

    CVS (Concurrent Versions System) is a version control system which
    helps to manage concurrent editing of files by various authors.
    Stefan Esser of e-matters reported a "double free" bug in CVS
    server code for handling directory requests. This free() call allows
    an attacker with CVS read access to compromise a CVS server.
    Additionally two features ('Update-prog' and 'Checkin-prog') were
    disabled to stop clients with write access to execute arbitrary code
    on the server. These features may be configurable at run-time in future
    releases of CVS server.

    There is no temporary fix known other then disable public access to the
    CVS server. You do not need to update the cvs package as long as you
    need 'Update-prog' and 'Checkin-prog' feature and work in a trusted
    environment.
    Otherwise install the new packages from our FTP servers please.

    Please download the update package for your distribution and verify its
    integrity by the methods listed in section 3) of this announcement.
    Then, install the package using the command "rpm -Fhv file.rpm" to apply
    the update.
    Our maintenance customers are being notified individually. The packages
    are being offered to install from the maintenance web.



    Intel i386 Platform:

    SuSE-8.1:
    ftp://ftp.suse.com/pub/suse/i386/update/8.1/rpm/i586/cvs-1.11.1p1-235.i586.rpm
      39c4b7d43dbfed5dbc4e1cff6703929d
    patch rpm(s):
    ftp://ftp.suse.com/pub/suse/i386/update/8.1/rpm/i586/cvs-1.11.1p1-235.i586.patch.rpm
      c8986430a0f01c0ccc7fd2795769cb42
    source rpm(s):
    ftp://ftp.suse.com/pub/suse/i386/update/8.1/rpm/src/cvs-1.11.1p1-235.src.rpm
      7aaa5bbd5740f0645307e905faddb748

    SuSE-8.0:
    ftp://ftp.suse.com/pub/suse/i386/update/8.0/d3/cvs-1.11.1p1-235.i386.rpm
      e575a12fed87ff0bfb0fb4a62d720ce6
    patch rpm(s):
    ftp://ftp.suse.com/pub/suse/i386/update/8.0/d3/cvs-1.11.1p1-235.i386.patch.rpm
      97c13a4d400c28dbbbbf4f1b65f11ec7
    source rpm(s):
    ftp://ftp.suse.com/pub/suse/i386/update/8.0/zq1/cvs-1.11.1p1-235.src.rpm
      c977c2986c677e8489f5170fcef96945

    SuSE-7.3:
    ftp://ftp.suse.com/pub/suse/i386/update/7.3/d2/cvs-1.11-230.i386.rpm
      0b68cab2f1d7f01570932789c0ec6719
    source rpm(s):
    ftp://ftp.suse.com/pub/suse/i386/update/7.3/zq1/cvs-1.11-230.src.rpm
      35ab94986627b96962bada1fc9998b88

    SuSE-7.2:
    ftp://ftp.suse.com/pub/suse/i386/update/7.2/d2/cvs-1.11-231.i386.rpm
      56933c0d5cb7d5e3c419dcfde9f4359f
    source rpm(s):
    ftp://ftp.suse.com/pub/suse/i386/update/7.2/zq1/cvs-1.11-231.src.rpm
      f997358538750a4fe856e4ef08c9282a

    SuSE-7.1:
    ftp://ftp.suse.com/pub/suse/i386/update/7.1/d2/cvs-1.11-230.i386.rpm
      e268ef72120bbe32dd8f9de2a147cd35
    source rpm(s):
    ftp://ftp.suse.com/pub/suse/i386/update/7.1/zq1/cvs-1.11-230.src.rpm
      6cbbdc648d0f92fb9bdaef0768393596



    Sparc Platform:

    SuSE-7.3:
    ftp://ftp.suse.com/pub/suse/sparc/update/7.3/d2/cvs-1.11-103.sparc.rpm
      d844d36f87a1314c5e9e0cef0c5c5e74
    source rpm(s):
    ftp://ftp.suse.com/pub/suse/sparc/update/7.3/zq1/cvs-1.11-103.src.rpm
      156571c1dffc05ecab860311397c71c6




    AXP Alpha Platform:

    SuSE-7.1:
    ftp://ftp.suse.com/pub/suse/axp/update/7.1/d2/cvs-1.11-106.alpha.rpm
      674d08dd948ec15f3b7bb9a6efbbf802
    source rpm(s):
    ftp://ftp.suse.com/pub/suse/axp/update/7.1/zq1/cvs-1.11-106.src.rpm
      65329bf424c02268d6b6c93a351f816c



    PPC Power PC Platform:

    SuSE-7.3:
    ftp://ftp.suse.com/pub/suse/ppc/update/7.3/d2/cvs-1.11-115.ppc.rpm
      3bbc332aa35da69e6fcaa60c4f085e72
    source rpm(s):
    ftp://ftp.suse.com/pub/suse/ppc/update/7.3/zq1/cvs-1.11-115.src.rpm
      e0fbe772152cb24a0d0ee2921432d89d

    SuSE-7.1:
    ftp://ftp.suse.com/pub/suse/ppc/update/7.1/d2/cvs-1.11-115.ppc.rpm
      fdcdabeaf8be8cd78ac8ddab2d17cf61
    source rpm(s):
    ftp://ftp.suse.com/pub/suse/ppc/update/7.1/zq1/cvs-1.11-115.src.rpm
      e58e5376fccfd6d00abbe1187b813e78


____________________________________________________________________________

2)  Pending vulnerabilities in SuSE Distributions and Workarounds:

    - libmcrypt
      Several buffer overflows in libmcrypt were discovered by Ilia
      Alshanetsky. The buffer overflows can lead to system compromise.
      New packages are currently being build.

    - gfxboot
      Since SuSE 8.1 the bootloader lilo is replaced by grub.
      Grub's password authentication can be bypassed.
      New packages will be released soon.

    - mod_php4
      A buffer overflow in the wordwrap() function has been reported.
      New packages will be prepared and should be available on our ftp
      servers soon.

    - wget
      A buffer overflow in wget's url_filename function was found.
      This buffer overflow can be triggered by long URLs.
      New packages are currently being build and will be released
      soon.

    - IMP
      The web front-end of IMP is vulnerable to a SQL injection attack.
      New packages are currently being build and will be released
      soon.

____________________________________________________________________________

3)  standard appendix: authenticity verification, additional information

  - Package authenticity verification:

    SuSE update packages are available on many mirror ftp servers all over
    the world. While this service is being considered valuable and important
    to the free and open source software community, many users wish to be
    sure about the origin of the package and its content before installing
    the package. There are two verification methods that can be used
    independently from each other to prove the authenticity of a downloaded
    file or rpm package:
    1) md5sums as provided in the (cryptographically signed) announcement.
    2) using the internal gpg signatures of the rpm package.

    1) execute the command
        md5sum <name-of-the-file.rpm>
       after you downloaded the file from a SuSE ftp server or its mirrors.
       Then, compare the resulting md5sum with the one that is listed in the
       announcement. Since the announcement containing the checksums is
       cryptographically signed (usually using the key [email protected]),
       the checksums show proof of the authenticity of the package.
       We disrecommend to subscribe to security lists which cause the
       email message containing the announcement to be modified so that
       the signature does not match after transport through the mailing
       list software.
       Downsides: You must be able to verify the authenticity of the
       announcement in the first place. If RPM packages are being rebuilt
       and a new version of a package is published on the ftp server, all
       md5 sums for the files are useless.

    2) rpm package signatures provide an easy way to verify the authenticity
       of an rpm package. Use the command
        rpm -v --checksig <file.rpm>
       to verify the signature of the package, where <file.rpm> is the
       filename of the rpm package that you have downloaded. Of course,
       package authenticity verification can only target an un-installed rpm
       package file.
       Prerequisites:
        a) gpg is installed
        b) The package is signed using a certain key. The public part of this
           key must be installed by the gpg program in the directory
           ~/.gnupg/ under the user's home directory who performs the
           signature verification (usually root). You can import the key
           that is used by SuSE in rpm packages for SuSE Linux by saving
           this announcement to a file ("announcement.txt") and
           running the command (do "su -" to be root):
            gpg --batch; gpg < announcement.txt | gpg --import
           SuSE Linux distributions version 7.1 and thereafter install the
           key "[email protected]" upon installation or upgrade, provided that
           the package gpg is installed. The file containing the public key
           is placed at the top-level directory of the first CD (pubring.gpg)
           and at ftp://ftp.suse.com/pub/suse/pubring.gpg-build.suse.de .


  - SuSE runs two security mailing lists to which any interested party may
    subscribe:

    [email protected]
        -   general/linux/SuSE security discussion.
            All SuSE security announcements are sent to this list.
            To subscribe, send an email to
                <[email protected]>.

    [email protected]
        -   SuSE's announce-only mailing list.
            Only SuSE's security announcements are sent to this list.
            To subscribe, send an email to
                <[email protected]>.

    For general information or the frequently asked questions (faq)
    send mail to:
        <[email protected]> or
        <[email protected]> respectively.

    =====================================================================
    SuSE's security contact is <[email protected]> or <[email protected]>.
    The <[email protected]> public key is listed below.
    =====================================================================
____________________________________________________________________________

    The information in this advisory may be distributed or reproduced,
    provided that the advisory is not modified in any way. In particular,
    it is desired that the clear-text signature shows proof of the
    authenticity of the text.
    SuSE Linux AG makes no warranties of any kind whatsoever with respect
    to the information contained in this security advisory.

Type Bits/KeyID    Date       User ID
pub  2048R/3D25D3D9 1999-03-06 SuSE Security Team <[email protected]>
pub  1024D/9C800ACA 2000-10-19 SuSE Package Signing Key <[email protected]>



Bye,
     Thomas
-- 
  Thomas Biege <[email protected]>
  SuSE Linux AG,Deutschherrnstr. 15-19,90429 Nuernberg
  Function: Security Support & Auditing
  "lynx -source http://www.suse.de/~thomas/contact/thomas.asc | pgp -fka"
  Key fingerprint = 51 AD B9 C7 34 FC F2 54  01 4A 1C D4 66 64 09 83
-- 

  Over thinking, Over analyzing, seperates the body from the mind.
                                               - Maynard James Keenan


Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis