RHEL 8:postgresql:12 (RHSA-2023: 4535)

high Nessus Plugin ID 179475

概要

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

說明

遠端 Redhat Enterprise Linux 8 主機上安裝的套件受到 RHSA-2023: 4535 公告中提及的多個弱點影響。

- 在 PostgreSQL 中,修改後未經驗證的伺服器可在建立 Kerberos 傳輸加密期間傳送未結束的字串。在某些情況下,伺服器可造成 libpq 用戶端過度讀取,並報告包含未初始化位元組的錯誤訊息。(CVE-2022-41862)

- schema_element 破壞了保護性的 search_path 變更;據發現,PostgreSQL 中的某些資料庫呼叫可允許具有升級的資料庫層級權限的經驗證攻擊者執行任意程式碼。(CVE-2023-2454)

- 行安全性原則會在內嵌後忽略使用者 ID 變更;PostgreSQL 可允許在某些情況下套用不正確的原則:使用特定於角色的原則,並在一個角色下規劃給定的查詢,然後在其他角色下執行。此情況可能發生在安全性定義程式函式之下,或是在最初規劃了一般使用者和查詢,然後在多個 SET ROLE 之間重複使用時發生。套用不正確的原則可能會允許使用者完成原本禁止的讀取和修改作業。此問題只會影響已使用「CREATE POLICY」定義列安全性原則的資料庫。(CVE-2023-2455)

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

解決方案

依據 RHSA-2023: 4535 中的指引更新 RHEL postgresql:12 套件。

另請參閱

http://www.nessus.org/u?d74ec0bd

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

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

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

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

https://access.redhat.com/errata/RHSA-2023:4535

Plugin 詳細資訊

嚴重性: High

ID: 179475

檔案名稱: redhat-RHSA-2023-4535.nasl

版本: 1.3

類型: local

代理程式: unix

已發布: 2023/8/8

已更新: 2024/4/28

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

風險資訊

VPR

風險因素: Medium

分數: 6.7

CVSS v2

風險因素: High

基本分數: 8.3

時間分數: 6.1

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

CVSS 評分資料來源: CVE-2023-2454

CVSS v3

風險因素: High

基本分數: 7.2

時間分數: 6.3

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

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

弱點資訊

CPE: cpe:/o:redhat:enterprise_linux:8, p-cpe:/a:redhat:enterprise_linux:pg_repack, p-cpe:/a:redhat:enterprise_linux:pgaudit, p-cpe:/a:redhat:enterprise_linux:postgres-decoderbufs, p-cpe:/a:redhat:enterprise_linux:postgresql, p-cpe:/a:redhat:enterprise_linux:postgresql-contrib, p-cpe:/a:redhat:enterprise_linux:postgresql-docs, p-cpe:/a:redhat:enterprise_linux:postgresql-plperl, p-cpe:/a:redhat:enterprise_linux:postgresql-plpython3, p-cpe:/a:redhat:enterprise_linux:postgresql-pltcl, p-cpe:/a:redhat:enterprise_linux:postgresql-server, p-cpe:/a:redhat:enterprise_linux:postgresql-server-devel, p-cpe:/a:redhat:enterprise_linux:postgresql-static, p-cpe:/a:redhat:enterprise_linux:postgresql-test, p-cpe:/a:redhat:enterprise_linux:postgresql-test-rpm-macros, p-cpe:/a:redhat:enterprise_linux:postgresql-upgrade, p-cpe:/a:redhat:enterprise_linux:postgresql-upgrade-devel

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

可輕鬆利用: No known exploits are available

修補程式發佈日期: 2023/8/8

弱點發布日期: 2023/2/9

參考資訊

CVE: CVE-2022-41862, CVE-2023-2454, CVE-2023-2455

CWE: 20, 200

IAVB: 2023-B-0009-S, 2023-B-0034-S

RHSA: 2023:4535