5.5

CVE-2023-22490: git-scm git Link Following

CVSS: 5.5v3.1MediumModified
AliasesALPINE-CVE-2023-22490UBUNTU-CVE-2023-22490USN-5871-2
Published 14-02-2023Last modified 08-10-2026

Vulnerability summary

CVE-2023-22490 is a medium (CVSS 5.5) Link Following vulnerability in git-scm git. EPSS estimates a 0.71% chance of exploitation in the next 30 days, higher than 52.6% of scored vulnerabilities.

Overall risk
22/100
0100
Low · default modelHow is this calculated?
CVSS score
5.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.71%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 11 · Related 7

Timeline

  1. 14-02-2023
    PublishedVulnerability first disclosed.
  2. 08-10-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

0.71%

Chance of exploitation in the next 30 days

Percentile

53%

Versus all other CVEs

30-day change

0.00 pp

From 0.71% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.71%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Alpine1 product
  • git≥ 2.31.0, < 2.32.6-r0 | ≥ 2.31.0, < 2.34.7-r0 | ≥ 2.31.0, < 2.36.5-r0 | ≥ 2.31.0, < 2.38.4-r0 | ≥ 2.31.0, < 2.39.2-r0
Chainguard1 product
  • git< 2.39.2-r1
Debian1 product
  • git< 1:2.39.2-1
Git1 product
  • 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
Git-scm1 product
  • git< 2.30.8 | ≥ 2.31.0, < 2.31.7 | ≥ 2.32.0, < 2.32.6 | ≥ 2.33.0, < 2.33.7 | ≥ 2.34.0, < 2.34.7 | ≥ 2.35.0, < 2.35.7 | ≥ 2.36.0, < 2.36.5 | ≥ 2.37.0, < 2.37.6 | ≥ 2.38.0, < 2.38.4 | ≥ 2.39.0, < 2.39.2
Ubuntu1 product
  • git< 1:2.7.4-0ubuntu1.10+esm5 | < 1:2.17.1-1ubuntu0.16 | < 1:2.25.1-1ubuntu3.10 | < 1:2.34.1-1ubuntu1.8 | < 1:2.17.1-1ubuntu0.17
Wolfi1 product
  • git< 2.39.2-r1

7 vendors · 7 products

References

13 links
Show all 13 references