<?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>Tue, 17 Nov 2026 14:58:57 +0000</lastBuildDate>
    <item>
      <title>CVE-2021-45712</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2021-45712</link>
      <description>&lt;p&gt;An issue was discovered in the rust-embed crate before 6.3.0 for Rust. A ../ directory traversal can sometimes occur in debug mode.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;An issue was discovered in the rust-embed crate before 6.3.0 for Rust. A ../ directory traversal can sometimes occur in debug mode.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2021-45712</guid>
    </item>
    <item>
      <title>RUSTSEC-2021-0126 — RustEmbed generated `get` method allows for directory traversal when reading files from disk</title>
      <link>https://cve.radiocsirt.org/vuln/rustsec-2021-0126</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; crates.io: rust-embed&lt;/p&gt;
&lt;p&gt;When running in debug mode and the `debug-embed` (off by default) feature is
not enabled, the generated `get` method does not check that the input path is
a child of the folder given.&lt;/p&gt;
&lt;p&gt;This allows attackers to read arbitrary files in the file system if they have
control over the filename given. The following code will print the contents of
your `/etc/passwd` if adjusted with a correct number of `../`s depending on
where it is run from.&lt;/p&gt;
&lt;p&gt;```rust
#[derive(rust_embed::RustEmbed)]
#[folder = &amp;#34;src/&amp;#34;]
pub struct Asset;&lt;/p&gt;
&lt;p&gt;fn main() {
    let d = Asset::get(&amp;#34;../../../etc/passwd&amp;#34;).unwrap().data;
    println!(&amp;#34;{}&amp;#34;, String::from_utf8_lossy(&amp;amp;d));
}
```&lt;/p&gt;
&lt;p&gt;The flaw was corrected by canonicalizing the input filename and ensuring that
it starts with the canonicalized folder path.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; crates.io: rust-embed&lt;/p&gt;
&lt;p&gt;When running in debug mode and the `debug-embed` (off by default) feature is
not enabled, the generated `get` method does not check that the input path is
a child of the folder given.&lt;/p&gt;
&lt;p&gt;This allows attackers to read arbitrary files in the file system if they have
control over the filename given. The following code will print the contents of
your `/etc/passwd` if adjusted with a correct number of `../`s depending on
where it is run from.&lt;/p&gt;
&lt;p&gt;```rust
#[derive(rust_embed::RustEmbed)]
#[folder = &amp;#34;src/&amp;#34;]
pub struct Asset;&lt;/p&gt;
&lt;p&gt;fn main() {
    let d = Asset::get(&amp;#34;../../../etc/passwd&amp;#34;).unwrap().data;
    println!(&amp;#34;{}&amp;#34;, String::from_utf8_lossy(&amp;amp;d));
}
```&lt;/p&gt;
&lt;p&gt;The flaw was corrected by canonicalizing the input filename and ensuring that
it starts with the canonicalized folder path.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/rustsec-2021-0126</guid>
    </item>
  </channel>
</rss>
