GLSA-200905-02 : Cscope: User-assisted execution of arbitrary code

high Nessus Plugin ID 38883

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-200905-02 (Cscope: User-assisted execution of arbitrary code)

James Peach of Apple discovered a stack-based buffer overflow in cscope's handling of long file system paths (CVE-2009-0148). Multiple stack-based buffer overflows were reported in the putstring function when processing an overly long function name or symbol in a source code file (CVE-2009-1577).
Impact :

A remote attacker could entice a user to open a specially crafted source file, possibly resulting in the remote execution of arbitrary code with the privileges of the user running the application.
Workaround :

There is no known workaround at this time.

Solution

All Cscope users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=dev-util/cscope-15.7a'

See Also

https://security.gentoo.org/glsa/200905-02

Plugin Details

Severity: High

ID: 38883

File Name: gentoo_GLSA-200905-02.nasl

Version: 1.13

Type: local

Published: 5/26/2009

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 9.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:cscope, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 5/24/2009

Reference Information

CVE: CVE-2009-0148, CVE-2009-1577

CWE: 119

GLSA: 200905-02