Amazon Linux 2:postgresql、--advisory ALAS2POSTGRESQL14-2025-021 (ALASPOSTGRESQL14-2025-021)

medium Nessus 插件 ID 277758

简介

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

描述

远程主机上安装的 postgresql 版本低于 14.20-1。因此,该软件受到 ALAS2POSTGRESQL14-2025-021 公告中提及的多个漏洞影响。

PostgreSQL CREATE STATISTICS 命令中缺少授权允许表所有者通过在任何方案中创建 来实现对其他 CREATE STATISTICS 用户的拒绝服务。之后具有 CREATE 权限的用户执行相同名称的 CREATE STATISTICS 命令将会失败。PostgreSQL 18.1、17.7、16.11、15.15、14.20 和 13.23 之前的版本受到影响。(CVE-2025-12817)

多个 PostgreSQL libpq 客户端库函数中的整数回绕允许应用程序输入提供程序或网络对等机造成 libpq 分配大小过小并写入数百兆字节的越界。这会导致使用 libpq 的应用程序出现分段错误。PostgreSQL 18.1、17.7、16.11、15.15、14.20 和 13.23 之前的版本受到影响。(CVE-2025-12818)

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

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

解决方案

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

另见

https://alas.aws.amazon.com//AL2/ALAS2POSTGRESQL14-2025-021.html

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

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

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

插件详情

严重性: Medium

ID: 277758

文件名: al2_ALASPOSTGRESQL14-2025-021.nasl

版本: 1.1

类型: local

代理: unix

发布时间: 2025/12/8

最近更新时间: 2025/12/8

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

风险信息

VPR

风险因素: Low

分数: 3.6

CVSS v2

风险因素: High

基本分数: 7.8

时间分数: 5.8

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

CVSS 分数来源: CVE-2025-12818

CVSS v3

风险因素: Medium

基本分数: 5.9

时间分数: 5.2

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

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

漏洞信息

CPE: p-cpe:/a:amazon:linux:postgresql-llvmjit, p-cpe:/a:amazon:linux:postgresql-contrib, p-cpe:/a:amazon:linux:postgresql-plpython3, p-cpe:/a:amazon:linux:postgresql, p-cpe:/a:amazon:linux:postgresql-upgrade-devel, p-cpe:/a:amazon:linux:postgresql-docs, p-cpe:/a:amazon:linux:postgresql-pltcl, p-cpe:/a:amazon:linux:postgresql-server-devel, p-cpe:/a:amazon:linux:postgresql-test-rpm-macros, p-cpe:/a:amazon:linux:postgresql-plperl, p-cpe:/a:amazon:linux:postgresql-test, cpe:/o:amazon:linux:2, p-cpe:/a:amazon:linux:postgresql-debuginfo, p-cpe:/a:amazon:linux:postgresql-upgrade, p-cpe:/a:amazon:linux:postgresql-static, p-cpe:/a:amazon:linux:postgresql-server

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

易利用性: No known exploits are available

补丁发布日期: 2025/12/8

漏洞发布日期: 2025/11/13

参考资料信息

CVE: CVE-2025-12817, CVE-2025-12818

IAVB: 2025-B-0192