cve.bz

CVE-2025-31130

6.8 mediumEPSS 0.3%

Medium (6.8). EPSS 0.3% chance of exploitation in the next 30 days. Fixed in gix-features 0.41.0.

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.

Severity

CVSS 3.1

6.8 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N
EPSS
0.3% chance of exploitation in the next 30 days; higher than 17% of CVEs (scores of 2026-10-31)
CWE
CWE-328
Published
Modified
Record from
the NVD, synced

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-2frx-2596-x5r6crates.iogix-features<0.41.00.41.0
GHSA-2frx-2596-x5r6crates.iogix-commitgraph<0.27.00.27.0
GHSA-2frx-2596-x5r6crates.iogix-index<0.39.00.39.0
GHSA-2frx-2596-x5r6crates.iogix-object<0.48.00.48.0
GHSA-2frx-2596-x5r6crates.iogix-odb<0.68.00.68.0
GHSA-2frx-2596-x5r6crates.iogix-pack<0.58.00.58.0
GHSA-2frx-2596-x5r6crates.iogitoxide<0.42.00.42.0
GHSA-2frx-2596-x5r6crates.iogitoxide-core<0.46.00.46.0
GHSA-2frx-2596-x5r6crates.iogix<0.71.00.71.0
GHSA-2frx-2596-x5r6crates.iogix-archive<0.20.00.20.0
GHSA-2frx-2596-x5r6crates.iogix-blame<0.1.00.1.0
GHSA-2frx-2596-x5r6crates.iogix-config<0.44.00.44.0
GHSA-2frx-2596-x5r6crates.iogix-diff<0.51.00.51.0
GHSA-2frx-2596-x5r6crates.iogix-dir<0.13.00.13.0
GHSA-2frx-2596-x5r6crates.iogix-discover<0.39.00.39.0
GHSA-2frx-2596-x5r6crates.iogix-filter<0.18.00.18.0
GHSA-2frx-2596-x5r6crates.iogix-fsck<0.10.00.10.0
GHSA-2frx-2596-x5r6crates.iogix-merge<0.4.00.4.0
GHSA-2frx-2596-x5r6crates.iogix-negotiate<0.19.00.19.0
GHSA-2frx-2596-x5r6crates.iogix-protocol<0.49.00.49.0
GHSA-2frx-2596-x5r6crates.iogix-ref<0.51.00.51.0
GHSA-2frx-2596-x5r6crates.iogix-revision<0.33.00.33.0
GHSA-2frx-2596-x5r6crates.iogix-revwalk<0.19.00.19.0
GHSA-2frx-2596-x5r6crates.iogix-status<0.18.00.18.0
GHSA-2frx-2596-x5r6crates.iogix-traverse<0.45.00.45.0
GHSA-2frx-2596-x5r6crates.iogix-worktree<0.40.00.40.0
GHSA-2frx-2596-x5r6crates.iogix-worktree-state<0.18.00.18.0
RUSTSEC-2025-0021crates.iogix-features>=0.0.0-0 <0.41.00.41.0

References

Check your stackJSON