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

exploitDog

redhat логотип

CVE-2024-32465

Опубликовано: 14 мая 2024
Источник: redhat
CVSS3: 7.3

Описание

Git is a revision control system. The Git project recommends to avoid working in untrusted repositories, and instead to clone it first with git clone --no-local to obtain a clean copy. Git has specific protections to make that a safe operation even with an untrusted source repository, but vulnerabilities allow those protections to be bypassed. In the context of cloning local repositories owned by other users, this vulnerability has been covered in CVE-2024-32004. But there are circumstances where the fixes for CVE-2024-32004 are not enough: For example, when obtaining a .zip file containing a full copy of a Git repository, it should not be trusted by default to be safe, as e.g. hooks could be configured to run within the context of that repository. The problem has been patched in versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4. As a workaround, avoid using Git in repositories that have been obtained via archives from untrusted sources.

A flaw was found in Git in a full copy of a Git repository. A prerequisite for this vulnerability is for an unauthenticated attacker to place a specialized repository on their target's local system. If the victim were to clone this repository, it could result in arbitrary code execution.

Отчет

The vulnerability identified in Git as CVE-2024-32004, while significant, is categorized as Moderate rather than Important due to several factors. Primarily, the exploit requires meeting specific conditions, such as interacting with repositories from untrusted sources and potentially executing malicious code embedded within them. Additionally, the vulnerability does not inherently grant unauthorized access to system resources or compromise the integrity of Git installations. Although the potential impact of the exploit is substantial, its severity is tempered by the fact that it necessitates user interaction with repositories obtained from untrusted origins.

Меры по смягчению последствий

To reduce the risk of exploitation, users are advised to refrain from using Git in repositories obtained from archives sourced from untrusted origins. This precautionary measure helps to minimize exposure to potential security threats until the necessary patches can be applied.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 10gitAffected
Red Hat Enterprise Linux 6gitOut of support scope
Red Hat Enterprise Linux 7gitOut of support scope
Red Hat Fuse 7gitWill not fix
Red Hat Software Collectionsrh-git227-gitWill not fix
Red Hat Enterprise Linux 8gitFixedRHSA-2024:408425.06.2024
Red Hat Enterprise Linux 9gitFixedRHSA-2024:408325.06.2024
Red Hat Enterprise Linux 9.2 Extended Update SupportgitFixedRHSA-2024:436808.07.2024

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-22

7.3 High

CVSS3

Связанные уязвимости

CVSS3: 7.3
ubuntu
около 1 года назад

Git is a revision control system. The Git project recommends to avoid working in untrusted repositories, and instead to clone it first with `git clone --no-local` to obtain a clean copy. Git has specific protections to make that a safe operation even with an untrusted source repository, but vulnerabilities allow those protections to be bypassed. In the context of cloning local repositories owned by other users, this vulnerability has been covered in CVE-2024-32004. But there are circumstances where the fixes for CVE-2024-32004 are not enough: For example, when obtaining a `.zip` file containing a full copy of a Git repository, it should not be trusted by default to be safe, as e.g. hooks could be configured to run within the context of that repository. The problem has been patched in versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4. As a workaround, avoid using Git in repositories that have been obtained via archives from untrusted sources.

CVSS3: 7.3
nvd
около 1 года назад

Git is a revision control system. The Git project recommends to avoid working in untrusted repositories, and instead to clone it first with `git clone --no-local` to obtain a clean copy. Git has specific protections to make that a safe operation even with an untrusted source repository, but vulnerabilities allow those protections to be bypassed. In the context of cloning local repositories owned by other users, this vulnerability has been covered in CVE-2024-32004. But there are circumstances where the fixes for CVE-2024-32004 are not enough: For example, when obtaining a `.zip` file containing a full copy of a Git repository, it should not be trusted by default to be safe, as e.g. hooks could be configured to run within the context of that repository. The problem has been patched in versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4. As a workaround, avoid using Git in repositories that have been obtained via archives from untrusted sources.

CVSS3: 7.3
msrc
9 месяцев назад

Описание отсутствует

CVSS3: 7.3
debian
около 1 года назад

Git is a revision control system. The Git project recommends to avoid ...

CVSS3: 7.3
fstec
около 1 года назад

Уязвимость распределенной системы контроля версий Git, связанная с неверным ограничением имени пути к каталогу с ограниченным доступом, позволяющая нарушителю обойти защиту при клонировании ненадежных репозиториев

7.3 High

CVSS3