CVE-2005-0245
CVSS7.5
发布时间 :2005-02-01 00:00:00
修订时间 :2016-10-17 23:09:02
NMCO    

[原文]Buffer overflow in gram.y for PostgreSQL 8.0.0 and earlier may allow attackers to execute arbitrary code via a large number of arguments to a refcursor function (gram.y), which leads to a heap-based buffer overflow, a different vulnerability than CVE-2005-0247.


[CNNVD]PostgreSQL gram.y 缓冲区溢出漏洞(CNNVD-200502-002)

        PostgreSQL 是一个自由的对象-关系数据库服务器(数据库管理系统)。
        PostgreSQL 8.0.0及更早版本的gram.y中的缓冲区溢出,可让攻击者通过refcursor函数(gram.y)的大量参数执行任意代码,这会导致基于数据堆的缓冲区溢出,它是与CVE-2005-0247不同的漏洞。

- CVSS (基础分值)

CVSS分值: 7.5 [严重(HIGH)]
机密性影响: [--]
完整性影响: [--]
可用性影响: [--]
攻击复杂度: [--]
攻击向量: [--]
身份认证: [--]

- CPE (受影响的平台与产品)

cpe:/a:postgresql:postgresql:7.2.6
cpe:/a:postgresql:postgresql:7.3.5
cpe:/a:postgresql:postgresql:7.4.4PostgreSQL PostgreSQL 7.4.4
cpe:/a:postgresql:postgresql:7.2.5
cpe:/a:postgresql:postgresql:7.3.4
cpe:/a:postgresql:postgresql:7.4.3PostgreSQL PostgreSQL 7.4.3
cpe:/a:postgresql:postgresql:7.2.4
cpe:/a:postgresql:postgresql:7.3.3
cpe:/a:postgresql:postgresql:7.4.2PostgreSQL PostgreSQL 7.4.2
cpe:/a:postgresql:postgresql:7.2.3
cpe:/a:postgresql:postgresql:7.3.2
cpe:/a:postgresql:postgresql:7.4.1PostgreSQL PostgreSQL 7.4.1
cpe:/a:postgresql:postgresql:7.3.9
cpe:/a:postgresql:postgresql:7.3.8
cpe:/a:postgresql:postgresql:7.4.7PostgreSQL PostgreSQL 7.4.7
cpe:/a:postgresql:postgresql:7.3.7
cpe:/a:postgresql:postgresql:7.4.6PostgreSQL PostgreSQL 7.4.6
cpe:/a:postgresql:postgresql:7.2.7
cpe:/a:postgresql:postgresql:7.3.6
cpe:/a:postgresql:postgresql:7.4.5PostgreSQL PostgreSQL 7.4.5
cpe:/a:postgresql:postgresql:7.2.2
cpe:/a:postgresql:postgresql:7.3.1
cpe:/a:postgresql:postgresql:7.2.1
cpe:/a:postgresql:postgresql:7.4PostgreSQL PostgreSQL 7.4
cpe:/a:postgresql:postgresql:7.3 PostgreSQL 7.3
cpe:/a:postgresql:postgresql:7.2 PostgreSQL 7.2
cpe:/a:postgresql:postgresql:8.0PostgreSQL 8.0

- OVAL (用于检测的技术细节)

oval:org.mitre.oval:def:10175Buffer overflow in gram.y for PostgreSQL 8.0.0 and earlier may allow attackers to execute arbitrary code via a large number of arguments to ...
*OVAL详细的描述了检测该漏洞的方法,你可以从相关的OVAL定义中找到更多检测该漏洞的技术细节。

- 官方数据库链接

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-0245
(官方数据源) MITRE
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2005-0245
(官方数据源) NVD
http://www.cnnvd.org.cn/vulnerability/show/cv_cnnvdid/CNNVD-200502-002
(官方数据源) CNNVD

- 其它链接及资源

http://archives.postgresql.org/pgsql-committers/2005-01/msg00298.php
(VENDOR_ADVISORY)  MLIST  [pgsql-committers] 20050121 pgsql: Prevent overrunning a heap-allocated buffer is more than 1024
http://archives.postgresql.org/pgsql-committers/2005-02/msg00049.php
(VENDOR_ADVISORY)  MLIST  [pgsql-committers] 20050207 pgsql: Prevent 4 more buffer overruns in the PL/PgSQL parser.
http://archives.postgresql.org/pgsql-patches/2005-01/msg00216.php
(VENDOR_ADVISORY)  MLIST  [pgsql-patches] 20050120 Re: WIP: pl/pgsql cleanup
http://marc.info/?l=bugtraq&m=110806034116082&w=2
(UNKNOWN)  BUGTRAQ  20050210 [USN-79-1] PostgreSQL vulnerabilities
http://www.debian.org/security/2005/dsa-683
(VENDOR_ADVISORY)  DEBIAN  DSA-683
http://www.mandriva.com/security/advisories?name=MDKSA-2005:040
(UNKNOWN)  MANDRAKE  MDKSA-2005:040
http://www.novell.com/linux/security/advisories/2005_36_sudo.html
(UNKNOWN)  SUSE  SUSE-SA:2005:036
http://www.redhat.com/support/errata/RHSA-2005-138.html
(VENDOR_ADVISORY)  REDHAT  RHSA-2005:138
http://www.redhat.com/support/errata/RHSA-2005-150.html
(VENDOR_ADVISORY)  REDHAT  RHSA-2005:150
http://www.securityfocus.com/bid/12417
(UNKNOWN)  BID  12417
http://xforce.iss.net/xforce/xfdb/19188
(VENDOR_ADVISORY)  XF  postgresql-cursor-bo(19188)

