[Debian] Schwachstelle in cscope - DSA 1064-1

win-sec-ssc at dfn-cert.de win-sec-ssc at dfn-cert.de
Mon Mai 22 13:23:28 CEST 2006


-----BEGIN PGP SIGNED MESSAGE-----

Liebe Kolleginnen und Kollegen,

soeben erreichte uns nachfolgende Warnung des Debian-Teams. Wir geben
diese Informationen unveraendert an Sie weiter.

Cscope ist ein Programm zum Browsen von C-Quellcode.

CAN-2004-2541 - Buffer Oveflow in cscope

  Das Programm cscope ueberprueft die Laenge von Dateinamen in
  "#include" Statements von C-Quellcode nicht, wodurch ein Buffer
  Overflow ausgeloest werden kann. Ein Angreifer kann diese
  Schwachstelle dazu ausnutzen, beliebigen Code mit den Rechten des
  cscope-Benutzers auszufuehren, indem er ihn dazu bringt, eine
  entsprechend aufgebaute C-Quelldatei mit cscope zu oeffnen.

Betroffen sind die folgenden Software Pakete und Plattformen:

  Paket cscope in der stable Distribution (sarge) vor Version 15.5-1.1sarge1
  Paket cscope in der old stable Distribution (woody) vor Version
  15.3-1woody3
  Patches fuer das Paket cscope in der unstable Distribution (sid) sind
  angekuendigt
  

  Stable Distribution (sarge)
  Old Stable Distribution (woody)
  Testing Distribution (sid)

Vom Hersteller werden ueberarbeitete Pakete zur Verfuegung gestellt.

Hersteller Advisory:
  http://www.debian.org/security/2006/dsa-1064


(c) der deutschen Zusammenfassung bei DFN-CERT Services GmbH; die
Verbreitung, auch auszugsweise, ist nur unter Hinweis auf den Urheber,
DFN-CERT Services GmbH, und nur zu nicht kommerziellen Zwecken
gestattet.

Mit freundlichen Gruessen,
	Jan Kohlrausch

- -- 
Jan Kohlrausch (CSIRT), DFN-CERT Services GmbH
Web: https://www.dfn-cert.de/, Phone: +49-40-808077-555
PGP RSA/2048, A5DD03D1, A2 55 1C 51 0A 30 3E 78  5B 40 DA B7 14 F7 C9 E8

- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- - --------------------------------------------------------------------------
Debian Security Advisory DSA 1064-1                    security at debian.org
http://www.debian.org/security/                         Moritz Muehlenhoff
May 19th, 2006                          http://www.debian.org/security/faq
- - --------------------------------------------------------------------------

Package        : cscope
Vulnerability  : buffer overflows
Problem-Type   : local(remote)
Debian-specific: no
CVE ID         : CVE-2004-2541
Debian Bug     : 340177

Jason Duell 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 old stable distribution (woody) this problem has been fixed in
version 15.3-1woody3.

For the stable distribution (sarge) this problem has been fixed in
version 15.5-1.1sarge1.

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 3.0 alias woody
- - --------------------------------

  Source archives:

    http://security.debian.org/pool/updates/main/c/cscope/cscope_15.3-1woody3.dsc
      Size/MD5 checksum:      593 d36603717733dc8ff49914eaf4300381
    http://security.debian.org/pool/updates/main/c/cscope/cscope_15.3-1woody3.diff.gz
      Size/MD5 checksum:     8034 83507ba06fb031e63f3b6cb260620166
    http://security.debian.org/pool/updates/main/c/cscope/cscope_15.3.orig.tar.gz
      Size/MD5 checksum:   196580 7540514aab8c0a3737ee8dd08a5422ba

  Alpha architecture:

    http://security.debian.org/pool/updates/main/c/cscope/cscope_15.3-1woody3_alpha.deb
      Size/MD5 checksum:   130048 d729693cb355419dc0d9eceaeab67e58

  ARM architecture:

    http://security.debian.org/pool/updates/main/c/cscope/cscope_15.3-1woody3_arm.deb
      Size/MD5 checksum:   111718 2001c0fce84ebca43ab2a7e9c4f56a70

  Intel IA-32 architecture:

    http://security.debian.org/pool/updates/main/c/cscope/cscope_15.3-1woody3_i386.deb
      Size/MD5 checksum:   105214 a064ad2244c7ff3736a9002675de4056

  Intel IA-64 architecture:

    http://security.debian.org/pool/updates/main/c/cscope/cscope_15.3-1woody3_ia64.deb
      Size/MD5 checksum:   148852 032171f8c88da3293ed3b416b583f59d

  HP Precision architecture:

    http://security.debian.org/pool/updates/main/c/cscope/cscope_15.3-1woody3_hppa.deb
      Size/MD5 checksum:   121968 ab9b12f38cfdc988b35fa98f481e2bfc

  Motorola 680x0 architecture:

    http://security.debian.org/pool/updates/main/c/cscope/cscope_15.3-1woody3_m68k.deb
      Size/MD5 checksum:   102402 4a7ad64b1bf06b0bbccee27c0a0897f6

  Big endian MIPS architecture:

    http://security.debian.org/pool/updates/main/c/cscope/cscope_15.3-1woody3_mips.deb
      Size/MD5 checksum:   119910 de825e4e959c3cda3b574169a69895da

  Little endian MIPS architecture:

    http://security.debian.org/pool/updates/main/c/cscope/cscope_15.3-1woody3_mipsel.deb
      Size/MD5 checksum:   119654 ac7b027b31e2be6c33f5ad3f8e2dc4b7

  PowerPC architecture:

    http://security.debian.org/pool/updates/main/c/cscope/cscope_15.3-1woody3_powerpc.deb
      Size/MD5 checksum:   114396 7077f6a7c2d11f85bf5171b1bdffe848

  IBM S/390 architecture:

    http://security.debian.org/pool/updates/main/c/cscope/cscope_15.3-1woody3_s390.deb
      Size/MD5 checksum:   111188 b0c6e8b9fd1f0a5ba755e3ffd562910a

  Sun Sparc architecture:

    http://security.debian.org/pool/updates/main/c/cscope/cscope_15.3-1woody3_sparc.deb
      Size/MD5 checksum:   115322 c025c7ae8b29f671dc8abbb3aed26f48


