Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

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

48
This month
HIGH 7.0UPGRADEMITIGATE

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

Git is a revision control system. Prior to versions 2.30.9, 2.31.8, 2.32.7, 2.33.8, 2.34.8, 2.35.8, 2.36.6, 2.37.7, 2.38.5, 2.39.3, and 2.40.1, a specially crafted `.gitmodules` file with submodule URLs that are longer than 1024 characters can used to exploit a bug in `config.c::git_config_copy_or_rename_section_in_file()`. This bug can be used to inject arbitrary configuration into a user's `$GIT_DIR/config` when attempting to remove the configu

Why this priority

  • High severity
  • EPSS top 7%: very likely to be exploited

A fixed release or distro patch exists.

Risk facts

CVSS score7.0 (High)
Attack vectorLocal
Attack complexityHigh
Privileges neededNone
User interactionRequired
EPSS exploit chance5.6% (top 7%)
CISA exploited listNo
WeaknessCWE-74
Published2023-04-25
Last modified2026-11-02
Publisher (CNA): GitHub, Inc. · Vendor: fedoraproject · git-scm

Share: LinkedIn · X · Reddit

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

Am I affected?

Timeline

git-scm git UPGRADE
Affected: < 2.30.9 · >= 2.31.0 and < 2.31.8 · >= 2.32.0 and < 2.32.7 · >= 2.33.0 and < 2.33.8 · >= 2.34.0 and < 2.34.8 · >= 2.35.0 and < 2.35.8 · >= 2.36.0 and < 2.36.5 · >= 2.37.0 and < 2.37.7
Fixed in: 2.30.9, 2.31.8, 2.32.7, 2.33.8, 2.34.8, 2.35.8, 2.36.5, 2.37.7, 2.38.5, 2.39.3
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.9 (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.
fedoraproject fedora MITIGATE
Affected: 36 · 37 · 38
Fixed in: no fixed release known
Safe to downgrade to: a release before 36
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
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-29007?

git: upgrade to 2.30.9, 2.31.8, 2.32.7, 2.33.8, 2.34.8, 2.35.8, 2.36.5, 2.37.7, 2.38.5, 2.39.3; fedora: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.

Is CVE-2023-29007 being exploited?

CVE-2023-29007 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-29007 affect?

CVE-2023-29007 affects git, fedora. Severity is high (CVSS 7.0). Git is a revision control system. Prior to versions 2.30.9, 2.31.8, 2.32.7, 2.33.8, 2.34.8, 2.35.8, 2.36.6, 2.37.7, 2.38.5, 2.39.3, and 2.40.1, a specially crafted `.gitmodules` file with submodule URLs that are longer than 1024 characters

How urgent is CVE-2023-29007?

Priority 48/100. High severity; EPSS top 7%: very likely to be exploited

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.