{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-31130","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2025-03-26T15:04:52.627Z","datePublished":"2025-04-04T14:41:56.355Z","dateUpdated":"2026-01-23T17:08:57.443Z"},"containers":{"cna":{"title":"gitoxide does not detect SHA-1 collision attacks","problemTypes":[{"descriptions":[{"cweId":"CWE-328","lang":"en","description":"CWE-328: Use of Weak Hash","type":"CWE"}]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.8,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N","version":"3.1"}}],"references":[{"name":"https://github.com/GitoxideLabs/gitoxide/security/advisories/GHSA-2frx-2596-x5r6","tags":["x_refsource_CONFIRM"],"url":"https://github.com/GitoxideLabs/gitoxide/security/advisories/GHSA-2frx-2596-x5r6"},{"name":"https://github.com/GitoxideLabs/gitoxide/commit/f253f02a6658b3b7612a50d56c71f5ae4da4ca21","tags":["x_refsource_MISC"],"url":"https://github.com/GitoxideLabs/gitoxide/commit/f253f02a6658b3b7612a50d56c71f5ae4da4ca21"}],"affected":[{"vendor":"GitoxideLabs","product":"gitoxide","versions":[{"version":"< 0.42.0","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2026-01-23T17:08:57.443Z"},"descriptions":[{"lang":"en","value":"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."}],"source":{"advisory":"GHSA-2frx-2596-x5r6","discovery":"UNKNOWN"}},"adp":[{"references":[{"url":"https://github.com/GitoxideLabs/gitoxide/security/advisories/GHSA-2frx-2596-x5r6","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-04-04T14:51:46.167954Z","id":"CVE-2025-31130","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-04-04T14:51:51.207Z"}}]}}