Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2023-22490: Git is a revision control system

33
Routine
MEDIUM 5.5UPGRADE

CVE-2023-22490 is a medium-severity flaw (CVSS 5.5) affecting git. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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

Why this priority

  • No elevated risk signals yet

A fixed release or distro patch exists.

Risk facts

CVSS score5.5 (Medium)
Attack vectorLocal
Attack complexityLow
Privileges neededNone
User interactionRequired
EPSS exploit chance0.7% (top 47%)
CISA exploited listNo
WeaknessCWE-59
Published2023-02-14
Last modified2026-10-08
Publisher (CNA): GitHub, Inc. · Vendor: git-scm

Share: LinkedIn · X · Reddit

Last updated 2026-10-08 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

git-scm git UPGRADE
Affected: < 2.30.8 · >= 2.31.0 and < 2.31.7 · >= 2.32.0 and < 2.32.6 · >= 2.33.0 and < 2.33.7 · >= 2.34.0 and < 2.34.7 · >= 2.35.0 and < 2.35.7 · >= 2.36.0 and < 2.36.5 · >= 2.37.0 and < 2.37.6
Fixed in: 2.30.8, 2.31.7, 2.32.6, 2.33.7, 2.34.7, 2.35.7, 2.36.5, 2.37.6, 2.38.4, 2.39.2
Safe to downgrade to: a release before 2.31.0
1. Check installed version
apt-cache policy git || rpm -q git || git --version
2. UPGRADE to 2.30.8 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade git
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade git
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 2.31.0 (Debian / Ubuntu)
apt-cache madison git sudo apt install git=<VERSION_BEFORE_2.31.0> sudo apt-mark hold git
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list git sudo dnf downgrade git-<VERSION_BEFORE_2.31.0> sudo dnf versionlock add git
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2023-22490?

git: upgrade to 2.30.8, 2.31.7, 2.32.6, 2.33.7, 2.34.7, 2.35.7, 2.36.5, 2.37.6, 2.38.4, 2.39.2. Exact commands for each OS are on this page.

Is CVE-2023-22490 being exploited?

CVE-2023-22490 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2023-22490 affect?

CVE-2023-22490 affects git. Severity is medium (CVSS 5.5). 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 whe

How urgent is CVE-2023-22490?

Priority 33/100. No elevated risk signals yet.

Software pages

Git vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.