Amazon Linux 2023:postgresql17、postgresql17-contrib、postgresql17-llvmjit (ALAS2023-2025-1300)

medium Nessus Plugin ID 277797

概要

遠端 Amazon Linux 2023 主機缺少一個安全性更新。

說明

因此,會受到 ALAS2023-2025-1300 公告中所提及的多個弱點影響。

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 過小配置以及寫入超出邊界數百 MB。如此會導致使用 libpq 的應用程式發生分割錯誤。PostgreSQL 18.1、17.7、16.11、15.15、14.20 和 13.23 之前版本均會受到影響。(CVE-2025-12818)

Tenable 已直接從所測試產品的安全公告擷取前置描述區塊。

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

解決方案

執行「dnf update postgresql17 --releasever 2023.9.20251208」或「dnf update --advisory ALAS2023-2025-1300 --releasever 2023.9.20251208」以更新系統。

另請參閱

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

Plugin 詳細資訊

嚴重性: Medium

ID: 277797

檔案名稱: al2023_ALAS2023-2025-1300.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:postgresql17, cpe:/o:amazon:linux:2023, p-cpe:/a:amazon:linux:postgresql17-contrib-debuginfo, p-cpe:/a:amazon:linux:postgresql17-debuginfo, p-cpe:/a:amazon:linux:postgresql17-contrib, p-cpe:/a:amazon:linux:postgresql17-private-libs, p-cpe:/a:amazon:linux:postgresql17-static, p-cpe:/a:amazon:linux:postgresql17-test-debuginfo, p-cpe:/a:amazon:linux:postgresql17-private-libs-debuginfo, p-cpe:/a:amazon:linux:postgresql17-llvmjit, p-cpe:/a:amazon:linux:postgresql17-upgrade-debuginfo, p-cpe:/a:amazon:linux:postgresql17-server-debuginfo, p-cpe:/a:amazon:linux:postgresql17-private-devel, p-cpe:/a:amazon:linux:postgresql17-debugsource, p-cpe:/a:amazon:linux:postgresql17-upgrade-devel, p-cpe:/a:amazon:linux:postgresql17-docs, p-cpe:/a:amazon:linux:postgresql17-pltcl-debuginfo, p-cpe:/a:amazon:linux:postgresql17-server-devel, p-cpe:/a:amazon:linux:postgresql17-plperl, p-cpe:/a:amazon:linux:postgresql17-upgrade, p-cpe:/a:amazon:linux:postgresql17-plpython3-debuginfo, p-cpe:/a:amazon:linux:postgresql17-pltcl, p-cpe:/a:amazon:linux:postgresql17-server, p-cpe:/a:amazon:linux:postgresql17-llvmjit-debuginfo, p-cpe:/a:amazon:linux:postgresql17-upgrade-devel-debuginfo, p-cpe:/a:amazon:linux:postgresql17-plpython3, p-cpe:/a:amazon:linux:postgresql17-test, p-cpe:/a:amazon:linux:postgresql17-server-devel-debuginfo, p-cpe:/a:amazon:linux:postgresql17-plperl-debuginfo, p-cpe:/a:amazon:linux:postgresql17-docs-debuginfo, p-cpe:/a:amazon:linux:postgresql17-test-rpm-macros

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