Ubuntu 22.04 LTS / 24.04 LTS / 25.10 / 26.04 LTS:PostgreSQL 漏洞 (USN-8294-1)

high Nessus Plugin ID 316495

概要

遠端 Ubuntu 主機缺少一個或多個安全性更新。

說明

遠端 Ubuntu 22.04 LTS/24.04 LTS/25.10/26.04 LTS 主機上安裝的多個套件受到 USN-8294-1 公告中提及的多個弱點影響。

據發現,PostgreSQL 未正確執行 CREATE TYPE 授權。攻擊者可能會利用此問題來執行任意 SQL 函式。(CVE-2026-6472)

據發現,PostgreSQL 在多個伺服器功能中錯誤地處理了大量使用者輸入。攻擊者可能會利用此問題導致 PostgreSQL 當機,進而造成拒絕服務,或執行任意程式碼。(CVE-2026-6473)

據發現,PostgreSQL 錯誤地處理了 timeofday() 函式中的格式字串。攻擊者可能會利用此問題取得敏感資訊。(CVE-2026-6474)

據發現,PostgreSQL錯誤地遵循 pg_basebackup 和 pg_rewind 中的符號連結。攻擊者可能會利用此問題來覆寫本機檔案並執行任意程式碼。
(CVE-2026-6475)

據發現,PostgreSQL 在 pg_createsubscriber 中存在 SQL 插入漏洞。攻擊者可能會利用此問題以超級使用者身分執行任意 SQL。受此問題影響的只有 Ubuntu 25.10與 Ubuntu 26.04 LTS。(CVE-2026-6476)

據發現,PostgreSQL 在大型物件作業中使用了不安全的 libpq 函式。攻擊者可能會利用此問題來覆寫用戶端記憶體並執行任意程式碼。(CVE-2026-6477)

據發現,PostgreSQL 不會在恆定時間內比較 MD5 雜湊密碼。攻擊者可能會利用此問題取得敏感資訊。(CVE-2026-6478)

據發現,PostgreSQL 在 SSL 和 GSS 協商期間存在不受控制的遞迴。攻擊者可能利用此問題造成拒絕服務。(CVE-2026-6479)

據發現,PostgreSQL錯誤地處理了 pg_restore_attribute_stats() 中的陣列長度不相符。攻擊者可能會利用此問題取得敏感資訊。
這個問題只會影響 Ubuntu 26.04 LTS。(CVE-2026-6575)

據發現,PostgreSQL 的 refint 模組中有堆疊緩衝區溢位。攻擊者可利用此問題導致 PostgreSQL 當機,進而造成拒絕服務,或可能執行任意程式碼。(CVE-2026-6637)

據發現,PostgreSQL 在邏輯複製 REFRESH PUBLICATION 中存在 SQL 插入弱點。攻擊者可能會利用此問題來執行任意 SQL。受此問題影響的只有 Ubuntu 24.04 LTS、Ubuntu 25.10 和 Ubuntu 26.04 LTS。(CVE-2026-6638)

Tenable 已直接從 Ubuntu 安全公告擷取前置描述區塊。

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

解決方案

更新受影響的套件。

另請參閱

https://ubuntu.com/security/notices/USN-8294-1

Plugin 詳細資訊

嚴重性: High

ID: 316495

檔案名稱: ubuntu_USN-8294-1.nasl

版本: 1.1

類型: Local

代理程式: unix

已發布: 2026/5/22

已更新: 2026/5/22

支援的感應器: Frictionless Assessment AWS, Frictionless Assessment Azure, 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-2026-6638

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:canonical:ubuntu_linux:postgresql-plpython3-16, p-cpe:/a:canonical:ubuntu_linux:postgresql-plpython3-17, cpe:/o:canonical:ubuntu_linux:22.04:-:lts, p-cpe:/a:canonical:ubuntu_linux:postgresql-pltcl-16, p-cpe:/a:canonical:ubuntu_linux:postgresql-server-dev-14, p-cpe:/a:canonical:ubuntu_linux:postgresql-client-18, p-cpe:/a:canonical:ubuntu_linux:postgresql-plperl-14, p-cpe:/a:canonical:ubuntu_linux:libecpg-dev, p-cpe:/a:canonical:ubuntu_linux:libpq-oauth, p-cpe:/a:canonical:ubuntu_linux:postgresql-plperl-18, p-cpe:/a:canonical:ubuntu_linux:postgresql-client-14, cpe:/o:canonical:ubuntu_linux:24.04:-:lts, p-cpe:/a:canonical:ubuntu_linux:postgresql-18-jit, p-cpe:/a:canonical:ubuntu_linux:postgresql-server-dev-17, cpe:/o:canonical:ubuntu_linux:25.10, p-cpe:/a:canonical:ubuntu_linux:postgresql-pltcl-18, p-cpe:/a:canonical:ubuntu_linux:postgresql-14, p-cpe:/a:canonical:ubuntu_linux:postgresql-client-16, p-cpe:/a:canonical:ubuntu_linux:postgresql-16, p-cpe:/a:canonical:ubuntu_linux:postgresql-plperl-16, p-cpe:/a:canonical:ubuntu_linux:libecpg-compat3, p-cpe:/a:canonical:ubuntu_linux:postgresql-18, p-cpe:/a:canonical:ubuntu_linux:postgresql-plpython3-18, p-cpe:/a:canonical:ubuntu_linux:libecpg6, p-cpe:/a:canonical:ubuntu_linux:postgresql-plperl-17, p-cpe:/a:canonical:ubuntu_linux:libpgtypes3, p-cpe:/a:canonical:ubuntu_linux:postgresql-pltcl-14, p-cpe:/a:canonical:ubuntu_linux:libpq5, p-cpe:/a:canonical:ubuntu_linux:postgresql-plpython3-14, p-cpe:/a:canonical:ubuntu_linux:libpq-dev, p-cpe:/a:canonical:ubuntu_linux:postgresql-pltcl-17, p-cpe:/a:canonical:ubuntu_linux:postgresql-client-17, p-cpe:/a:canonical:ubuntu_linux:postgresql-17, cpe:/o:canonical:ubuntu_linux:26.04:-:lts, p-cpe:/a:canonical:ubuntu_linux:postgresql-server-dev-16, p-cpe:/a:canonical:ubuntu_linux:postgresql-server-dev-18

必要的 KB 項目: Host/cpu, Host/Debian/dpkg-l, Host/Ubuntu, Host/Ubuntu/release

可輕鬆利用: No known exploits are available

修補程式發佈日期: 2026/5/21

弱點發布日期: 2026/5/14

參考資訊

CVE: CVE-2026-6472, CVE-2026-6473, CVE-2026-6474, CVE-2026-6475, CVE-2026-6476, CVE-2026-6477, CVE-2026-6478, CVE-2026-6479, CVE-2026-6575, CVE-2026-6637, CVE-2026-6638

USN: 8294-1