CVE catalog

CVE-2023-23946

git: CVE-2023-23946

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Published
Source
[NVD] · [CVE record]
EPSS
1.14% · Oct 25, 2026

Git, a revision control system, is vulnerable to path traversal 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. By feeding a crafted input to `git apply`, a path outside the working tree can be overwritten as the user who is running `git apply`. 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. As a workaround, use `git apply --stat` to inspect a patch before applying; avoid applying one that creates a symbolic link and then creates a file beyond the symbolic link.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiangitsid1:2.55.0-1fixed
Debiangitforky1:2.53.0-1fixed
Debiangittrixie1:2.47.3-0+deb13u1fixed
Debiangitbookworm1:2.39.5-0+deb12u3fixed
Debiangitbookworm-security1:2.39.5-0+deb12u2fixed
CpegitNot reported2.39.2fixed
Alpinegit3.142.32.6-r0fixed
Alpinegit3.152.34.7-r0fixed
Alpinegit3.162.36.5-r0fixed
Alpinegit3.172.38.4-r0fixed
Alpinegit3.182.39.2-r0fixed
Alpinegit3.192.39.2-r0fixed
Alpinegit3.202.39.2-r0fixed
Alpinegit3.212.39.2-r0fixed
Alpinegit3.222.39.2-r0fixed
Alpinegit3.232.39.2-r0fixed
Alpinegit3.242.39.2-r0fixed
Ubuntugitpro1:2.5.0-1vulnerable
Ubuntugitpro1:2.6.2-1vulnerable
Ubuntugitpro1:2.6.3-1vulnerable
Ubuntugitpro1:2.6.4-1vulnerable
Ubuntugitpro1:2.7.0~rc3-1vulnerable
Ubuntugitpro1:2.7.0-1vulnerable
Ubuntugitpro1:2.7.3-0ubuntu1vulnerable
Ubuntugitpro1:2.7.4-0ubuntu1vulnerable
Ubuntugitpro1:2.7.4-0ubuntu1.1vulnerable
Ubuntugitpro1:2.7.4-0ubuntu1.2vulnerable
Ubuntugitpro1:2.7.4-0ubuntu1.3vulnerable
Ubuntugitpro1:2.7.4-0ubuntu1.4vulnerable
Ubuntugitpro1:2.7.4-0ubuntu1.5vulnerable
Ubuntugitpro1:2.7.4-0ubuntu1.6vulnerable
Ubuntugitpro1:2.7.4-0ubuntu1.7vulnerable
Ubuntugitpro1:2.7.4-0ubuntu1.8vulnerable
Ubuntugitpro1:2.7.4-0ubuntu1.9vulnerable
Ubuntugitpro1:2.7.4-0ubuntu1.10vulnerable
Ubuntugitpro1:2.7.4-0ubuntu1.10+esm1vulnerable
Ubuntugitpro1:2.7.4-0ubuntu1.10+esm3vulnerable
Ubuntugitpro1:2.7.4-0ubuntu1.10+esm4vulnerable
Ubuntugitpro1:2.7.4-0ubuntu1.10+esm5fixed
Ubuntugit18.041:2.14.1-1ubuntu4vulnerable
Ubuntugit18.041:2.15.1-1ubuntu2vulnerable
Ubuntugit18.041:2.17.0-1ubuntu1vulnerable
Ubuntugit18.041:2.17.1-1ubuntu0.1vulnerable
Ubuntugit18.041:2.17.1-1ubuntu0.3vulnerable
Ubuntugit18.041:2.17.1-1ubuntu0.4vulnerable
Ubuntugit18.041:2.17.1-1ubuntu0.5vulnerable
Ubuntugit18.041:2.17.1-1ubuntu0.6vulnerable
Ubuntugit18.041:2.17.1-1ubuntu0.7vulnerable
Ubuntugit18.041:2.17.1-1ubuntu0.8vulnerable
Ubuntugit18.041:2.17.1-1ubuntu0.9vulnerable
Ubuntugit18.041:2.17.1-1ubuntu0.10vulnerable
Ubuntugit18.041:2.17.1-1ubuntu0.11vulnerable
Ubuntugit18.041:2.17.1-1ubuntu0.12vulnerable
Ubuntugit18.041:2.17.1-1ubuntu0.13vulnerable
Ubuntugit18.041:2.17.1-1ubuntu0.14vulnerable
Ubuntugit18.041:2.17.1-1ubuntu0.15vulnerable
Ubuntugit18.041:2.17.1-1ubuntu0.16fixed
Ubuntugit20.041:2.20.1-2ubuntu1vulnerable
Ubuntugit20.041:2.24.0-1ubuntu1vulnerable
Ubuntugit20.041:2.24.0-1ubuntu2vulnerable
Ubuntugit20.041:2.25.0-1ubuntu1vulnerable
Ubuntugit20.041:2.25.1-1ubuntu1vulnerable
Ubuntugit20.041:2.25.1-1ubuntu2vulnerable
Ubuntugit20.041:2.25.1-1ubuntu3vulnerable
Ubuntugit20.041:2.25.1-1ubuntu3.1vulnerable
Ubuntugit20.041:2.25.1-1ubuntu3.2vulnerable
Ubuntugit20.041:2.25.1-1ubuntu3.3vulnerable
Ubuntugit20.041:2.25.1-1ubuntu3.4vulnerable
Ubuntugit20.041:2.25.1-1ubuntu3.5vulnerable
Ubuntugit20.041:2.25.1-1ubuntu3.6vulnerable
Ubuntugit20.041:2.25.1-1ubuntu3.7vulnerable
Ubuntugit20.041:2.25.1-1ubuntu3.8vulnerable
Ubuntugit20.041:2.25.1-1ubuntu3.10fixed
Ubuntugit22.041:2.32.0-1ubuntu1vulnerable
Ubuntugit22.041:2.33.1-1ubuntu1vulnerable
Ubuntugit22.041:2.34.1-1ubuntu1vulnerable
Ubuntugit22.041:2.34.1-1ubuntu1.1vulnerable
Ubuntugit22.041:2.34.1-1ubuntu1.2vulnerable
Ubuntugit22.041:2.34.1-1ubuntu1.4vulnerable
Ubuntugit22.041:2.34.1-1ubuntu1.5vulnerable
Ubuntugit22.041:2.34.1-1ubuntu1.6vulnerable
Ubuntugit22.041:2.34.1-1ubuntu1.8fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiangitsourcesid1:2.39.2-1not yet assignedNot reported[1031310]
Debiangitsourceforky1:2.39.2-1not yet assignedNot reported[1031310]
Debiangitsourcetrixie1:2.39.2-1not yet assignedNot reported[1031310]
Debiangitsourcebookworm1:2.39.2-1not yet assignedNot reported[1031310]
CpegitcpeNot reported2.39.2Not reportedNVD-CVE-2023-23946Not reported
Alpinegitapk3.142.32.6-r0Not reportedALPINE-CVE-2023-23946Not reported
Alpinegitapk3.152.34.7-r0Not reportedALPINE-CVE-2023-23946Not reported
Alpinegitapk3.162.36.5-r0Not reportedALPINE-CVE-2023-23946Not reported
Alpinegitapk3.172.38.4-r0Not reportedALPINE-CVE-2023-23946Not reported
Alpinegitapk3.182.39.2-r0Not reportedALPINE-CVE-2023-23946Not reported
Alpinegitapk3.192.39.2-r0Not reportedALPINE-CVE-2023-23946Not reported
Alpinegitapk3.202.39.2-r0Not reportedALPINE-CVE-2023-23946Not reported
Alpinegitapk3.212.39.2-r0Not reportedALPINE-CVE-2023-23946Not reported
Alpinegitapk3.222.39.2-r0Not reportedALPINE-CVE-2023-23946Not reported
Alpinegitapk3.232.39.2-r0Not reportedALPINE-CVE-2023-23946Not reported
Alpinegitapk3.242.39.2-r0Not reportedALPINE-CVE-2023-23946Not reported
Ubuntugitdebpro1:2.7.4-0ubuntu1.10+esm5Not reportedUBUNTU-CVE-2023-23946Not reported
Ubuntugitdeb18.041:2.17.1-1ubuntu0.16Not reportedUBUNTU-CVE-2023-23946Not reported
Ubuntugitdeb20.041:2.25.1-1ubuntu3.10Not reportedUBUNTU-CVE-2023-23946Not reported
Ubuntugitdeb22.041:2.34.1-1ubuntu1.8Not reportedUBUNTU-CVE-2023-23946Not reported

[Debian bug #1031310]

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

References