Path Traversal in Git-for-windows Git
CVE-2023-25815
In Git for Windows, the Windows port of Git, no localized messages are shipped with the installer. As a consequence, Git is expected not to localize messages at all, and skips the gettext initialization. However, due to a change in MINGW-p…
Vulnerability class: Path Traversal (Directory Traversal)
EPSS: 0.001 (27.2th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 3.3 (Low). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:L/A:L.
Affected products
- Git-for-windows Git — versions < 2.40.1
Weakness classification (CWE)
Public proof-of-concept exploits
References
- https://github.com/git-for-windows/git/security/advisories/GHSA-9w66-8mq8-5vm8 (x_refsource_CONFIRM)
- https://github.com/msys2/MINGW-packages/pull/10461 (x_refsource_MISC)
- https://axcheron.github.io/exploit-101-format-strings/#writing-to-the-stack (x_refsource_MISC)
- https://github.com/git-for-windows/git/releases/tag/v2.40.1.windows.1 (x_refsource_MISC)
- https://pubs.opengroup.org/onlinepubs/9699919799/functions/printf.html (x_refsource_MISC)
- www.openwall.com/lists/oss-security/2023/04/25/2
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/…
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/…
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/…
- security.gentoo.org/glsa/202312-15
Frequently asked questions
- What is CVE-2023-25815?
- CVE-2023-25815 is a low-severity vulnerability in Git-for-windows Git, classified under Path Traversal. CVSS score: 3.3/10. Published 2023-04-25.
- How severe is CVE-2023-25815?
- Low severity. CVSS v3 base score is 3.3 out of 10.
- Is CVE-2023-25815 known to be exploited?
- 7 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.