RHEL 6 / 7:postgresql (RHSA-2015:0750)

critical Nessus Plugin ID 82466

概要

遠端 Red Hat 主機缺少一個或多個 postgresql 安全性更新。

說明

遠端 Redhat Enterprise Linux 6 / 7 主機上安裝的套件受到 RHSA-2015:0750 公告中提及的多個弱點影響。

PostgreSQL 是一種進階物件關聯式資料庫管理系統 (DBMS)。

在 PostgreSQL 資料庫伺服器處理特定錯誤訊息的方式中發現一個資訊洩漏缺陷。經過驗證的資料庫使用者可能依循在查詢執行時產生的限制式違規錯誤訊息,藉此取得自己沒有執行特權的查詢結果。(CVE-2014-8161)

在 PostgreSQL 處理特定數值格式化的方式中發現一個緩衝區溢位缺陷。經過驗證的資料庫使用者可利用特製的時間戳記格式化範本,造成 PostgreSQL 當機,或利用執行 PostgreSQL 的使用者權限,在特定情況下來執行任意程式碼。(CVE-2015-0241)

在 PostgreSQL 的 pgcrypto 模組中發現一個堆疊緩衝區溢位缺陷。
經過驗證的資料庫使用者可利用此缺陷,造成 PostgreSQL 當機,或可能利用執行 PostgreSQL 的使用者權限來執行任意程式碼。(CVE-2015-0243)

在 PostgreSQL 處理通訊協定同步處理期間產生之某些錯誤的方式中發現一個缺陷。經過驗證的資料庫使用者可利用此缺陷,將查詢插入現有的連線之中。
(CVE-2015-0244)

Red Hat 感謝 PostgreSQL 專案報告這些問題。上游確認 Stephen Frost 為 CVE-2014-8161 的原始報告者;Andres Freund、Peter Geoghegan、Bernd Helmle 和 Noah Misch 為 CVE-2015-0241 的原始報告者;Marko Tiikkaja 為 CVE-2015-0243 的原始報告者;以及 Emil Lenngren 為 CVE-2015-0244 的原始報告者。

建議所有 PostgreSQL 使用者皆升級至這些更新版套件,其中包含可更正這些問題的反向移植修補程式。如果 postgresql 服務正在執行中,在安裝此更新之後,它會自動重新啟動。

Tenable 已直接從 Red Hat Enterprise Linux 安全公告擷取前置描述區塊。

請注意,Nessus 並未測試這些問題,而是僅依據應用程式自我報告的版本號碼作出判斷。

解決方案

根據 RHSA-2015:0750 中的指引更新 RHEL postgresql 套件。

另請參閱

http://www.nessus.org/u?0c12ad04

https://access.redhat.com/errata/RHSA-2015:0750

https://access.redhat.com/security/updates/classification/#moderate

https://bugzilla.redhat.com/show_bug.cgi?id=1182043

https://bugzilla.redhat.com/show_bug.cgi?id=1188684

https://bugzilla.redhat.com/show_bug.cgi?id=1188689

https://bugzilla.redhat.com/show_bug.cgi?id=1188694

Plugin 詳細資訊

嚴重性: Critical

ID: 82466

檔案名稱: redhat-RHSA-2015-0750.nasl

版本: 1.17

類型: local

代理程式: unix

已發布: 2015/3/31

已更新: 2025/3/24

支援的感應器: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Continuous Assessment, Nessus

風險資訊

VPR

風險因素: Medium

分數: 5.9

Vendor

Vendor Severity: Moderate

CVSS v2

風險因素: High

基本分數: 7.5

時間性分數: 5.5

媒介: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS 評分資料來源: CVE-2015-0244

CVSS v3

風險因素: Critical

基本分數: 9.8

時間性分數: 8.5

媒介: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

時間媒介: CVSS:3.0/E:U/RL:O/RC:C

弱點資訊

CPE: p-cpe:/a:redhat:enterprise_linux:postgresql-contrib, p-cpe:/a:redhat:enterprise_linux:postgresql-test, p-cpe:/a:redhat:enterprise_linux:postgresql-plpython, p-cpe:/a:redhat:enterprise_linux:postgresql-docs, p-cpe:/a:redhat:enterprise_linux:postgresql-libs, cpe:/o:redhat:enterprise_linux:7, cpe:/o:redhat:enterprise_linux:6, p-cpe:/a:redhat:enterprise_linux:postgresql, p-cpe:/a:redhat:enterprise_linux:postgresql-devel, p-cpe:/a:redhat:enterprise_linux:postgresql-pltcl, p-cpe:/a:redhat:enterprise_linux:postgresql-upgrade, p-cpe:/a:redhat:enterprise_linux:postgresql-server, p-cpe:/a:redhat:enterprise_linux:postgresql-plperl

必要的 KB 項目: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu

可輕鬆利用: No known exploits are available

修補程式發佈日期: 2015/3/30

弱點發布日期: 2020/1/27

參考資訊

CVE: CVE-2014-8161, CVE-2015-0241, CVE-2015-0243, CVE-2015-0244

CWE: 122, 300

RHSA: 2015:0750