RHEL 7:git (RHSA-2017:2004)

high Nessus Plugin ID 102110

概要

遠端 Red Hat 主機缺少一個或多個 git 安全性更新。

說明

遠端 Redhat Enterprise Linux 7 主機已安裝受到多個弱點影響的套件,如 RHSA-2017:2004 公告中所提及。

Git 是具有非集中式架構的分散式修訂版控制系統。與具有主從架構模型的集中式版本控制系統相反,Git 可確保 Git 存放庫的每個工作中複本都具有完整的修訂版歷程記錄。這不僅允許使用者在不需要將變更推送至其官方存放庫之權限的情況下對專案進行處理及貢獻,還可讓使用者在沒有網路連線的情況下工作。

安全性修正:

* 據發現,git 隨附的 git-prompt.sh 指令碼未正確處理含有特殊字元的分支名稱。若使用特製 git 存放庫的使用者將其殼層設定為在提示中納入存放庫資訊,該存放庫就可利用此缺陷執行任意程式碼。(CVE-2014-9938)

* 在 git-shell 處理受限制 git-shell 命令集的命令列選項的方式中發現缺陷。經驗證的遠端攻擊者可利用此缺陷,透過濫用以特製命令列選項啟動的 less 命令執行個體,來繞過 git-shell 限制、檢視及操控檔案。(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

Plugin 詳細資訊

嚴重性: 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