Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

suse-cvrf логотип

SUSE-SU-2023:2038-1

Опубликовано: 26 апр. 2023
Источник: suse-cvrf

Описание

Security update for git

This update for git fixes the following issues:

  • CVE-2023-25652: Fixed partial overwrite of paths outside the working tree (bsc#1210686).
  • CVE-2023-25815: Fixed malicious placemtn of crafted message (bsc#1210686).
  • CVE-2023-29007: Fixed arbitrary configuration injection (bsc#1210686).

Список пакетов

Container bci/golang:1.19
git-core-2.35.3-150300.10.27.1
Container bci/golang:1.20-openssl
git-core-2.35.3-150300.10.27.1
Container bci/golang:1.21
git-core-2.35.3-150300.10.27.1
Container bci/golang:latest
git-core-2.35.3-150300.10.27.1
Container bci/node:16
git-core-2.35.3-150300.10.27.1
Container bci/node:18
git-core-2.35.3-150300.10.27.1
Container bci/nodejs:latest
git-core-2.35.3-150300.10.27.1
Container bci/openjdk-devel:11
git-core-2.35.3-150300.10.27.1
Container bci/openjdk-devel:latest
git-core-2.35.3-150300.10.27.1
Container bci/openjdk:11
git-core-2.35.3-150300.10.27.1
Container bci/openjdk:17
git-core-2.35.3-150300.10.27.1
Container bci/python:3
git-core-2.35.3-150300.10.27.1
Container bci/python:latest
git-core-2.35.3-150300.10.27.1
Container bci/ruby:latest
git-core-2.35.3-150300.10.27.1
Container suse/git:latest
git-core-2.35.3-150300.10.27.1
SUSE Linux Enterprise Module for Basesystem 15 SP4
git-core-2.35.3-150300.10.27.1
SUSE Linux Enterprise Module for Development Tools 15 SP4
git-2.35.3-150300.10.27.1
git-arch-2.35.3-150300.10.27.1
git-cvs-2.35.3-150300.10.27.1
git-daemon-2.35.3-150300.10.27.1
git-doc-2.35.3-150300.10.27.1
git-email-2.35.3-150300.10.27.1
git-gui-2.35.3-150300.10.27.1
git-svn-2.35.3-150300.10.27.1
git-web-2.35.3-150300.10.27.1
gitk-2.35.3-150300.10.27.1
perl-Git-2.35.3-150300.10.27.1
SUSE Linux Enterprise Real Time 15 SP3
git-2.35.3-150300.10.27.1
git-arch-2.35.3-150300.10.27.1
git-core-2.35.3-150300.10.27.1
git-cvs-2.35.3-150300.10.27.1
git-daemon-2.35.3-150300.10.27.1
git-doc-2.35.3-150300.10.27.1
git-email-2.35.3-150300.10.27.1
git-gui-2.35.3-150300.10.27.1
git-svn-2.35.3-150300.10.27.1
git-web-2.35.3-150300.10.27.1
gitk-2.35.3-150300.10.27.1
perl-Git-2.35.3-150300.10.27.1
openSUSE Leap 15.4
git-2.35.3-150300.10.27.1
git-arch-2.35.3-150300.10.27.1
git-core-2.35.3-150300.10.27.1
git-credential-gnome-keyring-2.35.3-150300.10.27.1
git-credential-libsecret-2.35.3-150300.10.27.1
git-cvs-2.35.3-150300.10.27.1
git-daemon-2.35.3-150300.10.27.1
git-doc-2.35.3-150300.10.27.1
git-email-2.35.3-150300.10.27.1
git-gui-2.35.3-150300.10.27.1
git-p4-2.35.3-150300.10.27.1
git-svn-2.35.3-150300.10.27.1
git-web-2.35.3-150300.10.27.1
gitk-2.35.3-150300.10.27.1
perl-Git-2.35.3-150300.10.27.1

Описание

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, by feeding specially crafted input to `git apply --reject`, a path outside the working tree can be overwritten with partially controlled contents (corresponding to the rejected hunk(s) from the given patch). A fix is available in 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. As a workaround, avoid using `git apply` with `--reject` when applying patches from an untrusted source. Use `git apply --stat` to inspect a patch before applying; avoid applying one that create a conflict where a link corresponding to the `*.rej` file exists.


Затронутые продукты
Container bci/golang:1.19:git-core-2.35.3-150300.10.27.1
Container bci/golang:1.20-openssl:git-core-2.35.3-150300.10.27.1
Container bci/golang:1.21:git-core-2.35.3-150300.10.27.1
Container bci/golang:latest:git-core-2.35.3-150300.10.27.1

Ссылки

Описание

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:\`.


Затронутые продукты
Container bci/golang:1.19:git-core-2.35.3-150300.10.27.1
Container bci/golang:1.20-openssl:git-core-2.35.3-150300.10.27.1
Container bci/golang:1.21:git-core-2.35.3-150300.10.27.1
Container bci/golang:latest:git-core-2.35.3-150300.10.27.1

Ссылки

Описание

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 configuration section associated with that submodule. When the attacker injects configuration values which specify executables to run (such as `core.pager`, `core.editor`, `core.sshCommand`, etc.) this can lead to a remote code execution. A fix A fix is available in 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. As a workaround, avoid running `git submodule deinit` on untrusted repositories or without prior inspection of any submodule sections in `$GIT_DIR/config`.


Затронутые продукты
Container bci/golang:1.19:git-core-2.35.3-150300.10.27.1
Container bci/golang:1.20-openssl:git-core-2.35.3-150300.10.27.1
Container bci/golang:1.21:git-core-2.35.3-150300.10.27.1
Container bci/golang:latest:git-core-2.35.3-150300.10.27.1

Ссылки
Уязвимость SUSE-SU-2023:2038-1