Ubuntu 18.04 LTS / 26.04 LTS:python-cryptography 漏洞 (USN-8776-1)

medium Nessus Plugin ID 346812

概要

遠端 Ubuntu 主機缺少安全性更新。

說明

遠端 Ubuntu 18.04 LTS/26.04 LTS 主機上安裝的套件受到 USN-8776-1 公告中所提及的一個弱點影響。

據發現,python-cryptography 在執行某些加密作業時,錯誤地接受具有不可變緩衝區的物件。這會導致產出損毀,這與預期相反。
這個問題只會影響 Ubuntu 18.04 LTS。(CVE-2023-23931)

據發現,python 密碼學以可區分的方式報告解密 PKCS#7 包絡資料的結果,並且具有可觀察到的時間差異。遠端攻擊者可能會利用此問題來復原用來加密訊息內容的金鑰,並取得敏感資訊。這個問題只會影響 Ubuntu 26.04 LTS。(CVE-2026-69247)

Jack Lloyd 發現 python-cryptography 在強制執行憑證授權單位的名稱限制時,錯誤地處理了萬用字元 DNS 名稱。遠端攻擊者可能會利用此問題來接受無效的憑證鏈結,並使用允許的名稱以外的名稱。這個問題只會影響 Ubuntu 26.04 LTS。(CVE-2026-69248)

Samuel Judson 發現 python-cryptography 錯誤地處理了包含重複憑證的憑證鏈。遠端攻擊者可能會利用此問題導致 python-cryptography 使用過多資源,進而造成拒絕服務。這個問題只會影響 Ubuntu 26.04 LTS。
(CVE-2026-69249)

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

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

解決方案

更新受影響的 python-cryptography 和/或 python3-cryptography 套件。

另請參閱

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

Plugin 詳細資訊

嚴重性: Medium

ID: 346812

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

版本: 1.2

類型: Local

代理程式: unix

已發布: 2026/9/17

已更新: 2026/9/17

支援的感應器: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Continuous Assessment, Tenable Cloud Security, Tenable Self-Hosted Container Security, Nessus

弱點資訊

CPE: cpe:/o:canonical:ubuntu_linux:18.04:-:lts, cpe:/o:canonical:ubuntu_linux:26.04:-:lts, p-cpe:/a:canonical:ubuntu_linux:python-cryptography, p-cpe:/a:canonical:ubuntu_linux:python3-cryptography

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

可輕鬆利用: No known exploits are available

修補程式發佈日期: 2026/9/16

弱點發布日期: 2026/9/16

參考資訊

USN: 8776-1