{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-39253","published":"2022-10-19T11:15:11.227000Z","last_modified":"2026-06-17T04:58:00.250000Z","status":"Modified","cvss":{"version":"3.1","score":5.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-200","CWE-59"],"cpes":[{"criteria":"cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*","part":"a","vendor":"git-scm","product":"git","version_end_excluding":"2.30.6"},{"criteria":"cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*","part":"a","vendor":"git-scm","product":"git","version_start_including":"2.31.0","version_end_excluding":"2.31.5"},{"criteria":"cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*","part":"a","vendor":"git-scm","product":"git","version_start_including":"2.32.0","version_end_excluding":"2.32.4"},{"criteria":"cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*","part":"a","vendor":"git-scm","product":"git","version_start_including":"2.33.0","version_end_excluding":"2.33.5"},{"criteria":"cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*","part":"a","vendor":"git-scm","product":"git","version_start_including":"2.34.0","version_end_excluding":"2.34.5"},{"criteria":"cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*","part":"a","vendor":"git-scm","product":"git","version_start_including":"2.35.0","version_end_excluding":"2.35.5"},{"criteria":"cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*","part":"a","vendor":"git-scm","product":"git","version_start_including":"2.36.0","version_end_excluding":"2.36.3"},{"criteria":"cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*","part":"a","vendor":"git-scm","product":"git","version_start_including":"2.37.0","version_end_excluding":"2.37.4"},{"criteria":"cpe:2.3:a:git-scm:git:2.38.0:*:*:*:*:*:*:*","part":"a","vendor":"git-scm","product":"git","version":"2.38.0"},{"criteria":"cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*","part":"o","vendor":"fedoraproject","product":"fedora","version":"35"},{"criteria":"cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*","part":"o","vendor":"fedoraproject","product":"fedora","version":"36"},{"criteria":"cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*","part":"o","vendor":"fedoraproject","product":"fedora","version":"37"},{"criteria":"cpe:2.3:a:apple:xcode:*:*:*:*:*:*:*:*","part":"a","vendor":"apple","product":"xcode","version_end_excluding":"14.1"},{"criteria":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","part":"o","vendor":"debian","product":"debian_linux","version":"10.0"}],"cpes_truncated":false,"vendors":["git-scm","fedoraproject","apple","debian"],"products":["git-scm/git","fedoraproject/fedora","apple/xcode","debian/debian_linux"],"epss":{"score":0.00872,"percentile":0.5659,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":33,"links":{"html_es":"/es/cve/CVE-2022-39253/","html_en":"/en/cve/CVE-2022-39253/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-39253","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-39253"},"untrusted":{"vendor_name":"Git-scm","product_name":"Git","desc_en":"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`.","affected":[{"untrusted_vendor":"git","untrusted_product":"git","versions":[]}],"references":[{"url":"http://seclists.org/fulldisclosure/2022/Nov/1","tags":["Mailing List","Third Party Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2023/02/14/5","tags":["Mailing List","Third Party Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2024/05/14/2","tags":[]},{"url":"https://github.com/git/git/security/advisories/GHSA-3wp6-j8xr-qw85","tags":["Mitigation","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/12/msg00025.html","tags":["Mailing List","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/C7B6JPKX5CGGLAHXJVQMIZNNEEB72FHD/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JMQWGMDLX6KTVWW5JZLVPI7ICAK72TN7/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OHNO2FB55CPX47BAXMBWUBGWHO6N6ZZH/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UKFHE4KVD7EKS5J3KTDFVBEKU3CLXGVV/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VFYXCTLOSESYIP72BUYD6ECDIMUM4WMB/","tags":[]},{"url":"https://security.gentoo.org/glsa/202312-15","tags":[]},{"url":"https://support.apple.com/kb/HT213496","tags":["Third Party Advisory"]}]},"bulletins":[{"source":"suse","id":"openSUSE-SU-2026:10987-1","url":"https://www.suse.com/support/update/","published":"2026-06-09T00:00:00+00:00","severity":"medium","exploited":false,"untrusted":{"title":"perl-Git-Repository-1.326.0-1.1 on GA media"}}]}