RHEL 7:git (RHSA-2017:2004)

high Nessus 插件 ID 102110

简介

远程 Red Hat 主机缺少一个或多个 git 安全更新。

描述

远程 Redhat Enterprise Linux 7 主机上安装的程序包受到 RHSA-2017:2004 公告中提及的多个漏洞的影响。

Git 是一种包含分散式架构的分布式版本控制系统。与包含客户端服务器模型的集中化版本控制系统相反,Git 确保 Git 存储库每个工作的副本均为包含完整修订历史记录的实际副本。这便使用户不仅能够在不具备将更改送入官方存储库权限的情况下使用和促进项目,还能够在无网络连接情况下工作。

安全修复:

* 已发现 git 附带的 git-prompt.sh 脚本未正确处理包含特殊字符的分支名称。如果使用特制 git 存储库的用户将其 shell 配置为在提示中包含存储库信息,则存储库可利用此缺陷执行任意命令。(CVE-2014-9938)

* 在 git-shell 针对受限的 git-shell 命令组处理命令行选项的方式中发现缺陷。经身份验证的远程攻击者可利用此缺陷绕过 git-shell 限制,通过滥用以构建的命令行选项启动的 less 命令实例,查看并操纵文件。(CVE-2017-8386)

其他变更:

如需有关此发行版本的详细变更信息,请参阅可从“参考”部分链接的 Red Hat Enterprise Linux 7.4 版本说明。

Tenable 已直接从 Red Hat Enterprise Linux 安全公告中提取上述描述块。

请注意,Nessus 尚未测试这些问题,而是只依据应用程序自我报告的版本号进行判断。

解决方案

依据 RHSA-2017:2004 中的指南更新 RHEL git 程序包。

另见

http://www.nessus.org/u?372ac0e1

http://www.nessus.org/u?e109ca23

https://access.redhat.com/errata/RHSA-2017:2004

https://access.redhat.com/security/updates/classification/#moderate

https://bugzilla.redhat.com/show_bug.cgi?id=1369173

https://bugzilla.redhat.com/show_bug.cgi?id=1434415

https://bugzilla.redhat.com/show_bug.cgi?id=1450407

插件详情

严重性: High

ID: 102110

文件名: redhat-RHSA-2017-2004.nasl

版本: 3.13

类型: local

代理: unix

发布时间: 2017/8/2

最近更新时间: 2025/3/20

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

风险信息

VPR

风险因素: Medium

分数: 6.7

Vendor

Vendor Severity: Moderate

CVSS v2

风险因素: Medium

基本分数: 6.8

时间分数: 5.3

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

CVSS 分数来源: CVE-2014-9938

CVSS v3

风险因素: High

基本分数: 8.8

时间分数: 7.9

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

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

CVSS 分数来源: CVE-2017-8386

漏洞信息

CPE: p-cpe:/a:redhat:enterprise_linux:emacs-git-el, p-cpe:/a:redhat:enterprise_linux:gitweb, cpe:/o:redhat:enterprise_linux:7, p-cpe:/a:redhat:enterprise_linux:git-email, p-cpe:/a:redhat:enterprise_linux:gitk, p-cpe:/a:redhat:enterprise_linux:perl-git, p-cpe:/a:redhat:enterprise_linux:git-all, p-cpe:/a:redhat:enterprise_linux:git-bzr, p-cpe:/a:redhat:enterprise_linux:git-daemon, p-cpe:/a:redhat:enterprise_linux:git-svn, p-cpe:/a:redhat:enterprise_linux:perl-git-svn, p-cpe:/a:redhat:enterprise_linux:git, p-cpe:/a:redhat:enterprise_linux:git-hg, p-cpe:/a:redhat:enterprise_linux:git-cvs, p-cpe:/a:redhat:enterprise_linux:git-gui, p-cpe:/a:redhat:enterprise_linux:emacs-git, p-cpe:/a:redhat:enterprise_linux:git-p4

必需的 KB 项: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu

易利用性: No known exploits are available

补丁发布日期: 2017/8/1

漏洞发布日期: 2017/3/20

参考资料信息

CVE: CVE-2014-9938, CVE-2017-8386

CWE: 78

RHSA: 2017:2004