Read the docs
TI-2023-08739 Aliases CVE-2023-22490

Git vulnerable to local clone-based data exfiltration with non-local transports

Priority LOW 26CWE-59Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Information disclosure
Confidentiality · integrity · availability
High · None · None
Fix status
Partial Red Hat: 3 fixed, 3 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-59 and the CVSS impact.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.0071 53rd percentileScored 2026-11-07
Fix Partial git (git): 2.39.2, 2.38.4, 2.37.6 +7Red Hat: 3 advisoriesRed Hat: 3 fixed, 3 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Gitgit2.39.0 to before 2.39.2; 2.38.0 to before 2.38.4; 2.37.0 to before 2.37.6; 2.36.0 to before 2.36.5; 2.35.0 to before 2.35.7; 2.34.0 to before 2.34.7; 2.33.0 to before 2.33.7; 2.32.0 to before 2.32.6; 2.31.0 to before 2.31.7; before 2.30.82.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, 2.30.8Patch availableCNA
  • git VendorGit Affected 2.39.0 to before 2.39.2; 2.38.0 to before 2.38.4; 2.37.0 to before 2.37.6; 2.36.0 to before 2.36.5; 2.35.0 to before 2.35.7; 2.34.0 to before 2.34.7; 2.33.0 to before 2.33.7; 2.32.0 to before 2.32.6; 2.31.0 to before 2.31.7; before 2.30.8 Fixed in 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, 2.30.8 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*before 2.30.8; 2.31.0 to before 2.31.7; 2.32.0 to before 2.32.6; 2.33.0 to before 2.33.7; 2.34.0 to before 2.34.7; 2.35.0 to before 2.35.7; 2.36.0 to before 2.36.5; 2.37.0 to before 2.37.6; 2.38.0 to before 2.38.4; 2.39.0 to before 2.39.2VulnerableGit-scm
  • cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* Versions before 2.30.8; 2.31.0 to before 2.31.7; 2.32.0 to before 2.32.6; 2.33.0 to before 2.33.7; 2.34.0 to before 2.34.7; 2.35.0 to before 2.35.7; 2.36.0 to before 2.36.5; 2.37.0 to before 2.37.6; 2.38.0 to before 2.38.4; 2.39.0 to before 2.39.2 Vulnerable ·Git-scm

Remediation

  • Fix · CNA git (git) Fixed in 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, 2.30.8

Red Hat 3 advisories

  • RHSA-2024:0407 Released 2024-01-25 · Red Hat rating Moderate
    git security update
    • Red Hat Enterprise Linux AppStream EUS (v.8.6) git-2.31.8-1.el8_6, git-all-2.31.8-1.el8_6, git-core-2.31.8-1.el8_6 +12
  • RHSA-2023:3246 Released 2023-05-22 · Red Hat rating Important
    git security update
    • Red Hat Enterprise Linux AppStream (v. 8) git-2.39.3-1.el8_8, git-all-2.39.3-1.el8_8, git-core-2.39.3-1.el8_8 +12
  • RHSA-2023:3245 Released 2023-05-22 · Red Hat rating Important
    git security update
    • Red Hat Enterprise Linux AppStream (v. 9) git-2.39.3-1.el9_2, git-all-2.39.3-1.el9_2, git-core-2.39.3-1.el9_2 +12

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 6AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 7AffectedNo fix planned: Out of support scope
Red Hat JBoss Data Grid 7AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux AppStream (v. 8)Fixed RHSA-2023:3246
Red Hat Enterprise Linux AppStream (v. 9)Fixed RHSA-2023:3245
Red Hat Enterprise Linux AppStream EUS (v.8.6)Fixed RHSA-2024:0407

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-22490
  2. 2026-10-08 CISA SSVC decision points changed

References

  • TI-2025-30709 Git allows arbitrary code execution through broken config quoting KEVCVSS 3.1HIGH 8.1
  • TI-2022-07580 gitattributes parsing integer overflow in git CVSS 3.1CRITICAL 9.8
  • TI-2022-20244 Integer overflow in `git archive`, `git log --format` leading to RCE in git CVSS 3.1CRITICAL 9.8
  • TI-2021-04400 malicious repositories can execute remote code while cloning CVSS 3.1HIGH 8.0
  • TI-2024-21101 Git's recursive clones on case-insensitive filesystems that support symlinks are susceptible to Remote Code Execution CVSS 3.1CRITICAL 9.1
  • TI-2023-10933 "git apply --reject" partially-controlled arbitrary file write CVSS 3.1HIGH 7.5
See all 31 →

Sources