- 漏洞信息

PostgreSQL gram.y 缓冲区溢出漏洞
高危 缓冲区溢出
2005-02-01 00:00:00 2005-10-25 00:00:00
远程  
        PostgreSQL 是一个自由的对象-关系数据库服务器(数据库管理系统)。
        PostgreSQL 8.0.0及更早版本的gram.y中的缓冲区溢出,可让攻击者通过refcursor函数(gram.y)的大量参数执行任意代码,这会导致基于数据堆的缓冲区溢出,它是与CVE-2005-0247不同的漏洞。

- 公告与补丁

        目前厂商已经发布了升级补丁以修复这个安全问题,补丁下载链接:
        RedHat Fedora Core2
        RedHat postgresql-7.4.7-1.FC2.2.i386.rpm
        Fedora Core 2
        http://download.fedora.redhat.com/pub/fedora/linux/core/updates/2/
        RedHat postgresql-contrib-7.4.7-1.FC2.2.i386.rpm
        Fedora Core 2
        http://download.fedora.redhat.com/pub/fedora/linux/core/updates/2/
        RedHat postgresql-contrib-7.4.7-1.FC2.2.x86_64.rpm
        Fedora Core 2
        http://download.fedora.redhat.com/pub/fedora/linux/core/updates/2/
        RedHat postgresql-debuginfo-7.4.7-1.FC2.2.i386.rpm
        Fedora Core 2
        http://download.fedora.redhat.com/pub/fedora/linux/core/updates/2/
        RedHat postgresql-debuginfo-7.4.7-1.FC2.2.x86_64.rpm
        Fedora Core 2
        http://download.fedora.redhat.com/pub/fedora/linux/core/updates/2/
        RedHat postgresql-devel-7.4.7-1.FC2.2.i386.rpm
        Fedora Core 2
        http://download.fedora.redhat.com/pub/fedora/linux/core/updates/2/
        RedHat postgresql-devel-7.4.7-1.FC2.2.x86_64.rpm
        Fedora Core 2
        http://download.fedora.redhat.com/pub/fedora/linux/core/updates/2/
        RedHat postgresql-docs-7.4.7-1.FC2.2.i386.rpm
        Fedora Core 2
        http://download.fedora.redhat.com/pub/fedora/linux/core/updates/2/
        RedHat postgresql-docs-7.4.7-1.FC2.2.x86_64.rpm
        Fedora Core 2
        http://download.fedora.redhat.com/pub/fedora/linux/core/updates/2/
        RedHat postgresql-jdbc-7.4.7-1.FC2.2.i386.rpm
        Fedora Core 2
        http://download.fedora.redhat.com/pub/fedora/linux/core/updates/2/
        RedHat postgresql-jdbc-7.4.7-1.FC2.2.x86_64.rpm
        Fedora Core 2
        http://download.fedora.redhat.com/pub/fedora/linux/core/updates/2/
        RedHat postgresql-libs-7.4.7-1.FC2.2.i386.rpm
        Fedora Core 2
        http://download.fedora.redhat.com/pub/fedora/linux/core/updates/2/
        RedHat postgresql-libs-7.4.7-1.FC2.2.x86_64.rpm
        Fedora Core 2
        http://download.fedora.redhat.com/pub/fedora/linux/core/updates/2/
        RedHat postgresql-pl-7.4.7-1.FC2.2.i386.rpm
        Fedora Core 2
        http://download.fedora.redhat.com/pub/fedora/linux/core/updates/2/
        RedHat postgresql-pl-7.4.7-1.FC2.2.x86_64.rpm
        Fedora Core 2
        http://download.fedora.redhat.com/pub/fedora/linux/core/updates/2/
        RedHat postgresql-python-7.4.7-1.FC2.2.i386.rpm
        Fedora Core 2
        http://download.fedora.redhat.com/pub/fedora/linux/core/updates/2/
        RedHat postgresql-python-7.4.7-1.FC2.2.x86_64.rpm
        Fedora Core 2
        http://download.fedora.redhat.com/pub/fedora/linux/core/updates/2/
        RedHat postgresql-server-7.4.7-1.FC2.2.i386.rpm
        Fedora Core 2
        http://download.fedora.redhat.com/pub/fedora/linux/core/updates/2/
        RedHat postgresql-server-7.4.7-1.FC2.2.x86_64.rpm
        Fedora Core 2
        http://download.fedora.redhat.com/pub/fedora/linux/core/updates/2/
        RedHat postgresql-tcl-7.4.7-1.FC2.2.i386.rpm
        Fedora Core 2
        http://download.fedora.redhat.com/pub/fedora/linux/core/updates/2/
        RedHat postgresql-tcl-7.4.7-1.FC2.2.x86_64.rpm
        Fedora Core 2
        http://download.fedora.redhat.com/pub/fedora/linux/core/updates/2/
        RedHat postgresql-test-7.4.7-1.FC2.2.i386.rpm
        Fedora Core 2
        http://download.fedora.redhat.com/pub/fedora/linux/core/updates/2/
        RedHat postgresql-test-7.4.7-1.FC2.2.x86_64.rpm
        Fedora Core 2
        http://download.fedora.redhat.com/pub/fedora/linux/core/updates/2/
        RedHat Fedora Core3
        RedHat postgresql-7.4.7-1.FC3.2.i386.rpm
        Fedora Core 3
        http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/
        RedHat postgresql-7.4.7-1.FC3.2.x86_64.rpm
        Fedora Core 3
        http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/
        RedHat postgresql-contrib-7.4.7-1.FC3.2.i386.rpm
        Fedora Core 3
        http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/
        RedHat postgresql-contrib-7.4.7-1.FC3.2.x86_64.rpm
        Fedora Core 3
        http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/
        RedHat postgresql-debuginfo-7.4.7-1.FC3.2.i386.rpm
        Fedora Core 3
        http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/
        RedHat postgresql-debuginfo-7.4.7-1.FC3.2.x86_64.rpm
        Fedora Core 3
        http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/
        RedHat postgresql-devel-7.4.7-1.FC3.2.i386.rpm
        Fedora Core 3
        http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/
        RedHat postgresql-devel-7.4.7-1.FC3.2.x86_64.rpm
        Fedora Core 3
        http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/
        RedHat postgresql-docs-7.4.7-1.FC3.2.i386.rpm
        Fedora Core 3
        http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/
        RedHat postgresql-docs-7.4.7-1.FC3.2.x86_64.rpm
        Fedora Core 3
        http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/
        RedHat postgresql-jdbc-7.4.7-1.FC3.2.i386.rpm
        Fedora Core 3
        http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/
        RedHat postgresql-jdbc-7.4.7-1.FC3.2.x86_64.rpm
        Fedora Core 3
        http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/
        RedHat postgresql-libs-7.4.7-1.FC3.2.i386.rpm
        Fedora Core 3
        http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/
        RedHat postgresql-libs-7.4.7-1.FC3.2.x86_64.rpm
        Fedora Core 3
        http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/
        RedHat postgresql-pl-7.4.7-1.FC3.2.i386.rpm
        Fedora Core 3
        http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/
        RedHat postgresql-pl-7.4.7-1.FC3.2.x86_64.rpm
        Fedora Core 3
        http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/
        RedHat postgresql-python-7.4.7-1.FC3.2.i386.rpm
        Fedora Core 3
        http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/
        RedHat postgresql-python-7.4.7-1.FC3.2.x86_64.rpm
        Fedora Core 3
        http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/
        RedHat postgresql-server-7.4.7-1.FC3.2.i386.rpm
        Fedora Core 3
        http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/
        RedHat postgresql-server-7.4.7-1.FC3.2.x86_64.rpm
        Fedora Core 3
        http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/
        RedHat postgresql-tcl-7.4.7-1.FC3.2.i386.rpm
        Fedora Core 3
        http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/
        RedHat postgresql-tcl-7.4.7-1.FC3.2.x86_64.rpm
        Fedora Core 3
        http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/
        

- 漏洞信息

13774
PostgreSQL gram.y refcursor Function Argument Number Overflow
Input Manipulation
Loss of Integrity Upgrade
Vendor Verified

- 漏洞描述

Unknown or Incomplete

- 时间线

2005-02-12 Unknow
Unknow Unknow

- 解决方案

Unknown or Incomplete

- 相关参考

- 漏洞作者

Unknown or Incomplete
 

 

关于SCAP中文社区

SCAP中文社区是国内第一个以SCAP为主题的中文开放社区。了解更多信息,请查阅[关于本站]

版权声明

CVE/CWE/OVAL均为MITRE公司的注册商标,它们的官方数据源均保存在MITRE公司的相关网站