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.
Published: 2025-04-04
Score: 6.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2025-9751 gitoxide does not detect SHA-1 collision attacks
Github GHSA Github GHSA GHSA-2frx-2596-x5r6 gitoxide does not detect SHA-1 collision attacks
History

Fri, 23 Jan 2026 18:30:00 +0000


Fri, 23 Jan 2026 17:30:00 +0000


Fri, 04 Apr 2025 15:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 04 Apr 2025 15:00:00 +0000

Type Values Removed Values Added
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.
Title gitoxide does not detect SHA-1 collision attacks
Weaknesses CWE-328
References
Metrics cvssV3_1

{'score': 6.8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-01-23T17:08:57.443Z

Reserved: 2025-03-26T15:04:52.627Z

Link: CVE-2025-31130

cve-icon Vulnrichment

Updated: 2025-04-04T14:51:41.104Z

cve-icon NVD

Status : Deferred

Published: 2025-04-04T15:15:48.320

Modified: 2026-04-15T00:35:42.020

Link: CVE-2025-31130

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses