CVE-2025-31130

MEDIUM EPSS 12.8%
Published Apr 4, 20251y ago · Modified Jun 17, 20261w ago
6.8 CVSS 3.1
Medium
Find Similar
Published Apr 4, 2025 1y ago
Last Modified Jun 17, 2026 1w ago

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.

CVSS Details

Base Score
6.8
Exploitability
2.2
Impact
4.0
Vector string
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N
Attack Vector Network
Attack Complexity High
Privileges Required None
User Interaction None
Scope Changed
Confidentiality None
Integrity High
Availability None

Threat Intelligence

EPSS Exploit Probability
12.8% percentile
Exploit & Patch Status
No Known Exploit
No Patch Available

Weaknesses 1

CWE-328

References 2

  • github.com https://github.com/GitoxideLabs/gitoxide/commit/f253f02a6658b3b7612a50d56c71f5ae4da4ca21
  • github.com https://github.com/GitoxideLabs/gitoxide/security/advisories/GHSA-2frx-2596-x5r6

Remediation

No remediation data recorded yet

Check vendor advisories and the NVD entry for patch availability.