Debian DLA-1730-4:libssh2 迴歸更新

critical Nessus Plugin ID 123135

概要

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

說明

已將更多邊界檢查反向移植到 libssh2 的 src/sftp.c。此外,src/sftp.c 中的所有邊界檢查現在都將導致 LIBSSH2_ERROR_BUFFER_TOO_SMALL 錯誤代碼,而不是 LIBSSH2_ERROR_ OUT_OF_BOUNDARY 錯誤代碼。附帶說明,據發現,Debian jessie 的 libssh2 的 SFTP 實作僅對 Debian wheezy 的 OpenSSH SFTP 伺服器有效,但由於發生 SFTP 通訊協定錯誤「開啟遠端檔案時發生錯誤」,對較新的 OpenSSH 版本 (例如 Debian jessie 及之後版本中的 OpenSSH) 的測試過渡失敗。此錯誤發生後,作業可能會繼續,這取決於應用程式的實作而定。針對 Debian 8「Jessie」,此問題已在 1.4.3-4.1+deb8u5 版本中修正。我們建議您升級 libssh2 套件。注意:Tenable Network Security 已直接從 DLA 安全性公告擷取前置描述區塊。Tenable 已盡量在不造成其他問題的前提下,嘗試自動清理並將其格式化。

解決方案

升級受影響的套件。

另請參閱

https://lists.debian.org/debian-lts-announce/2019/07/msg00028.html

https://packages.debian.org/source/jessie/libssh2

Plugin 詳細資訊

嚴重性: Critical

ID: 123135

檔案名稱: debian_DLA-1730.nasl

版本: 1.7

類型: local

代理程式: unix

已發布: 2019/3/27

已更新: 2021/1/11

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

風險資訊

VPR

風險因素: Medium

分數: 5.2

CVSS v2

風險因素: Medium

基本分數: 6.4

時間分數: 4.7

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

CVSS v3

風險因素: Critical

基本分數: 9.1

時間分數: 7.9

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

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

弱點資訊

CPE: p-cpe:/a:debian:debian_linux:libssh2-1, p-cpe:/a:debian:debian_linux:libssh2-1-dbg, p-cpe:/a:debian:debian_linux:libssh2-1-dev, cpe:/o:debian:debian_linux:8.0

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

可輕鬆利用: No known exploits are available

修補程式發佈日期: 2019/7/30

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

參考資訊

CVE: CVE-2019-3860