CVE-2023-22490
published medium CVSS 3.1 · 5.5Git vulnerable to local clone-based data exfiltration with non-local transports
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| git | — | git>= 2.39.0, < 2.39.2 · >= 2.38.0, < 2.38.4 · >= 2.37.0, < 2.37.6 · >= 2.36.0, < 2.36.5 · >= 2.35.0, < 2.35.7 · >= 2.34.0, < 2.34.7 · >= 2.33.0, < 2.33.7 · >= 2.32.0, < 2.32.6 · >= 2.31.0, < 2.31.7 · < 2.30.8 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluationALAS2-2023-1984 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-113 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | git | Advisory build | 2.39.3-1.el8_8 | ALSA-2023:3246 |
| Alpine Linux | edge | git | Fixed | 2.39.2-r0 | Package fix record |
| Debian | bullseye | git | Advisory build | 1:2.30.2-1+deb11u2 | DSA-5357-1 |
| Oracle Linux | 8 | gitaarch64 | Advisory build | 0:2.39.3-1.el8_8 | ELSA-2023-3246 |
| 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-SP2 | gitx86_64 | Advisory build | 2.26.2-27.66.1 | SUSE-SU-2023:0426-1 |
| Ubuntu | bionic | git | Advisory build | 1:2.17.1-1ubuntu0.16 | USN-5871-1 |
| AlmaLinux | 9 | git | Advisory build | 2.39.3-1.el9_2 | ALSA-2023:3245 |
| Alpine Linux | v3.14 | git | Fixed | 2.32.6-r0 | Package fix record |
| Alpine Linux | v3.15 | git | Fixed | 2.34.7-r0 | Package fix record |
| Alpine Linux | v3.16 | git | Fixed | 2.36.5-r0 | Package fix record |
| Alpine Linux | v3.17 | git | Fixed | 2.38.4-r0 | Package fix record |
| Alpine Linux | v3.18 | git | Fixed | 2.39.2-r0 | Package fix record |
| Alpine Linux | v3.19 | git | Fixed | 2.39.2-r0 | Package fix record |
| Alpine Linux | v3.20 | git | Fixed | 2.39.2-r0 | Package fix record |
| Alpine Linux | v3.21 | git | Fixed | 2.39.2-r0 | Package fix record |
| Alpine Linux | v3.22 | git | Fixed | 2.39.2-r0 | Package fix record |
| Alpine Linux | v3.23 | git | Fixed | 2.39.2-r0 | Package fix record |
| Alpine Linux | v3.24 | git | Fixed | 2.39.2-r0 | Package fix record |
| Debian | buster | git | Advisory build | 1:2.20.1-2+deb10u8 | DLA-3338-1 |
| Oracle Linux | 8 | gitx86_64 | Advisory build | 0:2.39.3-1.el8_8 | ELSA-2023-3246 |
| Oracle Linux | 9 | gitaarch64 | Advisory build | 0:2.39.3-1.el9_2 | ELSA-2023-3245 |
| Oracle Linux | 9 | gitx86_64 | Advisory build | 0:2.39.3-1.el9_2 | ELSA-2023-3245 |
| Red Hat Enterprise Linux | RHEL-8 | gitaarch64 | Advisory build | 2.39.3-1.el8_8 | RHSA-2023:3246 |
| 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.3-1.el8_8 | RHSA-2023:3246 |
| 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.3-1.el8_8 | RHSA-2023:3246 |
| 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.3-1.el8_8 | RHSA-2023:3246 |
| 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.3-1.el8_8 | RHSA-2023:3246 |
| Red Hat Enterprise Linux | RHEL-9 | gitaarch64 | Advisory build | 2.39.3-1.el9_2 | RHSA-2023:3245 |
| Red Hat Enterprise Linux | RHEL-9 | gitppc64le | Advisory build | 2.39.3-1.el9_2 | RHSA-2023:3245 |
| Red Hat Enterprise Linux | RHEL-9 | gits390x | Advisory build | 2.39.3-1.el9_2 | RHSA-2023:3245 |
| Red Hat Enterprise Linux | RHEL-9 | gitsrc | Advisory build | 2.39.3-1.el9_2 | RHSA-2023:3245 |
| Red Hat Enterprise Linux | RHEL-9 | gitx86_64 | Advisory build | 2.39.3-1.el9_2 | RHSA-2023:3245 |
| SUSE / openSUSE | SLE-12-SP4 | gitaarch64 | Advisory build | 2.26.2-27.66.1 | SUSE-SU-2023:0426-1 |
| SUSE / openSUSE | SLE-12-SP4 | gitppc64le | Advisory build | 2.26.2-27.66.1 | SUSE-SU-2023:0426-1 |
| SUSE / openSUSE | SLE-12-SP4 | gits390x | Advisory build | 2.26.2-27.66.1 | SUSE-SU-2023:0426-1 |
| SUSE / openSUSE | SLE-12-SP4 | gitx86_64 | Advisory build | 2.26.2-27.66.1 | SUSE-SU-2023:0426-1 |
| SUSE / openSUSE | SLE-12-SP5 | gitaarch64 | Advisory build | 2.26.2-27.66.1 | SUSE-SU-2023:0426-1 |
| SUSE / openSUSE | SLE-12-SP5 | gitppc64le | Advisory build | 2.26.2-27.66.1 | SUSE-SU-2023:0426-1 |
| SUSE / openSUSE | SLE-12-SP5 | gits390x | Advisory build | 2.26.2-27.66.1 | SUSE-SU-2023:0426-1 |
| SUSE / openSUSE | SLE-12-SP5 | gitx86_64 | Advisory build | 2.26.2-27.66.1 | SUSE-SU-2023:0426-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.24.1 | SUSE-SU-2023:0430-1 |
| SUSE / openSUSE | SLE-15-SP3 | gitppc64le | Advisory build | 2.35.3-150300.10.24.1 | SUSE-SU-2023:0430-1 |
| SUSE / openSUSE | SLE-15-SP3 | gits390x | Advisory build | 2.35.3-150300.10.24.1 | SUSE-SU-2023:0430-1 |
| SUSE / openSUSE | SLE-15-SP3 | gitx86_64 | Advisory build | 2.35.3-150300.10.24.1 | SUSE-SU-2023:0430-1 |
| SUSE / openSUSE | SLE-15-SP4 | gitaarch64 | Advisory build | 2.35.3-150300.10.24.1 | SUSE-SU-2023:0430-1 |
| SUSE / openSUSE | SLE-15-SP4 | gitppc64le | Advisory build | 2.35.3-150300.10.24.1 | SUSE-SU-2023:0430-1 |
| SUSE / openSUSE | SLE-15-SP4 | gits390x | Advisory build | 2.35.3-150300.10.24.1 | SUSE-SU-2023:0430-1 |
| SUSE / openSUSE | SLE-15-SP4 | gitx86_64 | Advisory build | 2.35.3-150300.10.24.1 | SUSE-SU-2023:0430-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | gitaarch64 | Advisory build | 2.35.3-150300.10.24.1 | SUSE-SU-2023:0430-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | gitppc64le | Advisory build | 2.35.3-150300.10.24.1 | SUSE-SU-2023:0430-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | gits390x | Advisory build | 2.35.3-150300.10.24.1 | SUSE-SU-2023:0430-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | gitx86_64 | Advisory build | 2.35.3-150300.10.24.1 | SUSE-SU-2023:0430-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gitaarch64 | Advisory build | 2.39.2-1.1 | OPENSUSE-SU-2024:12698-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gitppc64le | Advisory build | 2.39.2-1.1 | OPENSUSE-SU-2024:12698-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gits390x | Advisory build | 2.39.2-1.1 | OPENSUSE-SU-2024:12698-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gitx86_64 | Advisory build | 2.39.2-1.1 | OPENSUSE-SU-2024:12698-1 |
| Ubuntu | bionic | git | Advisory build | 1:2.17.1-1ubuntu0.17 | USN-5871-2 |
| Ubuntu | focal | git | Advisory build | 1:2.25.1-1ubuntu3.10 | USN-5871-1 |
| Ubuntu | jammy | git | Advisory build | 1:2.34.1-1ubuntu1.8 | USN-5871-1 |
| Ubuntu | xenial | git | Advisory build | 1:2.7.4-0ubuntu1.10+esm5 | USN-5871-1 |
| AlmaLinux | 8 | git-all | Advisory build | 2.39.3-1.el8_8 | ALSA-2023:3246 |
| AlmaLinux | 8 | git-core | Advisory build | 2.39.3-1.el8_8 | ALSA-2023:3246 |
| AlmaLinux | 8 | git-core-doc | Advisory build | 2.39.3-1.el8_8 | ALSA-2023:3246 |
| AlmaLinux | 8 | git-credential-libsecret | Advisory build | 2.39.3-1.el8_8 | ALSA-2023:3246 |
| AlmaLinux | 8 | git-daemon | Advisory build | 2.39.3-1.el8_8 | ALSA-2023:3246 |
| AlmaLinux | 8 | git-email | Advisory build | 2.39.3-1.el8_8 | ALSA-2023:3246 |
| AlmaLinux | 8 | git-gui | Advisory build | 2.39.3-1.el8_8 | ALSA-2023:3246 |
| AlmaLinux | 8 | git-instaweb | Advisory build | 2.39.3-1.el8_8 | ALSA-2023:3246 |
| AlmaLinux | 8 | git-subtree | Advisory build | 2.39.3-1.el8_8 | ALSA-2023:3246 |
| AlmaLinux | 8 | git-svn | Advisory build | 2.39.3-1.el8_8 | ALSA-2023:3246 |
| AlmaLinux | 8 | gitk | Advisory build | 2.39.3-1.el8_8 | ALSA-2023:3246 |
| AlmaLinux | 8 | gitweb | Advisory build | 2.39.3-1.el8_8 | ALSA-2023:3246 |
| AlmaLinux | 8 | perl-Git | Advisory build | 2.39.3-1.el8_8 | ALSA-2023:3246 |
| AlmaLinux | 8 | perl-Git-SVN | Advisory build | 2.39.3-1.el8_8 | ALSA-2023:3246 |
| AlmaLinux | 9 | git-all | Advisory build | 2.39.3-1.el9_2 | ALSA-2023:3245 |
| AlmaLinux | 9 | git-core | Advisory build | 2.39.3-1.el9_2 | ALSA-2023:3245 |
| AlmaLinux | 9 | git-core-doc | Advisory build | 2.39.3-1.el9_2 | ALSA-2023:3245 |
| AlmaLinux | 9 | git-credential-libsecret | Advisory build | 2.39.3-1.el9_2 | ALSA-2023:3245 |
| AlmaLinux | 9 | git-daemon | Advisory build | 2.39.3-1.el9_2 | ALSA-2023:3245 |
| AlmaLinux | 9 | git-email | Advisory build | 2.39.3-1.el9_2 | ALSA-2023:3245 |
| AlmaLinux | 9 | git-gui | Advisory build | 2.39.3-1.el9_2 | ALSA-2023:3245 |
| AlmaLinux | 9 | git-instaweb | Advisory build | 2.39.3-1.el9_2 | ALSA-2023:3245 |
| AlmaLinux | 9 | git-subtree | Advisory build | 2.39.3-1.el9_2 | ALSA-2023:3245 |
| AlmaLinux | 9 | git-svn | Advisory build | 2.39.3-1.el9_2 | ALSA-2023:3245 |
| AlmaLinux | 9 | gitk | Advisory build | 2.39.3-1.el9_2 | ALSA-2023:3245 |
| AlmaLinux | 9 | gitweb | Advisory build | 2.39.3-1.el9_2 | ALSA-2023:3245 |
| AlmaLinux | 9 | perl-Git | Advisory build | 2.39.3-1.el9_2 | ALSA-2023:3245 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
Git is a revision control system. Using a specially-crafted repository, Git prior to versions 2.39.2, 2.38.4, 2.37.6, 2.36.5, 2.35.7, 2.34.7, 2.33.7, 2.32.6, 2.31.7, and 2.30.8 can be tricked into using its local clone optimization even when using a non-local transport. Though Git will abort local clones whose source `$GIT_DIR/objects` directory contains symbolic links, the `objects` directory itself may still be a symbolic link. These two may be combined to include arbitrary files based on known paths on the victim's filesystem within the malicious repository's working copy, allowing for data exfiltration in a similar manner as CVE-2022-39253. A fix has been prepared and will appear in v2.39.2 v2.38.4 v2.37.6 v2.36.5 v2.35.7 v2.34.7 v2.33.7 v2.32.6, v2.31.7 and v2.30.8. If upgrading is impractical, two short-term workarounds are available. Avoid cloning repositories from untrusted sources with `--recurse-submodules`. Instead, consider cloning repositories without recursively cloning their submodules, and instead run `git submodule update` at each layer. Before doing so, inspect each new `.gitmodules` file to ensure that it does not contain suspicious module URLs.
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.39.0, < 2.39.2 (affected)>= 2.38.0, < 2.38.4 (affected)>= 2.37.0, < 2.37.6 (affected)>= 2.36.0, < 2.36.5 (affected)>= 2.35.0, < 2.35.7 (affected)>= 2.34.0, < 2.34.7 (affected)>= 2.33.0, < 2.33.7 (affected)>= 2.32.0, < 2.32.6 (affected)>= 2.31.0, < 2.31.7 (affected)< 2.30.8 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-59 CWE-59: Improper Link Resolution Before File Access ('Link Following')
References
4Provider assertions
3GitHub_M · cna
Git vulnerable to local clone-based data exfiltration with non-local transports
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b0f86a618b18a9411dbbbdd4c05bfea0a97a8c1a10ac5b0f3dc6dc0623df64f6
- Ingested
- 09 Oct 2026, 16:22:05 UTC
- Source record
- Official CVE record