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

critical Nessus Plugin ID 105488

概要

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

說明

在 Mercurial 版本控制系統中發現一個弱點,會導致遠端程式碼執行。CVE-2017-17458 特殊錯誤格式的 Mercurial 存放庫會造成 Git 子存放庫以 .git/hooks/post-update 指令碼簽入父存放庫的形式,執行任意程式碼。典型的 Mercurial 使用情況不得出現這種存放庫構造,但可藉由程式設計的方式建立。針對 Debian 7「Wheezy」,這些問題已在 2.2.2-4+deb7u6 版本中修正。建議您升級 mercurial 套件。注意:Tenable Network Security 已直接從 DLA 安全性公告擷取前置描述區塊。Tenable 已盡量在不造成其他問題的前提下,嘗試自動清理並將其格式化。

解決方案

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

另請參閱

https://lists.debian.org/debian-lts-announce/2017/12/msg00027.html

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

Plugin 詳細資訊

嚴重性: Critical

ID: 105488

檔案名稱: debian_DLA-1224.nasl

版本: 3.5

類型: local

代理程式: unix

已發布: 2017/12/29

已更新: 2021/1/11

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

風險資訊

VPR

風險因素: Medium

分數: 5.9

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/12/28

參考資訊

CVE: CVE-2017-17458