NVD Vulnerability Detail
Search Exploit, PoC
CVE-2018-11235
Summary

In Git before 2.13.7, 2.14.x before 2.14.4, 2.15.x before 2.15.2, 2.16.x before 2.16.4, and 2.17.x before 2.17.1, remote code execution can occur. With a crafted .gitmodules file, a malicious project can execute an arbitrary script on a machine that runs "git clone --recurse-submodules" because submodule "names" are obtained from this file, and then appended to $GIT_DIR/modules, leading to directory traversal with "../" in a name. Finally, post-checkout hooks from a submodule are executed, bypassing the intended design in which hooks are not obtained from a remote server.

Publication Date May 30, 2018, 1:29 p.m.
Registration Date March 1, 2021, 6:45 p.m.
Last Update Nov. 21, 2024, 12:42 p.m.
CVSS3.0 : HIGH
スコア 7.8
Vector CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
攻撃元区分(AV) ローカル
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR) 不要
利用者の関与(UI)
影響の想定範囲(S) 変更なし
機密性への影響(C)
完全性への影響(I)
可用性への影響(A)
CVSS2.0 : MEDIUM
Score 6.8
Vector AV:N/AC:M/Au:N/C:P/I:P/A:P
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃前の認証要否(Au) 不要
機密性への影響(C)
完全性への影響(I)
可用性への影響(A)
Get all privileges. いいえ
Get user privileges いいえ
Get other privileges いいえ
User operation required はい
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
Configuration2 or higher or less more than less than
cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
Configuration3 or higher or less more than less than
cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_server_eus:7.5:*:*:*:*:*:*:*
Configuration4 or higher or less more than less than
cpe:2.3:a:git-scm:git:2.17.0:*:*:*:*:*:*:*
cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* 2.16.0 2.16.3
cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* 2.15.0 2.15.1
cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* 2.14.0 2.14.3
cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* 2.13.6
Configuration5 or higher or less more than less than
cpe:2.3:a:gitforwindows:git:*:*:*:*:*:*:*:* 2.17.1
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
Git におけるセキュリティ機能に関する脆弱性
Title Git におけるセキュリティ機能に関する脆弱性
Summary

Git には、セキュリティ機能に関する脆弱性が存在します。

Possible impacts 情報を取得される、情報を改ざんされる、およびサービス運用妨害 (DoS) 状態にされる可能性があります。
Solution

ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date May 29, 2018, midnight
Registration Date July 20, 2018, 5:42 p.m.
Last Update July 20, 2018, 5:42 p.m.
Affected System
レッドハット
Red Hat Enterprise Linux 
Red Hat Enterprise Linux Desktop 
Red Hat Enterprise Linux Server 
Red Hat Enterprise Linux Server EUS 
Red Hat Enterprise Linux Workstation 
Debian
Debian GNU/Linux 
Canonical
Ubuntu 
Git for Windows project
Git for Windows 
Git SCM
Git 2.13.7 未満
Git 2.14.4 未満の 2.14.x
Git 2.15.2 未満の 2.15.x
Git 2.16.4 未満の 2.16.x
Git 2.17.1 未満の 2.17.x
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2018年07月20日]
  掲載
July 20, 2018, 5:42 p.m.