CentOS 5/6:postgresql/postgresql84 (CESA-2014:0211)

medium Nessus 插件 ID 72694

简介

远程 CentOS 主机缺少一个或多个安全更新。

描述

更新后的 postgresql84 和 postgresql 程序包修复了多种安全问题,现在可分别用于 Red Hat Enterprise Linux 5 和 6。

Red Hat 安全响应团队已将此更新评级为具有重要安全影响。可从“参考”部分中的 CVE 链接获取针对每个漏洞的通用漏洞评分系统 (CVSS) 基本分数,其给出了详细的严重性等级。

PostgreSQL 是高级对象关系数据库管理系统 (DBMS)。

在 PostgreSQL 的日期/时间实现中发现多种基于堆栈的缓冲区溢出缺陷。经过认证的数据库用户可提供特别构建的日期/时间值,处理该值时可导致 PostgreSQL 崩溃,或者可能以运行 PostgreSQL 的用户的权限执行任意代码。
(CVE-2014-0063)

发现 PostgreSQL 的多种类型输入函数中存在多种整数溢出缺陷,可导致基于堆的缓冲区溢出。
经过认证的数据库用户可能利用这些缺陷导致 PostgreSQL 崩溃,或者可能以运行 PostgreSQL 的用户的权限执行任意代码。(CVE-2014-0064)

在 PostgreSQL 中发现多种潜在缓冲区溢出缺陷。经过认证的数据库用户可能利用这些缺陷导致 PostgreSQL 崩溃,或者可能以运行 PostgreSQL 的用户的权限执行任意代码。(CVE-2014-0065)

已发现向 PostgreSQL 数据库中的数据库用户授予 SQL 角色而不指定“ADMIN”选项时,可允许被授予者从其被授予角色删除其他用户。经过认证的数据库用户可利用此缺陷从其被授予访问权限的 SQL 角色中删除用户。(CVE-2014-0060)

在 PostgreSQL 的过程语言 (PL) 提供的验证器函数中发现一个缺陷。经过认证的数据库用户可能利用此缺陷升级其权限。(CVE-2014-0061)

在 CREATE INDEX 命令对必须编制索引的表格执行多种独立查找的方式中发现争用条件。经过认证的数据库用户可能利用此缺陷升级其权限。(CVE-2014-0062)

已发现 PostgreSQL 的 chkpass 扩展不检查 crypt() 函数的返回值。经过认证的数据库用户可能利用此缺陷通过空指针取消引用使 PostgreSQL 崩溃。(CVE-2014-0066)

Red Hat 在此感谢 PostgreSQL 项目报告这些问题。上游感谢 CVE-2014-0060 和 CVE-2014-0063 的原始报告者 Noah Misch,CVE-2014-0064 的原始报告者 Heikki Linnakangas 和 Noah Misch,CVE-2014-0065 的原始报告者 Peter Eisentraut 和 Jozef Mlich,CVE-2014-0061 的原始报告者 Andres Freund,CVE-2014-0062 的原始报告者 Robert Haas 和 Andres Freund,以及 CVE-2014-0066 的原始报告者 Honza Horak 和 Bruce Momjian。

更新后的程序包升级到 PostgreSQL 8.4.20 版,修复了这些问题以及多个非安全问题。有关完整更改列表,请参阅《PostgreSQL 发行说明》:

http://www.postgresql.org/docs/8.4/static/release-8-4-19.html http://www.postgresql.org/docs/8.4/static/release-8-4-20.html

建议所有 PostgreSQL 用户升级这些更新后的程序包,其中包含用于修正这些问题的向后移植的修补程序。如果 postgresql 服务正在运行,它将在安装此更新后自动重新启动。

解决方案

更新受影响的 postgresql 和/或 postgresql84 程序包。

另见

http://www.nessus.org/u?2ac7e630

http://www.nessus.org/u?62fa0086

插件详情

严重性: Medium

ID: 72694

文件名: centos_RHSA-2014-0211.nasl

版本: 1.21

类型: local

代理: unix

发布时间: 2014/2/26

最近更新时间: 2021/1/4

支持的传感器: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Agentless Assessment, Nessus

风险信息

VPR

风险因素: Medium

分数: 5.9

CVSS v2

风险因素: Medium

基本分数: 6.5

时间分数: 4.8

矢量: CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:P

CVSS 分数来源: CVE-2014-0061

漏洞信息

CPE: p-cpe:/a:centos:centos:postgresql, p-cpe:/a:centos:centos:postgresql-contrib, p-cpe:/a:centos:centos:postgresql-devel, p-cpe:/a:centos:centos:postgresql-docs, p-cpe:/a:centos:centos:postgresql-libs, p-cpe:/a:centos:centos:postgresql-plperl, p-cpe:/a:centos:centos:postgresql-plpython, p-cpe:/a:centos:centos:postgresql-pltcl, p-cpe:/a:centos:centos:postgresql-server, p-cpe:/a:centos:centos:postgresql-test, p-cpe:/a:centos:centos:postgresql84, p-cpe:/a:centos:centos:postgresql84-contrib, p-cpe:/a:centos:centos:postgresql84-devel, p-cpe:/a:centos:centos:postgresql84-docs, p-cpe:/a:centos:centos:postgresql84-libs, p-cpe:/a:centos:centos:postgresql84-plperl, p-cpe:/a:centos:centos:postgresql84-plpython, p-cpe:/a:centos:centos:postgresql84-pltcl, p-cpe:/a:centos:centos:postgresql84-python, p-cpe:/a:centos:centos:postgresql84-server, p-cpe:/a:centos:centos:postgresql84-tcl, p-cpe:/a:centos:centos:postgresql84-test, cpe:/o:centos:centos:5, cpe:/o:centos:centos:6

必需的 KB 项: Host/local_checks_enabled, Host/CentOS/release, Host/CentOS/rpm-list

易利用性: No known exploits are available

补丁发布日期: 2014/2/25

漏洞发布日期: 2014/3/31

参考资料信息

CVE: CVE-2014-0060, CVE-2014-0061, CVE-2014-0062, CVE-2014-0063, CVE-2014-0064, CVE-2014-0065, CVE-2014-0066

BID: 65719, 65723, 65724, 65725, 65727, 65728, 65731

RHSA: 2014:0211