Git subject to exposure of sensitive information via local clone of symbolic links
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`.
- Published
- Oct 19, 2022
- Updated
- Jun 17, 2026
- EPSS
- 1.3% · 70th percentile
- CWE
- CWE-200
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
22
Monitor
Low priority for now.
- CVSS
- 22 / 40 · 5.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 1.3%
CNA vs NVD score
- NVD
- 5.5
- CNA · GitHub_M
- 5.5
- agree
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpAffected systems
| Vendor | Product | CPE |
|---|---|---|
| git-scm | git | cpe:2.3:a:git-scm:git |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
| apple | xcode | cpe:2.3:a:apple:xcode |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- apple xcodebefore 14.1
- debian debian linux10.0
- fedoraproject fedora35
- fedoraproject fedora36
- fedoraproject fedora37
- git-scm git2.35.0 and later · before 2.35.5
- git-scm git2.36.0 and later · before 2.36.3
- git-scm gitbefore 2.30.6
- git-scm git2.37.0 and later · before 2.37.4
- git-scm git2.31.0 and later · before 2.31.5
- git-scm git2.32.0 and later · before 2.32.4
- git-scm git2.33.0 and later · before 2.33.5
- git-scm git2.34.0 and later · before 2.34.5
- git-scm git2.38.0
Versions reported by the vendor
Affected version ranges reported by the assigning authority (GitHub_M). Independent of NVD's CPE analysis and usually ahead of it.
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.4affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | git | before 2.39.1-1.el8 | 2.39.1-1.el8 |
| AlmaLinux:8 | git-all | before 2.39.1-1.el8 | 2.39.1-1.el8 |
| AlmaLinux:8 | git-core | before 2.39.1-1.el8 | 2.39.1-1.el8 |
| AlmaLinux:8 | git-core-doc | before 2.39.1-1.el8 | 2.39.1-1.el8 |
| AlmaLinux:8 | git-credential-libsecret | before 2.39.1-1.el8 | 2.39.1-1.el8 |
| AlmaLinux:8 | git-daemon | before 2.39.1-1.el8 | 2.39.1-1.el8 |
| AlmaLinux:8 | git-email | before 2.39.1-1.el8 | 2.39.1-1.el8 |
| AlmaLinux:8 | git-gui | before 2.39.1-1.el8 | 2.39.1-1.el8 |
| AlmaLinux:8 | git-instaweb | before 2.39.1-1.el8 | 2.39.1-1.el8 |
| AlmaLinux:8 | git-subtree | before 2.39.1-1.el8 | 2.39.1-1.el8 |
| AlmaLinux:8 | git-svn | before 2.39.1-1.el8 | 2.39.1-1.el8 |
| AlmaLinux:8 | gitk | before 2.39.1-1.el8 | 2.39.1-1.el8 |
| AlmaLinux:8 | gitweb | before 2.39.1-1.el8 | 2.39.1-1.el8 |
| AlmaLinux:8 | perl-Git | before 2.39.1-1.el8 | 2.39.1-1.el8 |
| AlmaLinux:8 | perl-Git-SVN | before 2.39.1-1.el8 | 2.39.1-1.el8 |
| AlmaLinux:9 | git | before 2.39.1-1.el9 | 2.39.1-1.el9 |
| AlmaLinux:9 | git-all | before 2.39.1-1.el9 | 2.39.1-1.el9 |
| AlmaLinux:9 | git-core | before 2.39.1-1.el9 | 2.39.1-1.el9 |
| AlmaLinux:9 | git-core-doc | before 2.39.1-1.el9 | 2.39.1-1.el9 |
| AlmaLinux:9 | git-credential-libsecret | before 2.39.1-1.el9 | 2.39.1-1.el9 |
| AlmaLinux:9 | git-daemon | before 2.39.1-1.el9 | 2.39.1-1.el9 |
| AlmaLinux:9 | git-email | before 2.39.1-1.el9 | 2.39.1-1.el9 |
| AlmaLinux:9 | git-gui | before 2.39.1-1.el9 | 2.39.1-1.el9 |
| AlmaLinux:9 | git-instaweb | before 2.39.1-1.el9 | 2.39.1-1.el9 |
+83
Same product
git-scm: all recordsOther highest-scoring records for the same primary product.
- CVE-2018-17456Git before 2.14.5, 2.15.x before 2.15.3, 2.16.x before 2.16.5, 2.17.x before 2.17.2, 2.18.x before 2.18.1, and 2.19.x before 2.19.1 allows r68This week
- CVE-2025-48384Git allows arbitrary code execution through broken config quotingKEV63This week
- CVE-2017-1000117A malicious third-party can give a crafted "ssh://..." URL to an unsuspecting victim, and an attempt to visit the URL can result in any prog58Plan
- CVE-2021-21300malicious repositories can execute remote code while cloning57Plan
- CVE-2022-23521gitattributes parsing integer overflow in git56Plan
- CVE-2022-41903Integer overflow in `git archive`, `git log --format` leading to RCE in git52Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| almalinux:git | 2.39.1-1.el9 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:git-all | 2.39.1-1.el9 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:git-core | 2.39.1-1.el9 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:git-core-doc | 2.39.1-1.el9 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:git-credential-libsecret | 2.39.1-1.el9 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:git-daemon | 2.39.1-1.el9 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:git-email | 2.39.1-1.el9 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:git-gui | 2.39.1-1.el9 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:git-instaweb | 2.39.1-1.el9 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:git-subtree | 2.39.1-1.el9 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:git-svn | 2.39.1-1.el9 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:gitk | 2.39.1-1.el9 · AlmaLinux:9 | Package registry (OSV) |
| alpine:git | 2.30.6-r0 · Alpine:v3.13 | Package registry (OSV) |
| debian:git | 1:2.38.1-1 · Debian:12 | Package registry (OSV) |
| opensuse:docker-compose | 2.12.2-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:git | 2.35.3-150300.10.18.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| opensuse:perl-Git-Repository | 1.326.0-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:reuse | 1.1.2-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:git | 0:2.39.1-1.el9 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:git-all | 0:2.39.1-1.el9 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:git-core | 0:2.39.1-1.el9 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:git-core-debuginfo | 0:2.39.1-1.el9 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:git-core-doc | 0:2.39.1-1.el9 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:git-credential-libsecret | 0:2.39.1-1.el9 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:git-credential-libsecret-debuginfo | 0:2.39.1-1.el9 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:git-daemon | 0:2.39.1-1.el9 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:git-daemon-debuginfo | 0:2.39.1-1.el9 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:git-debuginfo | 0:2.39.1-1.el9 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:git-debugsource | 0:2.39.1-1.el9 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:git-email | 0:2.39.1-1.el9 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
+1
Exploit status
Proof of concept available
A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.
Evidence
- Proof-of-concept repository on GitHub ×2
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Proof-of-concept repository on GitHub | stars:10 | 2022-12-20 |
| Proof-of-concept repository on GitHub | stars:0 | 2023-05-15 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- Published
- First PoC+62 d
- TodayOct 3, 2026+1446 d
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-22-0682 · Nov 9, 2022(Microsoft Güvenlik Güncellemesi)
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- No account or password is required.
- A user must open a link or visit a page.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- none
- Availability
- none
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- None
- Availability impact
- None
Weakness class (CWE)
CWE-200 · Exposure of Sensitive Information to an Unauthorized ActorCVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
nvd-primary
Root cause
The extension requests broader permissions than its function needs and sends the data it collects out for purposes beyond its stated function.
The bug in code
The whole CWE-200 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
{ "permissions": ["tabs", "<all_urls>"], "background": { "service_worker": "analytics.js" }}Fixed
{ "permissions": ["activeTab"], "host_permissions": ["https://yildiz.example/*"]}Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- ExcavationCAPEC-116likelihood: High · Medium
- Subverting Environment Variable ValuesCAPEC-13likelihood: High · Very High
- FootprintingCAPEC-169likelihood: High · Very Low
- Exploiting Trust in ClientCAPEC-22likelihood: High · High
- FingerprintingCAPEC-224likelihood: High · Very Low
- ICMP Echo Request PingCAPEC-285likelihood: Medium · Low
- TCP SYN ScanCAPEC-287Low
- Enumerate Mail Exchange (MX) RecordsCAPEC-290Low
ATT&CK techniques
- System Service DiscoveryT1007
- System Network Configuration DiscoveryT1016
- Remote System DiscoveryT1018
- System Owner/User DiscoveryT1033
- Masquerading: Match Legitimate Name or LocationT1036.005
- Network Service ScanningT1046
- System Network Connections DiscoveryT1049
- Process DiscoveryT1057
- Permission Groups DiscoveryT1069
- System Information DiscoveryT1082
- File and Directory DiscoveryT1083
- Account DiscoveryT1087
- Multi-Factor Authentication InterceptionT1111
- Peripheral Device DiscoveryT1120
- System Time DiscoveryT1124
- Access Token Manipulation:Token Impersonation/TheftT1134.001
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- seclists.org/fulldisclosure/2022/Nov/1
- www.openwall.com/lists/oss-security/2023/02/14/5
- www.openwall.com/lists/oss-security/2024/05/14/2
- github.com/git/git/security/advisories/GHSA-3wp6-j8xr-qw85
- lists.debian.org/debian-lts-announce/2022/12/msg00025.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/C7B6JPKX5CGGLAHXJVQMIZNNEEB72FHD/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JMQWGMDLX6KTVWW5JZLVPI7ICAK72TN7/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OHNO2FB55CPX47BAXMBWUBGWHO6N6ZZH/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UKFHE4KVD7EKS5J3KTDFVBEKU3CLXGVV/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VFYXCTLOSESYIP72BUYD6ECDIMUM4WMB/
- security.gentoo.org/glsa/202312-15
- support.apple.com/kb/HT213496
Vendor advisories and official records. Exploit/PoC links are deliberately left out.