Debian DLA-1675-1:python-gnupg 安全性更新

high Nessus Plugin ID 122195

概要

遠端 Debian 主機缺少一個安全性更新。

說明

Alexander Kjäll 和 Stig Palmquist 在 GNU Privacy Guard 的包裝函式 python-gnupg 中發現一個弱點。使用對稱加密時,可以透過 gnupg.GPG.encrypt() 和 gnupg.GPG.decrypt() 函式的 passphrase 屬性插入資料。提供的密碼未經新行驗證,且程式庫將 --passphrase-fd = 0 傳遞給 gpg 可執行檔案,該檔案期望 stdin 第一行中的密碼,以及加密文字在後續行中被解密或純文字被加密。透過提供包含新行的密碼,攻擊者可以控制/修改要解密/加密的密碼文字/純文字。針對 Debian 8「Jessie」,此問題已在 0.3.6-1+deb8u1 版本中修正。建議您升級 python-gnupg 套件。注意:Tenable Network Security 已直接從 DLA 安全性公告擷取前置描述區塊。Tenable 已盡量在不造成其他問題的前提下,嘗試自動清理並將其格式化。

解決方案

升級受影響的 python-gnupg 和 python3-gnupg 套件。

另請參閱

https://lists.debian.org/debian-lts-announce/2019/02/msg00021.html

https://packages.debian.org/source/jessie/python-gnupg

Plugin 詳細資訊

嚴重性: High

ID: 122195

檔案名稱: debian_DLA-1675.nasl

版本: 1.6

類型: local

代理程式: unix

已發布: 2019/2/15

已更新: 2021/1/11

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

風險資訊

VPR

風險因素: Medium

分數: 4.4

CVSS v2

風險因素: Medium

基本分數: 5

時間分數: 3.9

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

CVSS v3

風險因素: High

基本分數: 7.5

時間分數: 6.7

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

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

弱點資訊

CPE: p-cpe:/a:debian:debian_linux:python-gnupg, p-cpe:/a:debian:debian_linux:python3-gnupg, cpe:/o:debian:debian_linux:8.0

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

可被惡意程式利用: true

可輕鬆利用: Exploits are available

修補程式發佈日期: 2019/2/14

弱點發布日期: 2019/3/21

參考資訊

CVE: CVE-2019-6690