NVD Vulnerability Detail
Search Exploit, PoC
CVE-2022-39253
Summary

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`.

Publication Date Oct. 19, 2022, 8:15 p.m.
Registration Date Oct. 20, 2022, 10 a.m.
Last Update Nov. 21, 2024, 4:17 p.m.
CVSS3.1 : MEDIUM
スコア 5.5
Vector 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) なし
Affected software configurations
Configuration1 or higher or less more than less than
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
Configuration2 or higher or less more than less than
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
Configuration3 or higher or less more than less than
cpe:2.3:a:apple:xcode:*:*:*:*:*:*:*:* 14.1
Configuration4 or higher or less more than less than
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
Git SCM の Git 他複数ベンダの製品におけるリンク解釈に関する脆弱性
Title Git SCM の Git 他複数ベンダの製品におけるリンク解釈に関する脆弱性
Summary

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

Possible impacts 情報を取得される可能性があります。 
Solution

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

Publication Date Oct. 19, 2022, midnight
Registration Date Oct. 25, 2023, 2:25 p.m.
Last Update Oct. 25, 2023, 2:25 p.m.
Affected System
アップル
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 (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2023年10月25日]
  掲載
Oct. 25, 2023, 2:25 p.m.