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

CVE-2024-35197

5.4 Gravità media CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L 5.4 – Media

Descrizione

gitoxide is a pure Rust implementation of Git. On Windows, fetching refs that clash with legacy device names reads from the devices, and checking out paths that clash with such names writes arbitrary data to the devices. This allows a repository, when cloned, to cause indefinite blocking or the production of arbitrary message that appear to have come from the application, and potentially other harmful effects under limited circumstances. If Windows is not used, or untrusted repositories are not cloned or otherwise used, then there is no impact. A minor degradation in availability may also be possible, such as with a very large file named `CON`, though the user could interrupt the application.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
byron gitoxide < 0.36.0 –

Tipo di vulnerabilità

CWE-67 Improper Handling of Windows Device Names

The product constructs pathnames from user input, but it does not handle or incorrectly handles a pathname containing a Windows device name such as AUX or CON. This typically leads to denial of service or an information exposure when the application attempts to process the pathname as a regular file.

Impatto sui sistemi

AmbitoImpatto
Disponibilità, Riservatezza, Altro Interruzione del servizio: arresto o riavvio, Leggere i dati dell’applicazione, Altro

Come si previene

Sviluppo Be familiar with the device names in the operating system where your system is deployed. Check input for these device names.

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

Tutte le 7 CVE di tipo CWE-67, con andamento e prevenzione

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