<?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://vulnerability.circl.lu</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>Thu, 08 Oct 2026 19:04:31 +0000</lastBuildDate>
    <item>
      <title>RUSTSEC-2024-0001 — Unsound use of str::from_utf8_unchecked on bytes which are not UTF-8</title>
      <link>https://vulnerability.circl.lu/vuln/rustsec-2024-0001</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; crates.io: ferris-says&lt;/p&gt;
&lt;p&gt;Affected versions receive a `&amp;amp;[u8]` from the caller through a safe API, and pass
it directly to the unsafe `str::from_utf8_unchecked` function.&lt;/p&gt;
&lt;p&gt;The behavior of `ferris_says::say` is undefined if the bytes from the caller
don&amp;#39;t happen to be valid UTF-8.&lt;/p&gt;
&lt;p&gt;The flaw was corrected in [ferris-says#21] by using the safe `str::from_utf8`
instead, and returning an error on invalid input. However this fix has not yet
been published to crates.io as a patch version for 0.2.&lt;/p&gt;
&lt;p&gt;Separately, [ferris-says#32] has introduced a different API for version 0.3
which accepts input as `&amp;amp;str` rather than `&amp;amp;[u8]`, so is unaffected by this bug.&lt;/p&gt;
&lt;p&gt;[ferris-says#21]: https://github.com/rust-lang/ferris-says/pull/21
[ferris-says#32]: https://github.com/rust-lang/ferris-says/pull/32&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; crates.io: ferris-says&lt;/p&gt;
&lt;p&gt;Affected versions receive a `&amp;amp;[u8]` from the caller through a safe API, and pass
it directly to the unsafe `str::from_utf8_unchecked` function.&lt;/p&gt;
&lt;p&gt;The behavior of `ferris_says::say` is undefined if the bytes from the caller
don&amp;#39;t happen to be valid UTF-8.&lt;/p&gt;
&lt;p&gt;The flaw was corrected in [ferris-says#21] by using the safe `str::from_utf8`
instead, and returning an error on invalid input. However this fix has not yet
been published to crates.io as a patch version for 0.2.&lt;/p&gt;
&lt;p&gt;Separately, [ferris-says#32] has introduced a different API for version 0.3
which accepts input as `&amp;amp;str` rather than `&amp;amp;[u8]`, so is unaffected by this bug.&lt;/p&gt;
&lt;p&gt;[ferris-says#21]: https://github.com/rust-lang/ferris-says/pull/21
[ferris-says#32]: https://github.com/rust-lang/ferris-says/pull/32&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/rustsec-2024-0001</guid>
    </item>
  </channel>
</rss>
