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

Multiple vulnerabilities in Cscope might allow for the remote execution of arbitrary code.

Affected packages

dev-util/cscope on all architectures
Affected versions < 15.7a
Unaffected versions >= 15.7a

Background

Cscope is a developer's tool for browsing source code.

Description

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.

Resolution

All Cscope users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=dev-util/cscope-15.7a"

References

Release date
May 24, 2009

Latest revision
May 24, 2009: 01

Severity
normal

Exploitable
remote

Bugzilla entries