1. Archivio CVE
  2. 2024
  3. CVE-2024-32004

CVE-2024-32004

7.8 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H 7.8 – Alta

Descrizione

Git is a revision control system. Prior to versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4, an attacker can prepare a local repository in such a way that, when cloned, will execute arbitrary code during the operation. 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 cloning repositories from untrusted sources.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
debian debian linux 10.0 –
debian debian linux 11.0 –
fedoraproject fedora 40 –
git-scm git < 2.39.4 –
git-scm git >= 2.40.0 < 2.40.2 –
git-scm git >= 2.42.0 < 2.42.2 –
git-scm git >= 2.43.0 < 2.43.4 –
git-scm git 2.41.0 –
git-scm git 2.44.0 –
git-scm git 2.45.0 –
Tutte le 44 vulnerabilità di Git-scm Git

Tipo di vulnerabilità

CWE-114 Process Control

Executing commands or loading libraries from an untrusted source or in an untrusted environment can cause an application to execute malicious commands (and payloads) on behalf of an attacker.

Impatto sui sistemi

AmbitoImpatto
Riservatezza, Integrità, Disponibilità Eseguire codice o comandi non autorizzati

Come si previene

Architettura e progettazione · Librerie o framework Libraries that are loaded should be well understood and come from a trusted source. The application can execute code contained in the native libraries, which often contain calls that are susceptible to other security problems, such as buffer overflows or command injection. All native libraries should be validated to determine if the application requires the use of the library. It is very difficult to determine what these native libraries actually do, and the potential for malicious code is high. In addition, the potential for an inadvertent mistake in these native libraries is also high, as many are written in C or C++ and may be susceptible to buffer overflow or race condition problems. To help prevent buffer overflow attacks, validate all input to native calls for content and length. If the native library does not come from a trusted source, review the source code of the library. The library should be built from the reviewed source before using it.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 19 CVE di tipo CWE-114, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org