Cscope find.c buffer overflow
|cscope-findc-bo (50366)||High Risk|
Cscope is vulnerable to a stack-based buffer overflow, caused by improper bounds checking by the find.c script. By sending a specially-crafted file containing an overly long function, a remote attacker could overflow a buffer and execute arbitrary code on the system or cause the application to crash.
Upgrade to the latest version of Cscope (15.7a or later), available from the Cscope Web site. See References.
- Cscope Web site: Cscope.
- oss-security Mailing List, Tue, 5 May 2009 16:45:13 +0200: Old cscope buffer overflow.
- Red Hat Bugzilla ¿ Bug 189666: cscope stack smashing.
- Red Hat Bugzilla ¿ Bug 499174: cscope: putstring buffer overflow.
- ASA-2009-236: cscope security update (RHSA-2009-1101)
- BID-34832: Cscope 'find.c' Stack Based Buffer Overflow Vulnerability
- CVE-2009-1577: Multiple stack-based buffer overflows in the putstring function in find.c in Cscope before 15.6 allow user-assisted remote attackers to execute arbitrary code via a long (1) function name or (2) symbol in a source-code file.
- GLSA-200905-02: Cscope: User-assisted execution of arbitrary code
- OSVDB ID: 56399: Cscope find.c putstring Function Source Code File Handling Multiple Overflows
- RHSA-2009-1101: Moderate: cscope security update
- Cscope Cscope 15.1
- Cscope Cscope 15.3
- Cscope Cscope 15.4
- Cscope Cscope 15.5
- Gentoo Linux
- RedHat Enterprise Linux 3 WS
- RedHat Enterprise Linux 3 AS
- RedHat Enterprise Linux 3 ES
- RedHat Enterprise Linux 3 Desktop
- RedHat Enterprise Linux 4 WS
- RedHat Enterprise Linux 4 ES
- RedHat Enterprise Linux 4 AS
- RedHat Enterprise Linux 4 Desktop
- RedHat Enterprise Linux 4.8.z ES
- RedHat Enterprise Linux 4.8.z AS
May 05, 2009
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this
* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.