1. Archivio CVE
  2. 2025
  3. CVE-2025-24890

CVE-2025-24890

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

Descrizione

gitoxide is an implementation of git written in Rust. Prior to 0.13.3, the gix-sec crate on Windows incorrectly treats repositories controlled by another user as trusted when an administrator runs a dependent program with an unfiltered elevated token. In gix-sec/src/identity.rs, gix_sec::identity::is_path_owned_by_current_user obtains folder_owner and token_owner, but its administrator-specific IsWellKnownSid and CheckTokenMembership checks examine the running token rather than confirming the directory owner. This bypasses safe.directory-style protection for repositories owned and configured by a limited user, allowing repository configuration or hooks to execute commands with the administrator's privileges when an affected operation is performed. Exploitation requires Windows, an elevated administrator, a program that relies on gix-sec trust results, and interaction with a repository controlled by another user. An unelevated UAC process is not affected, and cloning is not affected because repository configuration and hooks are not copied. This issue is fixed in version 0.13.3.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
gitoxidelabs gitoxide < 0.13.3 –
Tutte le 16 vulnerabilità di Gitoxidelabs Gitoxide

Tipo di vulnerabilità

CWE-283 Unverified Ownership

The product does not properly verify that a critical resource is owned by the proper entity.

Impatto sui sistemi

AmbitoImpatto
Controllo degli accessi Ottenere privilegi o assumere un’altra identità

Come si previene

Architettura e progettazione · Esercizio Gestisci con molta attenzione l’assegnazione e l’uso dei privilegi, e definisci in modo esplicito le zone di fiducia del software.
Architettura e progettazione · Separazione dei privilegi Valuta il principio della separazione dei privilegi: richiedi che siano soddisfatte più condizioni prima di concedere l’accesso a una risorsa del sistema.

Tutte le 42 CVE di tipo CWE-283, con andamento e prevenzione

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