Amazon Linux 2:postgresql、--advisory ALAS2-2025-3035 (ALAS-2025-3035)

high Nessus 插件 ID 270530

简介

远程 Amazon Linux 2 主机缺少安全更新。

描述

远程主机上安装的 postgresql 版本低于 9.2.24-8。因此,它受到 ALAS2-2025-3035 公告中提及的一个漏洞影响。

PostgreSQL 的 pg_dump 中包含不受信任的数据,这使得源服务器的恶意超级用户可以通过 psql 元命令,以运行 psql 的客户端操作系统帐户身份注入还原时执行的任意代码,进而恢复转储文件。pg_dumpall 也会受到影响。pg_restore 在用于生成明文格式转储文件时会受到影响。此问题类似于 MySQL CVE-2024-21096。PostgreSQL 17.6、16.10、15.14、14.19 和 13.22之前的版本受到影响。(CVE-2025-8714)

Tenable 已直接从测试产品的安全公告中提取上述描述块。

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

解决方案

运行“yum update postgresql”或“yum update --advisory ALAS2-2025-3035”以更新系统。

另见

https://alas.aws.amazon.com//AL2/ALAS2-2025-3035.html

https://alas.aws.amazon.com/faqs.html

https://explore.alas.aws.amazon.com/CVE-2025-8714.html

插件详情

严重性: High

ID: 270530

文件名: al2_ALAS-2025-3035.nasl

版本: 1.1

类型: local

代理: unix

发布时间: 2025/10/15

最近更新时间: 2025/10/15

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

风险信息

VPR

风险因素: Medium

分数: 6.7

CVSS v2

风险因素: Critical

基本分数: 10

时间分数: 7.8

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

CVSS 分数来源: CVE-2025-8714

CVSS v3

风险因素: High

基本分数: 8.8

时间分数: 7.9

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

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

漏洞信息

CPE: cpe:/o:amazon:linux:2, p-cpe:/a:amazon:linux:postgresql, p-cpe:/a:amazon:linux:postgresql-debuginfo, p-cpe:/a:amazon:linux:postgresql-libs, p-cpe:/a:amazon:linux:postgresql-plperl, p-cpe:/a:amazon:linux:postgresql-plpython, p-cpe:/a:amazon:linux:postgresql-contrib, p-cpe:/a:amazon:linux:postgresql-devel, p-cpe:/a:amazon:linux:postgresql-docs, p-cpe:/a:amazon:linux:postgresql-pltcl, p-cpe:/a:amazon:linux:postgresql-server, p-cpe:/a:amazon:linux:postgresql-static, p-cpe:/a:amazon:linux:postgresql-test, p-cpe:/a:amazon:linux:postgresql-upgrade

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

可利用: true

易利用性: No known exploits are available

补丁发布日期: 2025/10/14

漏洞发布日期: 2025/8/14

参考资料信息

CVE: CVE-2025-8714

IAVB: 2025-B-0140