安全研究

安全漏洞
Cscope find.c文件栈溢出漏洞

发布日期:2009-05-07
更新日期:2009-05-11

受影响系统:
Cscope Cscope < 15.6
不受影响系统:
Cscope Cscope 15.6
描述:
BUGTRAQ  ID: 34832
CVE(CAN) ID: CVE-2009-1577

Cscope是开发人员用于查看源码的工具。

Cscope的find.c文件中的putstring函数存在多个栈溢出漏洞。如果用户打开的源码文件中包含有超长的函数名或符号名的话,就可以触发这些溢出,导致执行任意代码。

<*来源:Ronald Wahl
  
  链接:https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=499174
        https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=189666
        http://security.gentoo.org/glsa/glsa-200905-02.xml
        https://www.redhat.com/support/errata/RHSA-2009-1101.html
*>

建议:
厂商补丁:

RedHat
------
RedHat已经为此发布了一个安全公告(RHSA-2009:1101-01)以及相应补丁:
RHSA-2009:1101-01:Moderate: cscope security update
链接:https://www.redhat.com/support/errata/RHSA-2009-1101.html

Gentoo
------
Gentoo已经为此发布了一个安全公告(GLSA-200905-02)以及相应补丁:
GLSA-200905-02:Cscope: User-assisted execution of arbitrary code
链接:http://security.gentoo.org/glsa/glsa-200905-02.xml

所有Cscope用户都应升级到最新版本:

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

Cscope
------
目前厂商已经发布了升级补丁以修复这个安全问题,请到厂商的主页下载:

http://sourceforge.net/project/downloading.php?group_id=4664&filename=cscope-15.6.tar.gz

浏览次数:2744
严重程度:0(网友投票)
本安全漏洞由绿盟科技翻译整理,版权所有,未经许可,不得转载
绿盟科技给您安全的保障