CVE-2022-39253 (CNNVD-202210-1263)

MEDIUM
中文标题:
Git 后置链接漏洞
英文标题:
Git subject to exposure of sensitive information via local clone of symbolic links
CVSS分数: 5.5
发布时间: 2022-10-19 00:00:00
漏洞类型: 后置链接
状态: PUBLISHED
数据质量分数: 0.30
数据版本: v3
漏洞描述
中文描述:

Git是一套免费、开源的分布式版本控制系统。 Git存在安全漏洞,该漏洞源于Git错误地处理了某些符号链接。

英文描述:

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

CWE类型:
CWE-59 CWE-200
标签:
(暂无数据)
受影响产品
厂商 产品 版本 版本范围 平台 CPE
git git < 2.30.6 - - cpe:2.3:a:git:git:<_2.30.6:*:*:*:*:*:*:*
git git < 2.31.5 - - cpe:2.3:a:git:git:<_2.31.5:*:*:*:*:*:*:*
git git < 2.32.4 - - cpe:2.3:a:git:git:<_2.32.4:*:*:*:*:*:*:*
git git < 2.33.5 - - cpe:2.3:a:git:git:<_2.33.5:*:*:*:*:*:*:*
git git < 2.34.5 - - cpe:2.3:a:git:git:<_2.34.5:*:*:*:*:*:*:*
git git < 2.35.5 - - cpe:2.3:a:git:git:<_2.35.5:*:*:*:*:*:*:*
git git < 2.36.3 - - cpe:2.3:a:git:git:<_2.36.3:*:*:*:*:*:*:*
git git < 2.37.4 - - cpe:2.3:a:git:git:<_2.37.4:*:*:*:*:*:*:*
git-scm git * - - cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*
git-scm git 2.38.0 - - cpe:2.3:a:git-scm:git:2.38.0:*:*:*:*:*:*:*
fedoraproject fedora 35 - - cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
fedoraproject fedora 36 - - cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
fedoraproject fedora 37 - - cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
apple xcode * - - cpe:2.3:a:apple:xcode:*:*:*:*:*:*:*:*
debian debian_linux 10.0 - - cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
无标题 OTHER
cve.org
访问
FEDORA-2022-12790ca71a vendor-advisory
cve.org
访问
FEDORA-2022-8b58806840 vendor-advisory
cve.org
访问
无标题 OTHER
cve.org
访问
FEDORA-2022-53aadd995f vendor-advisory
cve.org
访问
20221107 APPLE-SA-2022-11-01-1 Xcode 14.1 mailing-list
cve.org
访问
FEDORA-2022-2c33bba286 vendor-advisory
cve.org
访问
FEDORA-2022-fb088df94c vendor-advisory
cve.org
访问
[debian-lts-announce] 20221213 [SECURITY] [DLA 3239-1] git security update mailing-list
cve.org
访问
[oss-security] 20230214 [Announce] Git 2.39.2 and friends mailing-list
cve.org
访问
GLSA-202312-15 vendor-advisory
cve.org
访问
[oss-security] 20240514 git: 5 vulnerabilities fixed mailing-list
cve.org
访问
CVSS评分详情
3.1 (cna)
MEDIUM
5.5
CVSS向量: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
机密性
HIGH
完整性
NONE
可用性
NONE
时间信息
发布时间:
2022-10-19 00:00:00
修改时间:
2024-08-03 12:00:43
创建时间:
2025-11-11 15:37:43
更新时间:
2025-11-11 15:57:34
利用信息
暂无可利用代码信息
数据源详情
数据源 记录ID 版本 提取时间
CVE cve_CVE-2022-39253 2025-11-11 15:21:33 2025-11-11 07:37:43
NVD nvd_CVE-2022-39253 2025-11-11 14:58:26 2025-11-11 07:45:55
CNNVD cnnvd_CNNVD-202210-1263 2025-11-11 15:11:02 2025-11-11 07:57:34
版本与语言
当前版本: v3
主要语言: EN
支持语言:
EN ZH
安全公告
暂无安全公告信息
变更历史
v3 CNNVD
2025-11-11 15:57:34
vulnerability_type: 未提取 → 后置链接; cnnvd_id: 未提取 → CNNVD-202210-1263; data_sources: ['cve', 'nvd'] → ['cnnvd', 'cve', 'nvd']
查看详细变更
  • vulnerability_type: 未提取 -> 后置链接
  • cnnvd_id: 未提取 -> CNNVD-202210-1263
  • data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
v2 NVD
2025-11-11 15:45:55
affected_products_count: 8 → 15; data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • affected_products_count: 8 -> 15
  • data_sources: ['cve'] -> ['cve', 'nvd']