Debian: New cscope packages fix arbitrary code execution
Posted by Benjamin D. Thomas   
- ------------------------------------------------------------------------
Debian Security Advisory DSA-1806-1                               Moritz Muehlenhoff
May 24, 2009                
- ------------------------------------------------------------------------

Package        : cscope
Vulnerability  : buffer overflows
Problem type   : local(remote)
Debian-specific: no
CVE Id(s)      : CVE-2009-0148
Debian Bug     : 528510

Matt Murphy discovered that cscope, a source code browsing tool, does not
verify the length of file names sourced in include statements, which may
potentially lead to the execution of arbitrary code through specially
crafted source code files.

For the stable distribution (lenny), this problem has been fixed in
version 15.6-6+lenny1.

Due to a technical limitation in the Debian archive management scripts
the update for the old stable distribution (etch) cannot be released
synchronously. It will be fixed in version 15.6-2+etch1 soon.

For the unstable distribution (sid), this problem will be fixed soon.

We recommend that you upgrade your cscope package.

Upgrade instructions
- --------------------

wget url
        will fetch the file for you
dpkg -i file.deb
        will install the referenced file.

If you are using the apt-get package manager, use the line for
sources.list as given below:

apt-get update
        will update the internal database
apt-get upgrade
        will install corrected packages

You may use an automated update by adding the resources from the
footer to the proper configuration.

Debian GNU/Linux 5.0 alias lenny
- --------------------------------

Stable updates are available for alpha, amd64, arm, armel, hppa, i386, ia64, mips, mipsel, powerpc, s390 and sparc.

Source archives:
    Size/MD5 checksum:     1175 bf5b3b5991280df7520db37a6ce8c8c6
    Size/MD5 checksum:   391223 db87833f90d8267b1fc0c419cfc4d219
    Size/MD5 checksum:    30315 08f6bc421b1e8dd3eebb3fa8cd9b817b

alpha architecture (DEC Alpha)
    Size/MD5 checksum:   170266 3b13e268cd5564f9afa60b879bd79d8c

amd64 architecture (AMD x86_64 (AMD64))
    Size/MD5 checksum:   161762 c9c8cf78c0b062a05417223aefce23c3

arm architecture (ARM)
    Size/MD5 checksum:   156238 68c4cd9fba37cb7a0482e19aecce8c5f

armel architecture (ARM EABI)
    Size/MD5 checksum:   157660 318f6a7fc67df0ffc65944abe87c809e

hppa architecture (HP PA RISC)
    Size/MD5 checksum:   165382 cde153b1444051187275bdbdee34fe57

i386 architecture (Intel ia32)
    Size/MD5 checksum:   151112 a5283fb2f802e17bafeed14cdd17e7b4

ia64 architecture (Intel ia64)
    Size/MD5 checksum:   193944 1742e60d0c5cd49021ac3cdf4614cb82

mips architecture (MIPS (Big Endian))
    Size/MD5 checksum:   166234 03ea9e811e284cdb1a79f3ee9aa9ed94

mipsel architecture (MIPS (Little Endian))
    Size/MD5 checksum:   165018 ad72b467d114029b499d85f67cc91907

powerpc architecture (PowerPC)
    Size/MD5 checksum:   165280 6f6997805a9b70dbcac46fab353bc34b

s390 architecture (IBM S/390)
    Size/MD5 checksum:   164250 c6b60c11774775d27b44377947a70951

sparc architecture (Sun SPARC/UltraSPARC)
    Size/MD5 checksum:   157986 91e6c07942348657e90c411d04dc5ebc

  These files will probably be moved into the stable distribution on
  its next update.

- ---------------------------------------------------------------------------------
For apt-get: deb stable/updates main
For dpkg-ftp: dists/stable/updates/main
Mailing list: