Amazon Linux 2023:postgresql16、postgresql16-contrib、postgresql16-llvmjit (ALAS2023-2025-1314)

medium Nessus 插件 ID 277801

简介

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

描述

因此,该软件受到 ALAS2023-2025-1314 公告中提及的多个漏洞影响。

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 尚未测试这些问题,而是只依据应用程序自我报告的版本号进行判断。

解决方案

运行“dnf update postgresql16 --releasever 2023.9.20251208”或“dnf update --advisory ALAS2023-2025-1314 --releasever 2023.9.20251208”以更新系统。

另见

https://alas.aws.amazon.com//AL2023/ALAS2023-2025-1314.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: 277801

文件名: al2023_ALAS2023-2025-1314.nasl

版本: 1.1

类型: local

代理: unix

发布时间: 2025/12/9

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

支持的传感器: 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:postgresql16-server, p-cpe:/a:amazon:linux:postgresql16-contrib-debuginfo, p-cpe:/a:amazon:linux:postgresql16-test, p-cpe:/a:amazon:linux:postgresql16-upgrade-devel-debuginfo, p-cpe:/a:amazon:linux:postgresql16-test-debuginfo, p-cpe:/a:amazon:linux:postgresql16-server-devel, p-cpe:/a:amazon:linux:postgresql16-upgrade, p-cpe:/a:amazon:linux:postgresql16-plpython3-debuginfo, p-cpe:/a:amazon:linux:postgresql16-server-devel-debuginfo, p-cpe:/a:amazon:linux:postgresql16-contrib, p-cpe:/a:amazon:linux:postgresql16-private-libs-debuginfo, p-cpe:/a:amazon:linux:postgresql16, p-cpe:/a:amazon:linux:postgresql16-plperl-debuginfo, p-cpe:/a:amazon:linux:postgresql16-static, p-cpe:/a:amazon:linux:postgresql16-upgrade-debuginfo, p-cpe:/a:amazon:linux:postgresql16-llvmjit, p-cpe:/a:amazon:linux:postgresql16-private-libs, p-cpe:/a:amazon:linux:postgresql16-pltcl, p-cpe:/a:amazon:linux:postgresql16-server-debuginfo, p-cpe:/a:amazon:linux:postgresql16-test-rpm-macros, p-cpe:/a:amazon:linux:postgresql16-llvmjit-debuginfo, p-cpe:/a:amazon:linux:postgresql16-plperl, p-cpe:/a:amazon:linux:postgresql16-debugsource, p-cpe:/a:amazon:linux:postgresql16-private-devel, cpe:/o:amazon:linux:2023, p-cpe:/a:amazon:linux:postgresql16-docs-debuginfo, p-cpe:/a:amazon:linux:postgresql16-plpython3, p-cpe:/a:amazon:linux:postgresql16-upgrade-devel, p-cpe:/a:amazon:linux:postgresql16-pltcl-debuginfo, p-cpe:/a:amazon:linux:postgresql16-docs, p-cpe:/a:amazon:linux:postgresql16-debuginfo

必需的 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