> CVE-2025-31130 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2025-04-04 15:15
MODIFIED
2025-04-07 14:18
CVSS_SCORE V3
6.8
EPSS (Prob. Exploit)
0.26%
Top 82.0%
DATA SOURCES:
NVD đź”— 2025-10-18 CVE PROJECT đź”— 2026-01-19 FIRST EPSS đź”— 2026-11-08 GITHUB đź”— 2026-11-11 OSV đź”— 2026-10-11

> DESCRIPTION

gitoxide is an implementation of git written in Rust. Before 0.42.0, gitoxide uses SHA-1 hash implementations without any collision detection, leaving it vulnerable to hash collision attacks. gitoxide uses the sha1_smol or sha1 crate, both of which implement standard SHA-1 without any mitigations for collision attacks. This means that two distinct Git objects with colliding SHA-1 hashes would break the Git object model and integrity checks when used with gitoxide. This vulnerability is fixed in 0.42.0.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
High (H)
Conditions spécifiques doivent être réunies pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Changed (C)
Impact s'étend au-delà du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
None (N)
Aucune divulgation d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
None
Aucune divulgation d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
None
Aucune interruption de service

> GITHUB SECURITY ADVISORY

GHSA-2frx-2596-x5r6 MODERATE

gitoxide does not detect SHA-1 collision attacks

AFFECTED PACKAGES:
RUST / gix-worktree-state
< 0.18.0
Fixed in: 0.18.0
RUST / gix-worktree
< 0.40.0
Fixed in: 0.40.0
RUST / gix-traverse
< 0.45.0
Fixed in: 0.45.0
RUST / gix-status
< 0.18.0
Fixed in: 0.18.0
RUST / gix-revwalk
< 0.19.0
Fixed in: 0.19.0
RUST / gix-revision
< 0.33.0
Fixed in: 0.33.0
RUST / gix-ref
< 0.51.0
Fixed in: 0.51.0
RUST / gix-protocol
< 0.49.0
Fixed in: 0.49.0
RUST / gix-negotiate
< 0.19.0
Fixed in: 0.19.0
RUST / gix-merge
< 0.4.0
Fixed in: 0.4.0

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

gitoxide does not detect SHA-1 collision attacks

AFFECTED PACKAGES:
Unknown / Unknown
2068 versions affected
ALIASES:
GHSA-2frx-2596-x5r6, RUSTSEC-2025-0021

> HISTORIQUE DES MODIFICATIONS

Première apparition
04/04/2025 15:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 15:02
CVEPROJECT
Champ modifié: CVE Project
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 1 Dernière mise à jour: 1 year ago
« BACK_TO_HOME