icon

We found results for “

CVE-2025-31130

Good to know:

icon

Date: April 4, 2025

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.

Severity Score

Severity Score

Weakness Type (CWE)

Use of Weak Hash

CWE-328

Top Fix

icon

Upgrade Version

Upgrade to version gitoxide - 0.42.0;gitoxide-core - 0.46.0;gix - 0.71.0;gix-archive - 0.20.0;gix-blame - 0.1.0;gix-commitgraph - 0.27.0;gix-config - 0.44.0;gix-diff - 0.51.0;gix-dir - 0.13.0;gix-discover - 0.39.0;gix-features - 0.41.0;gix-filter - 0.18.0;gix-fsck - 0.10.0;gix-index - 0.39.0;gix-merge - 0.4.0;gix-negotiate - 0.19.0;gix-object - 0.48.0;gix-odb - 0.68.0;gix-pack - 0.58.0;gix-protocol - 0.49.0;gix-ref - 0.51.0;gix-revision - 0.33.0;gix-revwalk - 0.19.0;gix-status - 0.18.0;gix-traverse - 0.45.0;gix-worktree - 0.40.0;gix-worktree-state - 0.18.0

Learn More

CVSS v3.1

Base Score:
Attack Vector (AV): NETWORK
Attack Complexity (AC): HIGH
Privileges Required (PR): NONE
User Interaction (UI): NONE
Scope (S): CHANGED
Confidentiality (C): NONE
Integrity (I): HIGH
Availability (A): NONE

Do you need more information?

Contact Us