PT-2025-14868

CVE-2025-31130

·

Published

2025-04-03

·

Updated

2026-08-10

Description by

CVSS 3.1
6.8
Medium
MetricsAV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N
Name of the Vulnerable Software and Affected Versions gitoxide versions prior to 0.42.0
Description The issue arises from gitoxide's use of SHA-1 hash implementations without collision detection, making it vulnerable to hash collision attacks. This means two distinct Git objects with colliding SHA-1 hashes could break the Git object model and integrity checks. The SHA-1 function is considered cryptographically insecure, and while Git has mitigated this issue by using the sha1collisiondetection algorithm, gitoxide does not support this mitigation or SHA-256 object hashes. An attacker could create two distinct Git objects with the same hash, potentially disguising malicious repository contents or exploiting assumptions in programs using gitoxide.
Recommendations For versions prior to 0.42.0, update to version 0.42.0 or later to resolve the issue. As a temporary workaround, consider restricting the use of gitoxide for critical operations until the update can be applied.
Exploitability
Exploit
Fix
Vendors
Affected products
Weakness enumeration
Related identifiers
GHSA-2FRX-2596-X5R6
OPENSUSE-SU-2025:14994-1
OPENSUSE-SU-2026:21558-1
RUSTSEC-2025-0021
Found an issue in the description? Have something to add? Feel free to write us 👾