<?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>Mon, 26 Oct 2026 02:44:24 +0000</lastBuildDate>
    <item>
      <title>CVE-2021-29941</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2021-29941</link>
      <description>&lt;p&gt;An issue was discovered in the reorder crate through 2021-02-24 for Rust. swap_index has an out-of-bounds write if an iterator returns a len() that is too small.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;An issue was discovered in the reorder crate through 2021-02-24 for Rust. swap_index has an out-of-bounds write if an iterator returns a len() that is too small.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2021-29941</guid>
    </item>
    <item>
      <title>RUSTSEC-2021-0050 — swap_index can write out of bounds and return uninitialized memory</title>
      <link>https://cve.radiocsirt.org/vuln/rustsec-2021-0050</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; crates.io: reorder&lt;/p&gt;
&lt;p&gt;`swap_index` takes an iterator and swaps the items with their corresponding
indexes. It reserves capacity and sets the length of the vector based on the
`.len()` method of the iterator.&lt;/p&gt;
&lt;p&gt;If the `len()` returned by the iterator is larger than the actual number of
elements yielded, then `swap_index` creates a vector containing uninitialized
members. If the `len()` returned by the iterator is smaller than the actual
number of members yielded, then `swap_index` can write out of bounds past
its allocated vector.&lt;/p&gt;
&lt;p&gt;As noted by the Rust documentation, [`len()`](https://doc.rust-lang.org/std/iter/trait.ExactSizeIterator.html#method.len)
and `size_hint()` are primarily meant for optimization and incorrect values
from their implementations should not lead to memory safety violations.&lt;/p&gt;
&lt;p&gt;# Patch&lt;/p&gt;
&lt;p&gt;A new version crate was pushed that marks this function as unsafe.&lt;/p&gt;
&lt;p&gt;reorder = &amp;#34;1.1.0&amp;#34;&lt;/p&gt;
&lt;p&gt;Previous versions have also been yanked from crates.io.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; crates.io: reorder&lt;/p&gt;
&lt;p&gt;`swap_index` takes an iterator and swaps the items with their corresponding
indexes. It reserves capacity and sets the length of the vector based on the
`.len()` method of the iterator.&lt;/p&gt;
&lt;p&gt;If the `len()` returned by the iterator is larger than the actual number of
elements yielded, then `swap_index` creates a vector containing uninitialized
members. If the `len()` returned by the iterator is smaller than the actual
number of members yielded, then `swap_index` can write out of bounds past
its allocated vector.&lt;/p&gt;
&lt;p&gt;As noted by the Rust documentation, [`len()`](https://doc.rust-lang.org/std/iter/trait.ExactSizeIterator.html#method.len)
and `size_hint()` are primarily meant for optimization and incorrect values
from their implementations should not lead to memory safety violations.&lt;/p&gt;
&lt;p&gt;# Patch&lt;/p&gt;
&lt;p&gt;A new version crate was pushed that marks this function as unsafe.&lt;/p&gt;
&lt;p&gt;reorder = &amp;#34;1.1.0&amp;#34;&lt;/p&gt;
&lt;p&gt;Previous versions have also been yanked from crates.io.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/rustsec-2021-0050</guid>
    </item>
  </channel>
</rss>