Debian GNU/Linux 3.1 alias sarge
- - --------------------------------

  Source archives:

    http://security.debian.org/pool/updates/main/c/cscope/cscope_15.5-1.1sarge1.dsc
      Size/MD5 checksum:      597 39f9427ce419d5045e6097c435a7a0ef
    http://security.debian.org/pool/updates/main/c/cscope/cscope_15.5-1.1sarge1.diff.gz
      Size/MD5 checksum:    27553 ac506371d19916ee37e605594a5c9073
    http://security.debian.org/pool/updates/main/c/cscope/cscope_15.5.orig.tar.gz
      Size/MD5 checksum:   243793 beb6032a301bb11524aec74bfb5e4840

  Alpha architecture:

    http://security.debian.org/pool/updates/main/c/cscope/cscope_15.5-1.1sarge1_alpha.deb
      Size/MD5 checksum:   164426 611b802728aa465007172b4e37419c9b

  AMD64 architecture:

    http://security.debian.org/pool/updates/main/c/cscope/cscope_15.5-1.1sarge1_amd64.deb
      Size/MD5 checksum:   152818 52bb193c57af94c4a5b4f6d1c8d054a9

  ARM architecture:

    http://security.debian.org/pool/updates/main/c/cscope/cscope_15.5-1.1sarge1_arm.deb
      Size/MD5 checksum:   147144 2883925e350e9c1a61df7bd0b6ded80b

  Intel IA-32 architecture:

    http://security.debian.org/pool/updates/main/c/cscope/cscope_15.5-1.1sarge1_i386.deb
      Size/MD5 checksum:   143268 7b5041218a1d0d4683f149fe333e52e6

  Intel IA-64 architecture:

    http://security.debian.org/pool/updates/main/c/cscope/cscope_15.5-1.1sarge1_ia64.deb
      Size/MD5 checksum:   181016 1f30bd424479d8002e4afbe758ed927a

  HP Precision architecture:

    http://security.debian.org/pool/updates/main/c/cscope/cscope_15.5-1.1sarge1_hppa.deb
      Size/MD5 checksum:   158416 04f6d209cf7f6d99b28bbc3e74f393c3

  Motorola 680x0 architecture:

    http://security.debian.org/pool/updates/main/c/cscope/cscope_15.5-1.1sarge1_m68k.deb
      Size/MD5 checksum:   140056 2a1f177e9acbab792c4f8c81cc297c94

  Big endian MIPS architecture:

    http://security.debian.org/pool/updates/main/c/cscope/cscope_15.5-1.1sarge1_mips.deb
      Size/MD5 checksum:   157266 70fb8dcdbe4a9dd2ef2514a6fa77f3d9

  Little endian MIPS architecture:

    http://security.debian.org/pool/updates/main/c/cscope/cscope_15.5-1.1sarge1_mipsel.deb
      Size/MD5 checksum:   155642 2fbdaf957f0eb69ddaf8f77895c0b168

  PowerPC architecture:

    http://security.debian.org/pool/updates/main/c/cscope/cscope_15.5-1.1sarge1_powerpc.deb
      Size/MD5 checksum:   154582 bcdde0a0f8a80b55fbab45ce66027aeb

  IBM S/390 architecture:

    http://security.debian.org/pool/updates/main/c/cscope/cscope_15.5-1.1sarge1_s390.deb
      Size/MD5 checksum:   154312 bf35186e8d1fcab8c75e8d93282ccc17

  Sun Sparc architecture:

    http://security.debian.org/pool/updates/main/c/cscope/cscope_15.5-1.1sarge1_sparc.deb
      Size/MD5 checksum:   148258 f6a9b63c74193e3c60d36322c0b4d456



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

- - ---------------------------------------------------------------------------------
For apt-get: deb http://security.debian.org/ stable/updates main
For dpkg-ftp: ftp://security.debian.org/debian-security dists/stable/updates/main
Mailing list: debian-security-announce at lists.debian.org
Package info: `apt-cache show <pkg>' and http://packages.debian.org/<pkg>
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEbk2OXm3vHE4uyloRAojnAJ0WZEP6dypAtDSkhCJKDF552dWlhQCePwgE
WExMRNbPsBPZ0Aknunehz8I=
=eK4G
- -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iQEVAwUBRHGfL/BT2+ukQ5RFAQExyAgAmR78p1husUd+EN+EoOMjCB2u73y+o2Px
Jo2mQ+zAOgCZt31ZmxodA5aij4v1jOSSzIp/7hUvxvFzZDNr1w4+Ux/WJKlfkly6
dWk4IIbwZ/YhMJdQyoei1Fwj6vUtr8iidNlP0K6mEu7Hy7Md+sfYb+3tD9eGlx7h
O1OERm3MxVHUG29HAmxHd/pw5krm+SLPNgUCRxC2os4CjdbVghHBncew/QlQXHnG
w/KcX7oYJ8bupNxgpDfxz15/SKpQkO4PajuR90wExa2WWgefxJz8QFzdWLlXim6E
70t7AIbU/pQ/U+pdP7XWnDHrESNTKNXskSZ6dEGVaSv+xJoHp71FUg==
=SC8J
-----END PGP SIGNATURE-----