Debian DLA-3331-1:python-cryptography - LTS 安全性更新

medium Nessus Plugin ID 171749

概要

遠端 Debian 主機缺少安全性相關更新。

說明

遠端 Debian 10 主機上安裝的多個套件受到 dla-3331 公告中提及的一個弱點影響。

- cryptography 套件用於向 Python 開發人員公開密碼編譯原語和配方。在受影響的版本中,`Cipher.update_into` 會接受實作緩衝區通訊協定的 Python 物件,但僅提供不可變的緩衝區。這允許不可變物件 (例如 `bytes`) 發生突變,因而違反 Python 的基本規則並導致輸出損毀。現在,發生此問題時會正確引發例外狀況。自從 cryptography 1.8 中首次引入 `update_into` 以來,此問題就一直存在。
(CVE-2023-23931)

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

解決方案

升級 python-cryptography 套件。

針對 Debian 10 Buster,已在 2.6.1-3+deb10u3 版中修正此問題。

另請參閱

https://www.debian.org/lts/security/2023/dla-3331

https://security-tracker.debian.org/tracker/CVE-2023-23931

https://packages.debian.org/source/buster/python-cryptography

Plugin 詳細資訊

嚴重性: Medium

ID: 171749

檔案名稱: debian_DLA-3331.nasl

版本: 1.1

類型: local

代理程式: unix

已發布: 2023/2/21

已更新: 2023/9/1

支援的感應器: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

風險資訊

VPR

風險因素: Low

分數: 3.3

CVSS v2

風險因素: Medium

基本分數: 6.4

時間分數: 5

媒介: CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:P

CVSS 評分資料來源: CVE-2023-23931

CVSS v3

風險因素: Medium

基本分數: 6.5

時間分數: 5.9

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

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

弱點資訊

CPE: p-cpe:/a:debian:debian_linux:python-cryptography, p-cpe:/a:debian:debian_linux:python-cryptography-doc, p-cpe:/a:debian:debian_linux:python3-cryptography, cpe:/o:debian:debian_linux:10.0

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

可被惡意程式利用: true

可輕鬆利用: Exploits are available

修補程式發佈日期: 2023/2/21

弱點發布日期: 2023/2/7

參考資訊

CVE: CVE-2023-23931