<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-11-11T20:07:05.813838+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://db.gcve.eu/vuln/rustsec-2018-0022</id>
    <title>RUSTSEC-2018-0022 — Use of uninitialized memory in temporary</title>
    <updated>2026-11-11T20:07:05.829598+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> crates.io: temporary</p>
<p>Uninit memory is used as a RNG seed in temporary</p>
<p>The following function is used as a way to get entropy from the system, which does operations on and exposes uninit memory, which is UB.</p>
<p>```rust
fn random_seed(_: &amp;Path, _: &amp;str) -&gt; [u64; 2] {
    use std::mem::uninitialized as rand;
    unsafe { [rand::&lt;u64&gt;() ^ 0x12345678, rand::&lt;u64&gt;() ^ 0x87654321] }
}
```</p>
<p>This has been resolved in the 0.6.4 release.</p>
<p>The crate is not intended to be used outside of a testing environment.</p>
<p>For a general purpose crate to create temporary directories, [`tempfile`](https://crates.io/crates/tempfile) is an alternative for this crate.</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/rustsec-2018-0022"/>
  </entry>
</feed>
