CVE-2022-39253
published medium CVSS 3.1 · 5.5Git subject to exposure of sensitive information via local clone of symbolic links
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| git | — | git< 2.30.6 · < 2.31.5 · < 2.32.4 · < 2.33.5 · < 2.34.5 · < 2.35.5 · < 2.36.3 · < 2.37.4 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluationALAS2-2022-1886 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-065 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | git | Advisory build | 2.39.1-1.el8 | ALSA-2023:2859 |
| Alpine Linux | edge | git | Fixed | 2.38.1-r0 | Package fix record |
| Debian | bullseye | git | Advisory build | 1:2.30.2-1+deb11u1 | DSA-5332-1 |
| Oracle Linux | 8 | gitaarch64 | Advisory build | 0:2.39.1-1.el8 | ELSA-2023-2859 |
| Red Hat Enterprise Linux | RHEL-8 | gitaarch64 | Advisory build | 2.31.8-1.el8_6 | RHSA-2024:0407 |
Show 95 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-12-SP5 | gitaarch64 | Advisory build | 2.26.2-27.60.1 | SUSE-SU-2022:4271-1 |
| Ubuntu | bionic | git | Advisory build | 1:2.17.1-1ubuntu0.13 | USN-5686-1 |
| AlmaLinux | 9 | git | Advisory build | 2.39.1-1.el9 | ALSA-2023:2319 |
| Alpine Linux | v3.13 | git | Fixed | 2.30.6-r0 | Package fix record |
| Alpine Linux | v3.14 | git | Fixed | 2.32.4-r0 | Package fix record |
| Alpine Linux | v3.15 | git | Fixed | 2.34.5-r0 | Package fix record |
| Alpine Linux | v3.16 | git | Fixed | 2.36.3-r0 | Package fix record |
| Alpine Linux | v3.17 | git | Fixed | 2.38.1-r0 | Package fix record |
| Alpine Linux | v3.18 | git | Fixed | 2.38.1-r0 | Package fix record |
| Alpine Linux | v3.19 | git | Fixed | 2.38.1-r0 | Package fix record |
| Alpine Linux | v3.20 | git | Fixed | 2.38.1-r0 | Package fix record |
| Alpine Linux | v3.21 | git | Fixed | 2.38.1-r0 | Package fix record |
| Alpine Linux | v3.22 | git | Fixed | 2.38.1-r0 | Package fix record |
| Alpine Linux | v3.23 | git | Fixed | 2.38.1-r0 | Package fix record |
| Alpine Linux | v3.24 | git | Fixed | 2.38.1-r0 | Package fix record |
| Debian | buster | git | Advisory build | 1:2.20.1-2+deb10u5 | DLA-3239-1 |
| Oracle Linux | 8 | gitx86_64 | Advisory build | 0:2.39.1-1.el8 | ELSA-2023-2859 |
| Oracle Linux | 9 | gitaarch64 | Advisory build | 0:2.39.1-1.el9 | ELSA-2023-2319 |
| Oracle Linux | 9 | gitx86_64 | Advisory build | 0:2.39.1-1.el9 | ELSA-2023-2319 |
| Red Hat Enterprise Linux | RHEL-8 | gitaarch64 | Advisory build | 2.39.1-1.el8 | RHSA-2023:2859 |
| Red Hat Enterprise Linux | RHEL-8 | gitppc64le | Advisory build | 2.31.8-1.el8_6 | RHSA-2024:0407 |
| Red Hat Enterprise Linux | RHEL-8 | gitppc64le | Advisory build | 2.39.1-1.el8 | RHSA-2023:2859 |
| Red Hat Enterprise Linux | RHEL-8 | gits390x | Advisory build | 2.31.8-1.el8_6 | RHSA-2024:0407 |
| Red Hat Enterprise Linux | RHEL-8 | gits390x | Advisory build | 2.39.1-1.el8 | RHSA-2023:2859 |
| Red Hat Enterprise Linux | RHEL-8 | gitsrc | Advisory build | 2.31.8-1.el8_6 | RHSA-2024:0407 |
| Red Hat Enterprise Linux | RHEL-8 | gitsrc | Advisory build | 2.39.1-1.el8 | RHSA-2023:2859 |
| Red Hat Enterprise Linux | RHEL-8 | gitx86_64 | Advisory build | 2.31.8-1.el8_6 | RHSA-2024:0407 |
| Red Hat Enterprise Linux | RHEL-8 | gitx86_64 | Advisory build | 2.39.1-1.el8 | RHSA-2023:2859 |
| Red Hat Enterprise Linux | RHEL-9 | gitaarch64 | Advisory build | 2.39.1-1.el9 | RHSA-2023:2319 |
| Red Hat Enterprise Linux | RHEL-9 | gitppc64le | Advisory build | 2.39.1-1.el9 | RHSA-2023:2319 |
| Red Hat Enterprise Linux | RHEL-9 | gits390x | Advisory build | 2.39.1-1.el9 | RHSA-2023:2319 |
| Red Hat Enterprise Linux | RHEL-9 | gitsrc | Advisory build | 2.39.1-1.el9 | RHSA-2023:2319 |
| Red Hat Enterprise Linux | RHEL-9 | gitx86_64 | Advisory build | 2.39.1-1.el9 | RHSA-2023:2319 |
| SUSE / openSUSE | SLE-12-SP5 | gitppc64le | Advisory build | 2.26.2-27.60.1 | SUSE-SU-2022:4271-1 |
| SUSE / openSUSE | SLE-12-SP5 | gits390x | Advisory build | 2.26.2-27.60.1 | SUSE-SU-2022:4271-1 |
| SUSE / openSUSE | SLE-12-SP5 | gitx86_64 | Advisory build | 2.26.2-27.60.1 | SUSE-SU-2022:4271-1 |
| SUSE / openSUSE | SLE-15-SP1 | gitaarch64 | Advisory build | 2.26.2-150000.47.1 | SUSE-SU-2023:0418-1 |
| SUSE / openSUSE | SLE-15-SP1 | gitppc64le | Advisory build | 2.26.2-150000.47.1 | SUSE-SU-2023:0418-1 |
| SUSE / openSUSE | SLE-15-SP1 | gits390x | Advisory build | 2.26.2-150000.47.1 | SUSE-SU-2023:0418-1 |
| SUSE / openSUSE | SLE-15-SP1 | gitx86_64 | Advisory build | 2.26.2-150000.47.1 | SUSE-SU-2023:0418-1 |
| SUSE / openSUSE | SLE-15-SP2 | gitaarch64 | Advisory build | 2.26.2-150000.47.1 | SUSE-SU-2023:0418-1 |
| SUSE / openSUSE | SLE-15-SP2 | gitppc64le | Advisory build | 2.26.2-150000.47.1 | SUSE-SU-2023:0418-1 |
| SUSE / openSUSE | SLE-15-SP2 | gits390x | Advisory build | 2.26.2-150000.47.1 | SUSE-SU-2023:0418-1 |
| SUSE / openSUSE | SLE-15-SP2 | gitx86_64 | Advisory build | 2.26.2-150000.47.1 | SUSE-SU-2023:0418-1 |
| SUSE / openSUSE | SLE-15-SP3 | gitaarch64 | Advisory build | 2.35.3-150300.10.18.1 | SUSE-SU-2022:3931-1 |
| SUSE / openSUSE | SLE-15-SP3 | gitppc64le | Advisory build | 2.35.3-150300.10.18.1 | SUSE-SU-2022:3931-1 |
| SUSE / openSUSE | SLE-15-SP3 | gits390x | Advisory build | 2.35.3-150300.10.18.1 | SUSE-SU-2022:3931-1 |
| SUSE / openSUSE | SLE-15-SP3 | gitx86_64 | Advisory build | 2.35.3-150300.10.18.1 | SUSE-SU-2022:3931-1 |
| SUSE / openSUSE | SLE-15-SP4 | gitaarch64 | Advisory build | 2.35.3-150300.10.18.1 | SUSE-SU-2022:3931-1 |
| SUSE / openSUSE | SLE-15-SP4 | gitppc64le | Advisory build | 2.35.3-150300.10.18.1 | SUSE-SU-2022:3931-1 |
| SUSE / openSUSE | SLE-15-SP4 | gits390x | Advisory build | 2.35.3-150300.10.18.1 | SUSE-SU-2022:3931-1 |
| SUSE / openSUSE | SLE-15-SP4 | gitx86_64 | Advisory build | 2.35.3-150300.10.18.1 | SUSE-SU-2022:3931-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | gitaarch64 | Advisory build | 2.35.3-150300.10.18.1 | SUSE-SU-2022:3931-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | gitppc64le | Advisory build | 2.35.3-150300.10.18.1 | SUSE-SU-2022:3931-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | gits390x | Advisory build | 2.35.3-150300.10.18.1 | SUSE-SU-2022:3931-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | gitx86_64 | Advisory build | 2.35.3-150300.10.18.1 | SUSE-SU-2022:3931-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | gitaarch64 | Advisory build | 2.35.3-150300.10.18.1 | SUSE-SU-2022:3931-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | gitppc64le | Advisory build | 2.35.3-150300.10.18.1 | SUSE-SU-2022:3931-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | gits390x | Advisory build | 2.35.3-150300.10.18.1 | SUSE-SU-2022:3931-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | gitx86_64 | Advisory build | 2.35.3-150300.10.18.1 | SUSE-SU-2022:3931-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gitaarch64 | Advisory build | 2.38.1-1.1 | OPENSUSE-SU-2024:12487-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gitppc64le | Advisory build | 2.38.1-1.1 | OPENSUSE-SU-2024:12487-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gits390x | Advisory build | 2.38.1-1.1 | OPENSUSE-SU-2024:12487-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gitx86_64 | Advisory build | 2.38.1-1.1 | OPENSUSE-SU-2024:12487-1 |
| Ubuntu | focal | git | Advisory build | 1:2.25.1-1ubuntu3.6 | USN-5686-1 |
| Ubuntu | jammy | git | Advisory build | 1:2.34.1-1ubuntu1.5 | USN-5686-1 |
| Ubuntu | xenial | git | Advisory build | 1:2.7.4-0ubuntu1.10+esm6 | USN-5686-4 |
| AlmaLinux | 8 | git-all | Advisory build | 2.39.1-1.el8 | ALSA-2023:2859 |
| AlmaLinux | 8 | git-core | Advisory build | 2.39.1-1.el8 | ALSA-2023:2859 |
| AlmaLinux | 8 | git-core-doc | Advisory build | 2.39.1-1.el8 | ALSA-2023:2859 |
| AlmaLinux | 8 | git-credential-libsecret | Advisory build | 2.39.1-1.el8 | ALSA-2023:2859 |
| AlmaLinux | 8 | git-daemon | Advisory build | 2.39.1-1.el8 | ALSA-2023:2859 |
| AlmaLinux | 8 | git-email | Advisory build | 2.39.1-1.el8 | ALSA-2023:2859 |
| AlmaLinux | 8 | git-gui | Advisory build | 2.39.1-1.el8 | ALSA-2023:2859 |
| AlmaLinux | 8 | git-instaweb | Advisory build | 2.39.1-1.el8 | ALSA-2023:2859 |
| AlmaLinux | 8 | git-subtree | Advisory build | 2.39.1-1.el8 | ALSA-2023:2859 |
| AlmaLinux | 8 | git-svn | Advisory build | 2.39.1-1.el8 | ALSA-2023:2859 |
| AlmaLinux | 8 | gitk | Advisory build | 2.39.1-1.el8 | ALSA-2023:2859 |
| AlmaLinux | 8 | gitweb | Advisory build | 2.39.1-1.el8 | ALSA-2023:2859 |
| AlmaLinux | 8 | perl-Git | Advisory build | 2.39.1-1.el8 | ALSA-2023:2859 |
| AlmaLinux | 8 | perl-Git-SVN | Advisory build | 2.39.1-1.el8 | ALSA-2023:2859 |
| AlmaLinux | 9 | git-all | Advisory build | 2.39.1-1.el9 | ALSA-2023:2319 |
| AlmaLinux | 9 | git-core | Advisory build | 2.39.1-1.el9 | ALSA-2023:2319 |
| AlmaLinux | 9 | git-core-doc | Advisory build | 2.39.1-1.el9 | ALSA-2023:2319 |
| AlmaLinux | 9 | git-credential-libsecret | Advisory build | 2.39.1-1.el9 | ALSA-2023:2319 |
| AlmaLinux | 9 | git-daemon | Advisory build | 2.39.1-1.el9 | ALSA-2023:2319 |
| AlmaLinux | 9 | git-email | Advisory build | 2.39.1-1.el9 | ALSA-2023:2319 |
| AlmaLinux | 9 | git-gui | Advisory build | 2.39.1-1.el9 | ALSA-2023:2319 |
| AlmaLinux | 9 | git-instaweb | Advisory build | 2.39.1-1.el9 | ALSA-2023:2319 |
| AlmaLinux | 9 | git-subtree | Advisory build | 2.39.1-1.el9 | ALSA-2023:2319 |
| AlmaLinux | 9 | git-svn | Advisory build | 2.39.1-1.el9 | ALSA-2023:2319 |
| AlmaLinux | 9 | gitk | Advisory build | 2.39.1-1.el9 | ALSA-2023:2319 |
| AlmaLinux | 9 | gitweb | Advisory build | 2.39.1-1.el9 | ALSA-2023:2319 |
| AlmaLinux | 9 | perl-Git | Advisory build | 2.39.1-1.el9 | ALSA-2023:2319 |
| AlmaLinux | 9 | perl-Git-SVN | Advisory build | 2.39.1-1.el9 | ALSA-2023:2319 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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`.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.5 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| git | git | < 2.30.6 (affected)< 2.31.5 (affected)< 2.32.4 (affected)< 2.33.5 (affected)< 2.34.5 (affected)< 2.35.5 (affected)< 2.36.3 (affected)< 2.37.4 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-200 CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
References
12- 20221107 APPLE-SA-2022-11-01-1 Xcode 14.1 http://seclists.org/fulldisclosure/2022/Nov/1
- [oss-security] 20230214 [Announce] Git 2.39.2 and friends http://www.openwall.com/lists/oss-security/2023/02/14/5
- [oss-security] 20240514 git: 5 vulnerabilities fixed http://www.openwall.com/lists/oss-security/2024/05/14/2
- https://github.com/git/git/security/advisories/GHSA-3wp6-j8xr-qw85
- [debian-lts-announce] 20221213 [SECURITY] [DLA 3239-1] git security update https://lists.debian.org/debian-lts-announce/2022/12/msg00025.html
- FEDORA-2022-fb088df94c https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/C7B6JPKX5CGGLAHXJVQMIZNNEEB72FHD/
- FEDORA-2022-2c33bba286 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JMQWGMDLX6KTVWW5JZLVPI7ICAK72TN7/
- FEDORA-2022-53aadd995f https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OHNO2FB55CPX47BAXMBWUBGWHO6N6ZZH/
- FEDORA-2022-8b58806840 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UKFHE4KVD7EKS5J3KTDFVBEKU3CLXGVV/
- FEDORA-2022-12790ca71a https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VFYXCTLOSESYIP72BUYD6ECDIMUM4WMB/
- GLSA-202312-15 https://security.gentoo.org/glsa/202312-15
- https://support.apple.com/kb/HT213496
Provider assertions
2GitHub_M · cna
Git subject to exposure of sensitive information via local clone of symbolic links
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- c21f529729ee3ef85932d6bd9274fb928d190b5437ebc7d2fe8ef69316387bc6
- Ingested
- 23 Sep 2026, 08:02:02 UTC
- Source record
- Official CVE record