Debian DLA-1072-1:mercurial 安全性更新

critical Nessus Plugin ID 102886

概要

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

說明

在 Mercurial 版本控制系統中發現兩個重大弱點,可能會導致 shell 插入攻擊和 out-of-tree 檔案覆寫。CVE-2017-1000115 Mercurial 4.3 之前版本的符號連結稽核不完整,攻擊者可濫用此問題來寫入存放庫外部的檔案。CVE-2017-1000116 Mercurial 未清理傳遞至 ssh 的主機名稱,導致可透過指定以 -oProxyCommand 開頭的主機名稱,在用戶端上發動 shell 插入攻擊。此弱點與 Git (CVE-2017-1000117) 和 Subversion (CVE-2017-9800) 中的問題類似。針對 Debian 7「Wheezy」,這些問題已在 2.2.2-4+deb7u5 版本中修正。建議您升級 mercurial 套件。注意:Tenable Network Security 已直接從 DLA 安全性公告擷取前置描述區塊。Tenable 已盡量在不造成其他問題的前提下,嘗試自動清理並將其格式化。

解決方案

升級受影響的 mercurial 和 mercurial-common 套件。

另請參閱

https://lists.debian.org/debian-lts-announce/2017/08/msg00032.html

https://packages.debian.org/source/wheezy/mercurial

Plugin 詳細資訊

嚴重性: Critical

ID: 102886

檔案名稱: debian_DLA-1072.nasl

版本: 3.8

類型: local

代理程式: unix

已發布: 2017/9/1

已更新: 2021/1/11

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

風險資訊

VPR

風險因素: Medium

分數: 6.7

CVSS v2

風險因素: Critical

基本分數: 10

時間分數: 7.4

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

CVSS v3

風險因素: Critical

基本分數: 9.8

時間分數: 8.5

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

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

弱點資訊

CPE: p-cpe:/a:debian:debian_linux:mercurial, p-cpe:/a:debian:debian_linux:mercurial-common, cpe:/o:debian:debian_linux:7.0

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

可輕鬆利用: No known exploits are available

修補程式發佈日期: 2017/8/31

弱點發布日期: 2017/10/5

參考資訊

CVE: CVE-2017-1000115, CVE-2017-1000116