NVD Vulnerability Detail
Search Exploit, PoC
CVE-2008-3546
Summary

Stack-based buffer overflow in the (1) diff_addremove and (2) diff_change functions in GIT before 1.5.6.4 might allow local users to execute arbitrary code via a PATH whose length is larger than the system's PATH_MAX when running GIT utilities such as git-diff or git-grep.

Publication Date Aug. 8, 2008, 6:41 a.m.
Registration Date Jan. 29, 2021, 1:40 p.m.
Last Update Oct. 12, 2018, 5:48 a.m.
CVSS2.0 : HIGH
Score 7.5
Vector AV:N/AC:L/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:a:git:git:1.5.5.3:*:*:*:*:*:*:*
cpe:2.3:a:git:git:1.5.5.3:r1:*:*:*:*:*:*
cpe:2.3:a:git:git:1.5.5.4:*:*:*:*:*:*:*
cpe:2.3:a:git:git:1.5.6.1:*:*:*:*:*:*:*
cpe:2.3:a:git:git:1.5.6.2:*:*:*:*:*:*:*
cpe:2.3:a:git:git:1.5.6.3:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
GIT の diff_addremove 関数におけるスタックベースのバッファオーバーフローの脆弱性
Title GIT の diff_addremove 関数におけるスタックベースのバッファオーバーフローの脆弱性
Summary

GIT の (1) diff_addremove 関数および (2) diff_change 関数には、git-diff または git-grep などの GIT ユーティリティを稼動している際、スタックベースのバッファオーバーフローの脆弱性が存在します。

Possible impacts ローカルユーザにより、長さがシステムの PATH_MAX より大きい PATH を介して、任意のコードを実行される可能性があります。
Solution

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

Publication Date Aug. 7, 2008, midnight
Registration Date June 26, 2012, 4:02 p.m.
Last Update June 26, 2012, 4:02 p.m.
Affected System
Git project
Git 1.5.6.4 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
0 [2012年06月26日]
  掲載
Feb. 17, 2018, 10:37 a.m.