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

exploitDog

suse-cvrf логотип

SUSE-SU-2022:3494-1

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

Описание

Security update for libgit2

This update for libgit2 fixes the following issues:

  • CVE-2022-24765: Fixed potential command injection via git worktree (bsc#1198234).
  • CVE-2022-29187: Fixed incomplete fix for CVE-2022-24765 (bsc#1201431).

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

Container suse/manager/5.0/x86_64/server:latest
libgit2-28-0.28.4-150200.3.3.1
Image server-image
libgit2-28-0.28.4-150200.3.3.1
SUSE Enterprise Storage 7
libgit2-28-0.28.4-150200.3.3.1
libgit2-devel-0.28.4-150200.3.3.1
SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS
libgit2-28-0.28.4-150200.3.3.1
libgit2-devel-0.28.4-150200.3.3.1
SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS
libgit2-28-0.28.4-150200.3.3.1
libgit2-devel-0.28.4-150200.3.3.1
SUSE Linux Enterprise Module for Development Tools 15 SP3
libgit2-28-0.28.4-150200.3.3.1
libgit2-devel-0.28.4-150200.3.3.1
SUSE Linux Enterprise Server 15 SP2-BCL
libgit2-28-0.28.4-150200.3.3.1
libgit2-devel-0.28.4-150200.3.3.1
SUSE Linux Enterprise Server 15 SP2-LTSS
libgit2-28-0.28.4-150200.3.3.1
libgit2-devel-0.28.4-150200.3.3.1
SUSE Linux Enterprise Server for SAP Applications 15 SP2
libgit2-28-0.28.4-150200.3.3.1
libgit2-devel-0.28.4-150200.3.3.1
SUSE Manager Proxy 4.1
libgit2-28-0.28.4-150200.3.3.1
libgit2-devel-0.28.4-150200.3.3.1
SUSE Manager Retail Branch Server 4.1
libgit2-28-0.28.4-150200.3.3.1
libgit2-devel-0.28.4-150200.3.3.1
SUSE Manager Server 4.1
libgit2-28-0.28.4-150200.3.3.1
libgit2-devel-0.28.4-150200.3.3.1
SUSE Manager Server Module 4.1
libgit2-28-0.28.4-150200.3.3.1
SUSE Manager Server Module 4.2
libgit2-28-0.28.4-150200.3.3.1
SUSE Manager Server Module 4.3
libgit2-28-0.28.4-150200.3.3.1
openSUSE Leap 15.3
libgit2-28-0.28.4-150200.3.3.1
libgit2-28-32bit-0.28.4-150200.3.3.1
libgit2-devel-0.28.4-150200.3.3.1
openSUSE Leap 15.4
libgit2-28-0.28.4-150200.3.3.1
libgit2-28-32bit-0.28.4-150200.3.3.1

Описание

Git for Windows is a fork of Git containing Windows-specific patches. This vulnerability affects users working on multi-user machines, where untrusted parties have write access to the same hard disk. Those untrusted parties could create the folder `C:\.git`, which would be picked up by Git operations run supposedly outside a repository while searching for a Git directory. Git would then respect any config in said Git directory. Git Bash users who set `GIT_PS1_SHOWDIRTYSTATE` are vulnerable as well. Users who installed posh-gitare vulnerable simply by starting a PowerShell. Users of IDEs such as Visual Studio are vulnerable: simply creating a new project would already read and respect the config specified in `C:\.git\config`. Users of the Microsoft fork of Git are vulnerable simply by starting a Git Bash. The problem has been patched in Git for Windows v2.35.2. Users unable to upgrade may create the folder `.git` on all drives where Git commands are run, and remove read/write access from those folders as a workaround. Alternatively, define or extend `GIT_CEILING_DIRECTORIES` to cover the _parent_ directory of the user profile, e.g. `C:\Users` if the user profile is located in `C:\Users\my-user-name`.


Затронутые продукты
Container suse/manager/5.0/x86_64/server:latest:libgit2-28-0.28.4-150200.3.3.1
Image server-image:libgit2-28-0.28.4-150200.3.3.1
SUSE Enterprise Storage 7:libgit2-28-0.28.4-150200.3.3.1
SUSE Enterprise Storage 7:libgit2-devel-0.28.4-150200.3.3.1

Ссылки

Описание

Git is a distributed revision control system. Git prior to versions 2.37.1, 2.36.2, 2.35.4, 2.34.4, 2.33.4, 2.32.3, 2.31.4, and 2.30.5, is vulnerable to privilege escalation in all platforms. An unsuspecting user could still be affected by the issue reported in CVE-2022-24765, for example when navigating as root into a shared tmp directory that is owned by them, but where an attacker could create a git repository. Versions 2.37.1, 2.36.2, 2.35.4, 2.34.4, 2.33.4, 2.32.3, 2.31.4, and 2.30.5 contain a patch for this issue. The simplest way to avoid being affected by the exploit described in the example is to avoid running git as root (or an Administrator in Windows), and if needed to reduce its use to a minimum. While a generic workaround is not possible, a system could be hardened from the exploit described in the example by removing any such repository if it exists already and creating one as root to block any future attacks.


Затронутые продукты
Container suse/manager/5.0/x86_64/server:latest:libgit2-28-0.28.4-150200.3.3.1
Image server-image:libgit2-28-0.28.4-150200.3.3.1
SUSE Enterprise Storage 7:libgit2-28-0.28.4-150200.3.3.1
SUSE Enterprise Storage 7:libgit2-devel-0.28.4-150200.3.3.1

Ссылки