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.
Metrics
Affected Vendors & Products
References
History
Fri, 04 Apr 2025 15:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Metrics |
ssvc
|
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
|

Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2025-04-04T14:51:51.207Z
Reserved: 2025-03-26T15:04:52.627Z
Link: CVE-2025-31130

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

Status : Awaiting Analysis
Published: 2025-04-04T15:15:48.320
Modified: 2025-04-07T14:18:15.560
Link: CVE-2025-31130

No data.