CVE-2025-31130
published medium CVSS 3.1 · 6.8gitoxide does not detect SHA-1 collision attacks
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| GitoxideLabs | — | gitoxide< 0.42.0 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | openSUSE-Leap-16.0 | gitoxideaarch64 | Advisory build | 0.56.0-bp160.1.1 | OPENSUSE-SU-2026:21558-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | gitoxideppc64le | Advisory build | 0.56.0-bp160.1.1 | OPENSUSE-SU-2026:21558-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | gitoxides390x | Advisory build | 0.56.0-bp160.1.1 | OPENSUSE-SU-2026:21558-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | gitoxidex86_64 | Advisory build | 0.56.0-bp160.1.1 | OPENSUSE-SU-2026:21558-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gitoxideaarch64 | Advisory build | 0.42.0-1.1 | OPENSUSE-SU-2025:14994-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gitoxideppc64le | Advisory build | 0.42.0-1.1 | OPENSUSE-SU-2025:14994-1 |
Show 2 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | gitoxides390x | Advisory build | 0.42.0-1.1 | OPENSUSE-SU-2025:14994-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gitoxidex86_64 | Advisory build | 0.42.0-1.1 | OPENSUSE-SU-2025:14994-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.8 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| GitoxideLabs | gitoxide | < 0.42.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-328 CWE-328: Use of Weak Hash
References
2Provider assertions
2GitHub_M · cna
gitoxide does not detect SHA-1 collision attacks
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d092de962fd315d70a8a0af15073dbe9fb429abc247ff5bd73d625617e2f8ef7
- Ingested
- 23 Sep 2026, 08:44:43 UTC
- Source record
- Official CVE record