Amazon Linux AMI:postgresql92 (ALAS-2025-1959)

high Nessus Plugin ID 215024

概要

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

說明

遠端主機上安裝的 postgresql92 版本早於 9.2.24-3.70。因此,會受到 ALAS-2025-1959 公告中所提及的多個弱點影響。

如果在修改特定 SQL 陣列值時缺少溢位檢查,則經驗證的資料庫使用者可向記憶體區域寫入任意位元組,從而促進任意程式碼執行。缺少溢位檢查也會讓經驗證的資料庫使用者大範圍讀取伺服器記憶體。CVE-2021-32027 修正此描述中涵蓋的部分攻擊,但遺漏了其他攻擊。(CVE-2023-5869)

PostgreSQL 的 pg_dump 中包含檢查時間使用時間 (TOCTOU) 爭用條件,因此物件建立者能夠以執行 pg_dump 的使用者 (通常是超級使用者) 身分執行任意 SQL 函式。此攻擊涉及以檢視或外部表格取代其他關係類型。攻擊需要等待 pg_dump 開始執行,但如果攻擊者保留開放的交易,則很容易取得爭用條件。
PostgreSQL 16.4、15.8、14.13、13.16 和 12.20 之前版本均會受到影響。(CVE-2024-7348)

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

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

解決方案

執行「yum update postgresql92」以更新系統。

另請參閱

https://alas.aws.amazon.com/ALAS-2025-1959.html

https://alas.aws.amazon.com/cve/html/CVE-2023-5869.html

https://alas.aws.amazon.com/cve/html/CVE-2024-7348.html

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

Plugin 詳細資訊

嚴重性: High

ID: 215024

檔案名稱: ala_ALAS-2025-1959.nasl

版本: 1.1

類型: local

代理程式: unix

已發布: 2025/2/5

已更新: 2025/2/5

支援的感應器: Frictionless Assessment AWS, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Continuous Assessment, 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-2023-5869

CVSS v3

風險因素: High

基本分數: 8.8

時間性分數: 7.7

媒介: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

時間媒介: CVSS:3.0/E:U/RL:O/RC:C

弱點資訊

CPE: p-cpe:/a:amazon:linux:postgresql92-debuginfo, p-cpe:/a:amazon:linux:postgresql92-server, p-cpe:/a:amazon:linux:postgresql92-docs, p-cpe:/a:amazon:linux:postgresql92-pltcl, p-cpe:/a:amazon:linux:postgresql92-plperl, p-cpe:/a:amazon:linux:postgresql92-contrib, p-cpe:/a:amazon:linux:postgresql92-plpython27, p-cpe:/a:amazon:linux:postgresql92-devel, p-cpe:/a:amazon:linux:postgresql92-plpython26, p-cpe:/a:amazon:linux:postgresql92, cpe:/o:amazon:linux, p-cpe:/a:amazon:linux:postgresql92-test, p-cpe:/a:amazon:linux:postgresql92-server-compat, p-cpe:/a:amazon:linux:postgresql92-libs

必要的 KB 項目: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

可輕鬆利用: No known exploits are available

修補程式發佈日期: 2025/1/30

弱點發布日期: 2023/11/9

參考資訊

CVE: CVE-2023-5869, CVE-2024-7348

IAVB: 2023-B-0088-S, 2024-B-0117-S