CVE-2025-31130
Last modified
CVE-2025-31130 is a medium-severity vulnerability rated 6.8/10 on the CVSS scale. 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. EPSS estimates a 0.22% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-31130?
How severe is CVE-2025-31130?
How do I fix CVE-2025-31130?
Are you affected by CVE-2025-31130?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
