Oval Definition:oval:org.opensuse.security:def:202325815
Revision Date:2023-06-22Version:1
Title:CVE-2023-25815
Description:

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-packages, the `gettext()` function's implicit initialization no longer uses the runtime prefix but uses the hard-coded path `C:\mingw64\share\locale` to look for localized messages. And since any authenticated user has the permission to create folders in `C:\` (and since `C:\mingw64` does not typically exist), it is possible for low-privilege users to place fake messages in that location where `git.exe` will pick them up in version 2.40.1.

This vulnerability is relatively hard to exploit and requires social engineering. For example, a legitimate message at the end of a clone could be maliciously modified to ask the user to direct their web browser to a malicious website, and the user might think that the message comes from Git and is legitimate. It does require local write access by the attacker, though, which makes this attack vector less likely. Version 2.40.1 contains a patch for this issue. Some workarounds are available. Do not work on a Windows machine with shared accounts, or alternatively create a `C:\mingw64` folder and leave it empty. Users who have administrative rights may remove the permission to create folders in `C:\`.
Family:unixClass:vulnerability
Status:Reference(s):Mitre CVE-2023-25815
SUSE CVE-2023-25815
SUSE-CU-2023:1288-1
SUSE-CU-2023:1289-1
SUSE-CU-2023:1290-1
SUSE-CU-2023:1291-1
SUSE-CU-2023:1292-1
SUSE-CU-2023:1293-1
SUSE-CU-2023:1294-1
SUSE-CU-2023:1295-1
SUSE-CU-2023:1296-1
SUSE-CU-2023:1301-1
SUSE-SU-2023:2038-1
SUSE-SU-2023:2038-2
SUSE-SU-2023:2062-1
SUSE-SU-2023:2081-1
Platform(s):SUSE Linux Enterprise Desktop 15 SP5
SUSE Linux Enterprise High Performance Computing 15 SP5
SUSE Linux Enterprise Module for Basesystem 15 SP5
SUSE Linux Enterprise Module for Development Tools 15 SP5
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server for SAP Applications 15 SP5
Product(s):
Definition Synopsis
  • Release Information
  • SUSE Linux Enterprise Desktop 15 SP5 is installed
  • OR SUSE Linux Enterprise High Performance Computing 15 SP5 is installed
  • OR SUSE Linux Enterprise Module for Basesystem 15 SP5 is installed
  • OR SUSE Linux Enterprise Server 15 SP5 is installed
  • OR SUSE Linux Enterprise Server for SAP Applications 15 SP5 is installed
  • AND git-core-2.35.3-150300.10.27.1 is installed
  • OR Package Information
  • SUSE Linux Enterprise Desktop 15 SP5 is installed
  • OR SUSE Linux Enterprise High Performance Computing 15 SP5 is installed
  • OR SUSE Linux Enterprise Module for Development Tools 15 SP5 is installed
  • OR SUSE Linux Enterprise Server 15 SP5 is installed
  • OR SUSE Linux Enterprise Server for SAP Applications 15 SP5 is installed
  • AND
  • git-2.35.3-150300.10.27.1 is installed
  • OR git-arch-2.35.3-150300.10.27.1 is installed
  • OR git-cvs-2.35.3-150300.10.27.1 is installed
  • OR git-daemon-2.35.3-150300.10.27.1 is installed
  • OR git-doc-2.35.3-150300.10.27.1 is installed
  • OR git-email-2.35.3-150300.10.27.1 is installed
  • OR git-gui-2.35.3-150300.10.27.1 is installed
  • OR git-svn-2.35.3-150300.10.27.1 is installed
  • OR git-web-2.35.3-150300.10.27.1 is installed
  • OR gitk-2.35.3-150300.10.27.1 is installed
  • OR perl-Git-2.35.3-150300.10.27.1 is installed
  • OR libgit2-1_3 is not affected
  • OR libgit2-devel is not affected
  • BACK