Debian DSA-4581-1:git - 安全更新

critical Nessus 插件 ID 131966

简介

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

描述

在快速且可扩展的分布式版本控制系统 git 中发现多个漏洞。

- CVE-2019-1348 报告称,git 快速导入的 --export-marks 选项也会通过流内命令功能 export-marks=... 暴露出漏洞,允许覆写任意路径。

- CVE-2019-1387 发现未对子模块名称进行足够严格的验证,从而导致在执行递归克隆时可以通过远程代码执行有针对性的攻击。

- CVE-2019-19604 Joern Schneeweisz 报告了一个漏洞,即在子模块更新之后执行递归克隆,这可能会在用户未明确要求的情况下执行存储库中的代码。“.gitmodules”现在不允许包含设置“submodule.<name>.update=!command”的条目。

此外,此更新还解决了许多安全问题,但只有 git 在 NTFS 文件系统上(CVE-2019-1349、CVE-2019-1352 和 CVE-2019-1353)运行时,这些问题才会存在。

解决方案

升级 git 程序包。

对于旧稳定发行版本 (stretch),已在版本 1:2.11.0-3+deb9u5 中修复这些问题。

对于稳定发行版本 (buster),已在版本 1:2.20.1-2+deb10u1 中修复这些问题。

另见

https://security-tracker.debian.org/tracker/CVE-2019-1353

https://security-tracker.debian.org/tracker/source-package/git

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

https://packages.debian.org/source/buster/git

https://www.debian.org/security/2019/dsa-4581

https://security-tracker.debian.org/tracker/CVE-2019-1348

https://security-tracker.debian.org/tracker/CVE-2019-1387

https://security-tracker.debian.org/tracker/CVE-2019-19604

https://security-tracker.debian.org/tracker/CVE-2019-1349

https://security-tracker.debian.org/tracker/CVE-2019-1352

插件详情

严重性: Critical

ID: 131966

文件名: debian_DSA-4581.nasl

版本: 1.6

类型: local

代理: unix

发布时间: 2019/12/12

最近更新时间: 2024/4/4

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

风险信息

VPR

风险因素: Medium

分数: 6.7

CVSS v2

风险因素: High

基本分数: 9.3

时间分数: 7.3

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

CVSS 分数来源: CVE-2019-19604

CVSS v3

风险因素: Critical

基本分数: 9.8

时间分数: 8.8

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

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

CVSS 分数来源: CVE-2019-1353

漏洞信息

CPE: cpe:/o:debian:debian_linux:10.0, p-cpe:/a:debian:debian_linux:git, cpe:/o:debian:debian_linux:9.0

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

可利用: true

易利用性: Exploits are available

补丁发布日期: 2019/12/10

漏洞发布日期: 2019/12/11

参考资料信息

CVE: CVE-2019-1348, CVE-2019-1349, CVE-2019-1352, CVE-2019-1353, CVE-2019-1387, CVE-2019-19604

DSA: 4581