PT-2025-14868 · Gitoxide · Gitoxide

CVE-2025-31130

·

Publicado

2025-04-03

·

Atualizado

2026-08-10

CVSS v3.1

6.8

Média

VetorAV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N
Name of the Vulnerable Software and Affected Versions gitoxide versions prior to 0.42.0
Description The issue arises from gitoxide's use of SHA-1 hash implementations without collision detection, making it vulnerable to hash collision attacks. This means two distinct Git objects with colliding SHA-1 hashes could break the Git object model and integrity checks. The SHA-1 function is considered cryptographically insecure, and while Git has mitigated this issue by using the sha1collisiondetection algorithm, gitoxide does not support this mitigation or SHA-256 object hashes. An attacker could create two distinct Git objects with the same hash, potentially disguising malicious repository contents or exploiting assumptions in programs using gitoxide.
Recommendations For versions prior to 0.42.0, update to version 0.42.0 or later to resolve the issue. As a temporary workaround, consider restricting the use of gitoxide for critical operations until the update can be applied.

Exploit

Correção

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

CVE-2025-31130
GHSA-2FRX-2596-X5R6
OPENSUSE-SU-2025:14994-1
OPENSUSE-SU-2026:21558-1
RUSTSEC-2025-0021

Produtos afetados

Gitoxide