CVE-2022-39253
概要

Git is an open source, scalable, distributed revision control system. Versions prior to 2.30.6, 2.31.5, 2.32.4, 2.33.5, 2.34.5, 2.35.5, 2.36.3, and 2.37.4 are subject to exposure of sensitive information to a malicious actor. When performing a local clone (where the source and target of the clone are on the same volume), Git copies the contents of the source's `$GIT_DIR/objects` directory into the destination by either creating hardlinks to the source contents, or copying them (if hardlinks are disabled via `--no-hardlinks`). A malicious actor could convince a victim to clone a repository with a symbolic link pointing at sensitive information on the victim's machine. This can be done either by having the victim clone a malicious repository on the same machine, or having them clone a malicious repository embedded as a bare repository via a submodule from any source, provided they clone with the `--recurse-submodules` option. Git does not create symbolic links in the `$GIT_DIR/objects` directory. The problem has been patched in the versions published on 2022-10-18, and backported to v2.30.x. Potential workarounds: Avoid cloning untrusted repositories using the `--local` optimization when on a shared machine, either by passing the `--no-local` option to `git clone` or cloning from a URL that uses the `file://` scheme. Alternatively, avoid cloning repositories from untrusted sources with `--recurse-submodules` or run `git config --global protocol.file.allow user`.

公表日 2022年10月19日20:15
登録日 2022年10月20日10:00
最終更新日 2024年11月21日16:17
CVSS3.1 : MEDIUM
スコア 5.5
ベクター CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
攻撃元区分(AV) ローカル
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR) 不要
利用者の関与(UI)
影響の想定範囲(S) 変更なし
機密性への影響(C)
完全性への影響(I) なし
可用性への影響(A) なし
影響を受けるソフトウェアの構成
構成1 以上 以下 より上 未満
cpe:2.3:a:git-scm:git:2.38.0:*:*:*:*:*:*:*
cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* 2.37.0 2.37.4
cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* 2.36.0 2.36.3
cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* 2.35.0 2.35.5
cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* 2.34.0 2.34.5
cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* 2.33.0 2.33.5
cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* 2.30.6
cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* 2.31.0 2.31.5
cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* 2.32.0 2.32.4
構成2 以上 以下 より上 未満
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
構成3 以上 以下 より上 未満
cpe:2.3:a:apple:xcode:*:*:*:*:*:*:*:* 14.1
構成4 以上 以下 より上 未満
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
関連情報、対策とツール
共通脆弱性一覧

JVN脆弱性情報
Git SCM の Git 他複数ベンダの製品におけるリンク解釈に関する脆弱性
タイトル Git SCM の Git 他複数ベンダの製品におけるリンク解釈に関する脆弱性
概要

Git SCM の Git 他複数ベンダの製品には、リンク解釈に関する脆弱性が存在します。

想定される影響 情報を取得される可能性があります。 
対策

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

公表日 2022年10月19日0:00
登録日 2023年10月25日14:25
最終更新日 2023年10月25日14:25
影響を受けるシステム
アップル
Xcode 14.1 未満
Debian
Debian GNU/Linux 10.0
Fedora Project
Fedora 35
Fedora 36
Fedora 37
Git SCM
Git 2.30.6 未満
Git 2.31.0 以上 2.31.5 未満
Git 2.32.0 以上 2.32.4 未満
Git 2.33.0 以上 2.33.5 未満
Git 2.34.0 以上 2.34.5 未満
Git 2.35.0 以上 2.35.5 未満
Git 2.36.0 以上 2.36.3 未満
Git 2.37.0 以上 2.37.4 未満
Git 2.38.0
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
変更履歴
No 変更内容 変更日
1 [2023年10月25日]
  掲載
2023年10月25日14:25