Debian DSA-3963-1:mercurial - 安全更新

critical Nessus 插件 ID 102930

简介

远程 Debian 主机缺少与安全相关的更新。

描述

在分布式版本控制系统 Mercurial 中发现数个问题。- CVE-2017-9462(仅在 stretch 中修复)Mozilla 的 Jonathan Claudius 发现可诱骗通过 stdio 提供的存储库授予经授权用户访问 Python 调试器的权限。- CVE-2017-1000115 Mercurial 的符号链接审核不完整,可能遭到滥用以写入存储库之外的文件。- CVE-2017-1000116 Joern Schneeweisz 发现 Mercurial 未正确处理恶意构建的 ssh://URL。从而允许攻击者运行任意 shell 命令。

解决方案

升级 mercurial 程序包。对于旧稳定发行版本 (jessie),这些问题已在版本 3.1.2-2+deb8u4 中修复。对于稳定发行版本 (stretch),已在版本 4.0.-1~deb9u1 中修复这些问题。

另见

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=861243

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=871709

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=871710

https://security-tracker.debian.org/tracker/CVE-2017-9462

https://security-tracker.debian.org/tracker/CVE-2017-1000115

https://security-tracker.debian.org/tracker/CVE-2017-1000116

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

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

https://www.debian.org/security/2017/dsa-3963

插件详情

严重性: Critical

ID: 102930

文件名: debian_DSA-3963.nasl

版本: 3.7

类型: local

代理: unix

发布时间: 2017/9/5

最近更新时间: 2021/1/4

支持的传感器: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

风险信息

VPR

风险因素: High

分数: 7.4

CVSS v2

风险因素: Critical

基本分数: 10

时间分数: 8.3

矢量: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS v3

风险因素: Critical

基本分数: 9.8

时间分数: 9.1

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

时间矢量: CVSS:3.0/E:F/RL:O/RC:C

漏洞信息

CPE: p-cpe:/a:debian:debian_linux:mercurial, cpe:/o:debian:debian_linux:8.0, cpe:/o:debian:debian_linux:9.0

必需的 KB 项: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

可利用: true

易利用性: Exploits are available

补丁发布日期: 2017/9/4

漏洞发布日期: 2017/6/6

可利用的方式

Metasploit (Mercurial Custom hg-ssh Wrapper Remote Code Exec)

参考资料信息

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

DSA: 3963