<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://cve.radiocsirt.org</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Sun, 04 Oct 2026 19:04:47 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-31130 — gitoxide does not detect SHA-1 collision attacks</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2025-31130</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; GitoxideLabs gitoxide&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; GitoxideLabs gitoxide&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2025-31130</guid>
    </item>
    <item>
      <title>GHSA-2frx-2596-x5r6 — gitoxide does not detect SHA-1 collision attacks</title>
      <link>https://cve.radiocsirt.org/vuln/ghsa-2frx-2596-x5r6</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; crates.io: gix-features, crates.io: gix-commitgraph, crates.io: gix-index, crates.io: gix-object, crates.io: gix-odb, crates.io: gix-pack, crates.io: gitoxide, crates.io: gitoxide-core, crates.io: gix, crates.io: gix-archive and 17 more&lt;/p&gt;
&lt;p&gt;### Summary
gitoxide uses SHA-1 hash implementations without any collision detection, leaving it vulnerable to hash collision attacks.&lt;/p&gt;
&lt;p&gt;### Details
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.&lt;/p&gt;
&lt;p&gt;The SHA-1 function is considered cryptographically insecure. However, in the wake of the SHAttered attacks, this issue was mitigated in Git 2.13.0 in 2017 by using the [sha1collisiondetection](https://github.com/crmarcstevens/sha1collisiondetection) algorithm by default and producing an error when known SHA-1 collisions are detected. Git is in the process of migrating to using SHA-256 for object hashes, but this has not been rolled out widely yet and gitoxide does not support SHA-256 object hashes.&lt;/p&gt;
&lt;p&gt;### PoC
The following program demonstrates the problem, using the two [SHAttered PDFs](https://shattered.io/):&lt;/p&gt;
&lt;p&gt;```rust
use sha1_checked::{CollisionResult, Digest};&lt;/p&gt;
&lt;p&gt;fn sha1_oid_of_file(filename: &amp;amp;str) -&amp;gt; gix::ObjectId {
    let mut hasher = gix::features::hash::hasher(gix::hash::Kind::Sha1);
    hasher.update(&amp;amp;std::fs::read(filename).unwrap());
    gix::ObjectId::Sha1(hasher.digest())
}&lt;/p&gt;
&lt;p&gt;fn sha1dc_oid_of_file(filename: &amp;amp;str) -&amp;gt; Result&amp;lt;gix::ObjectId, String&amp;gt; {
    // Matches Git’s behaviour.
    let mut hasher = sha1_checked::Builder::default().safe_hash(fal…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; crates.io: gix-features, crates.io: gix-commitgraph, crates.io: gix-index, crates.io: gix-object, crates.io: gix-odb, crates.io: gix-pack, crates.io: gitoxide, crates.io: gitoxide-core, crates.io: gix, crates.io: gix-archive and 17 more&lt;/p&gt;
&lt;p&gt;### Summary
gitoxide uses SHA-1 hash implementations without any collision detection, leaving it vulnerable to hash collision attacks.&lt;/p&gt;
&lt;p&gt;### Details
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.&lt;/p&gt;
&lt;p&gt;The SHA-1 function is considered cryptographically insecure. However, in the wake of the SHAttered attacks, this issue was mitigated in Git 2.13.0 in 2017 by using the [sha1collisiondetection](https://github.com/crmarcstevens/sha1collisiondetection) algorithm by default and producing an error when known SHA-1 collisions are detected. Git is in the process of migrating to using SHA-256 for object hashes, but this has not been rolled out widely yet and gitoxide does not support SHA-256 object hashes.&lt;/p&gt;
&lt;p&gt;### PoC
The following program demonstrates the problem, using the two [SHAttered PDFs](https://shattered.io/):&lt;/p&gt;
&lt;p&gt;```rust
use sha1_checked::{CollisionResult, Digest};&lt;/p&gt;
&lt;p&gt;fn sha1_oid_of_file(filename: &amp;amp;str) -&amp;gt; gix::ObjectId {
    let mut hasher = gix::features::hash::hasher(gix::hash::Kind::Sha1);
    hasher.update(&amp;amp;std::fs::read(filename).unwrap());
    gix::ObjectId::Sha1(hasher.digest())
}&lt;/p&gt;
&lt;p&gt;fn sha1dc_oid_of_file(filename: &amp;amp;str) -&amp;gt; Result&amp;lt;gix::ObjectId, String&amp;gt; {
    // Matches Git’s behaviour.
    let mut hasher = sha1_checked::Builder::default().safe_hash(fal…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/ghsa-2frx-2596-x5r6</guid>
    </item>
  </channel>
</rss>
