CentOS 7:git (RHSA-2020:2337)

high Nessus 插件 ID 137006

简介

远程 CentOS Linux 主机缺少安全更新。

描述

远程 CentOS Linux 7 主机上安装的多个程序包受到 RHSA-2020:2337 公告中提及的一个漏洞影响。

- 受影响的 Git 版本中存在漏洞,可诱骗 Git 向攻击者控制的主机发送私有凭据。此错误与 CVE-2020-5260 (GHSA-qm7j-c969-7j4q) 类似。修复此错误时,为 _some_ 凭据的泄漏(但攻击者无法控制是哪一个)而遭到利用留下可趁之机。Git 使用外部“凭据帮助程序”来存储和检索操作系统提供的安全存储中的密码或其他凭据。从最近发布的 Git 版本开始,被视为非法的特别构建 URL 可使 Git 向帮助程序发送“空白”模式,进而造成主机名和协议字段缺失。许多帮助程序会将此解释为与 _any_ URL 匹配,并会返回某个不明存储密码,从而将密码泄露给攻击者的服务器。此漏洞可通过向“git clone”馈送恶意 URL 触发。但是,受影响的 URL 看起来相当可疑;可能的途径是会自动克隆对用户不可见的 URL 的系统(例如 Git 子模块),或是围绕 Git 构建的程序包系统。问题的根源在 Git 自身,其不应该向帮助程序馈送空白输入。不过,实际利用此漏洞的能力如何取决于使用的是哪个帮助程序。已知可触发漏洞的凭据帮助程序:- Git 的存储帮助程序 - Git 的缓存帮助程序 - Git contrib 目录中附带的 osxkeychain 帮助程序(已知即使使用易受攻击的 Git 版本,这些帮助程序也是安全的)- 不在此列表中的 Git Credential Manager for Windows Any 帮助程序应假定为可触发该漏洞。(CVE-2020-11008)

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

解决方案

更新受影响的程序包。

另见

https://access.redhat.com/errata/RHSA-2020:2337

插件详情

严重性: High

ID: 137006

文件名: centos_RHSA-2020-2337.nasl

版本: 1.3

类型: local

代理: unix

发布时间: 2020/6/2

最近更新时间: 2024/10/9

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

风险信息

VPR

风险因素: Medium

分数: 4.4

Vendor

Vendor Severity: Important

CVSS v2

风险因素: Medium

基本分数: 5

时间分数: 3.7

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

CVSS 分数来源: CVE-2020-11008

CVSS v3

风险因素: High

基本分数: 7.5

时间分数: 6.5

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

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

漏洞信息

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

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

易利用性: No known exploits are available

补丁发布日期: 2020/6/1

漏洞发布日期: 2020/6/1

参考资料信息

CVE: CVE-2020-11008

RHSA: 2020:2337