SHA-1 Hash Collision Vulnerability in Gitoxide by GitoxideLabs
CVE-2025-31130
6.8MEDIUM
What is CVE-2025-31130?
Gitoxide, a Rust implementation of Git, is susceptible to hash collision attacks due to its use of nonlinear SHA-1 hash implementations prior to version 0.42.0. Without collision detection mechanisms, the integrity of the Git object model can be compromised, potentially resulting in distinct Git objects sharing the same SHA-1 hash. This flaw can disrupt version control operations and undermine data integrity. This issue was addressed in version 0.42.0 through necessary updates to the hashing process.
Affected Version(s)
gitoxide < 0.42.0
