RHEL 9:postgresql:15 (RHSA-2024:1314)

high Nessus 插件 ID 192039

简介

远程 Red Hat 主机缺少 postgresql:15 的安全更新。

描述

远程 Redhat Enterprise Linux 9 主机上安装的程序包受到 RHSA-2024:1314 公告中提及的一个漏洞影响。

- 在 PostgreSQL 中,REFRESH MATERIALIZED VIEW CONCURRENTLY 中存在延迟特权丢失问题,对象创建者可利用此问题,以命令发出者的身份执行任意 SQL 函数。该命令的目的是以具体化视图所有者的身份运行 SQL 函数,从而实现不受信任的具体化视图的安全刷新。受害者是超级用户或攻击者角色之一的成员。此攻击要求诱使受害者在攻击者的具体化视图上同时运行 REFRESH MATERIALIZED VIEW CONCURRENTLY。在利用此漏洞的过程中,攻击者创建了使用 CREATE RULE 将内部构建的临时表格转换为视图的函数。PostgreSQL 15.6、14.11、13.14 和 12.18 之前的版本受到影响。唯一已知的漏洞利用在 PostgreSQL 16 和更高版本中不起作用。对于深度防御,PostgreSQL 16.2 添加了较早版本分支用来修复其漏洞的保护。(CVE-2024-0985)

请注意,Nessus 尚未测试此问题,而是只依据应用程序自我报告的版本号进行判断。

解决方案

依据 RHSA-2024:1314 中的指南更新 RHEL postgresql:15 程序包。

另见

http://www.nessus.org/u?01d20110

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

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

https://access.redhat.com/errata/RHSA-2024:1314

插件详情

严重性: High

ID: 192039

文件名: redhat-RHSA-2024-1314.nasl

版本: 1.1

类型: local

代理: unix

发布时间: 2024/3/13

最近更新时间: 2024/4/28

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

风险信息

VPR

风险因素: Medium

分数: 6.7

CVSS v2

风险因素: High

基本分数: 9

时间分数: 6.7

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

CVSS 分数来源: CVE-2024-0985

CVSS v3

风险因素: High

基本分数: 8

时间分数: 7

矢量: CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

时间矢量: CVSS:3.0/E:U/RL:O/RC:C

漏洞信息

CPE: cpe:/o:redhat:rhel_eus:9.2, 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-private-devel, p-cpe:/a:redhat:enterprise_linux:postgresql-private-libs, 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

补丁发布日期: 2024/3/13

漏洞发布日期: 2024/2/8

参考资料信息

CVE: CVE-2024-0985

CWE: 271

IAVB: 2024-B-0009

RHSA: 2024:1314