CVE-2025-31130
SHA-1 collision attacks are not detected
6.8
MEDIUM
CVSS 3.1
EPSS 0.24%
描述
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.
如何修補 CVE-2025-31130
要修補 CVE-2025-31130,請將受影響套件升級到下列已修補版本。
- —升級至 0.39.1-2 或更新版本
- —升級至 0.42.0 或更新版本
- —升級至 0.46.0 或更新版本
- —升級至 0.71.0 或更新版本
- —升級至 0.20.0 或更新版本
- —升級至 0.1.0 或更新版本
- —升級至 0.27.0 或更新版本
- —升級至 0.44.0 或更新版本
- —升級至 0.51.0 或更新版本
- —升級至 0.13.0 或更新版本
- —升級至 0.39.0 或更新版本
- —升級至 0.41.0 或更新版本
- —升級至 0.41.0 或更新版本
- —升級至 0.18.0 或更新版本
- —升級至 0.10.0 或更新版本
- —升級至 0.39.0 或更新版本
- —
CVE-2025-31130 正在被利用嗎?
低 — EPSS 為 0.2%,目前沒有觀察到大規模利用活動。
受影響套件(29)
- from 0, < 0.39.1-2
- from 0, < 0.42.0
- from 0, < 0.46.0
- from 0, < 0.71.0
- from 0, < 0.20.0
- from 0, < 0.1.0
- from 0, < 0.27.0
- from 0, < 0.44.0
- from 0, < 0.51.0
- from 0, < 0.13.0
- from 0, < 0.39.0
- from 0, < 0.41.0
- >= 0.0.0-0, < 0.41.0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N |