DSA-1064-1 cscope -- buffer overflows

Related Vulnerabilities: CVE-2004-2541  

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.

Debian Security Advisory

DSA-1064-1 cscope -- buffer overflows

Date Reported:
19 May 2006
Affected Packages:
cscope
Vulnerable:
Yes
Security database references:
In the Debian bugtracking system: Bug 340177.
In Mitre's CVE dictionary: CVE-2004-2541.
More information:

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.

Fixed in:

Debian GNU/Linux 3.0 (woody)

Source:
http://security.debian.org/pool/updates/main/c/cscope/cscope_15.3-1woody3.dsc
http://security.debian.org/pool/updates/main/c/cscope/cscope_15.3-1woody3.diff.gz
http://security.debian.org/pool/updates/main/c/cscope/cscope_15.3.orig.tar.gz
Alpha:
http://security.debian.org/pool/updates/main/c/cscope/cscope_15.3-1woody3_alpha.deb
ARM:
http://security.debian.org/pool/updates/main/c/cscope/cscope_15.3-1woody3_arm.deb
Intel IA-32:
http://security.debian.org/pool/updates/main/c/cscope/cscope_15.3-1woody3_i386.deb
Intel IA-64:
http://security.debian.org/pool/updates/main/c/cscope/cscope_15.3-1woody3_ia64.deb
HPPA:
http://security.debian.org/pool/updates/main/c/cscope/cscope_15.3-1woody3_hppa.deb
Motorola 680x0:
http://security.debian.org/pool/updates/main/c/cscope/cscope_15.3-1woody3_m68k.deb
Big endian MIPS:
http://security.debian.org/pool/updates/main/c/cscope/cscope_15.3-1woody3_mips.deb
Little endian MIPS:
http://security.debian.org/pool/updates/main/c/cscope/cscope_15.3-1woody3_mipsel.deb
PowerPC:
http://security.debian.org/pool/updates/main/c/cscope/cscope_15.3-1woody3_powerpc.deb
IBM S/390:
http://security.debian.org/pool/updates/main/c/cscope/cscope_15.3-1woody3_s390.deb
Sun Sparc:
http://security.debian.org/pool/updates/main/c/cscope/cscope_15.3-1woody3_sparc.deb

Debian GNU/Linux 3.1 (sarge)

Source:
http://security.debian.org/pool/updates/main/c/cscope/cscope_15.5-1.1sarge1.dsc
http://security.debian.org/pool/updates/main/c/cscope/cscope_15.5-1.1sarge1.diff.gz
http://security.debian.org/pool/updates/main/c/cscope/cscope_15.5.orig.tar.gz
Alpha:
http://security.debian.org/pool/updates/main/c/cscope/cscope_15.5-1.1sarge1_alpha.deb
AMD64:
http://security.debian.org/pool/updates/main/c/cscope/cscope_15.5-1.1sarge1_amd64.deb
ARM:
http://security.debian.org/pool/updates/main/c/cscope/cscope_15.5-1.1sarge1_arm.deb
Intel IA-32:
http://security.debian.org/pool/updates/main/c/cscope/cscope_15.5-1.1sarge1_i386.deb
Intel IA-64:
http://security.debian.org/pool/updates/main/c/cscope/cscope_15.5-1.1sarge1_ia64.deb
HPPA:
http://security.debian.org/pool/updates/main/c/cscope/cscope_15.5-1.1sarge1_hppa.deb
Motorola 680x0:
http://security.debian.org/pool/updates/main/c/cscope/cscope_15.5-1.1sarge1_m68k.deb
Big endian MIPS:
http://security.debian.org/pool/updates/main/c/cscope/cscope_15.5-1.1sarge1_mips.deb
Little endian MIPS:
http://security.debian.org/pool/updates/main/c/cscope/cscope_15.5-1.1sarge1_mipsel.deb
PowerPC:
http://security.debian.org/pool/updates/main/c/cscope/cscope_15.5-1.1sarge1_powerpc.deb
IBM S/390:
http://security.debian.org/pool/updates/main/c/cscope/cscope_15.5-1.1sarge1_s390.deb
Sun Sparc:
http://security.debian.org/pool/updates/main/c/cscope/cscope_15.5-1.1sarge1_sparc.deb

MD5 checksums of the listed files are available in the original advisory.