Files
advisory-db/feed.xml
T
2021-10-08 16:17:42 +00:00

1 line
48 KiB
XML

<feed xmlns="http://www.w3.org/2005/Atom"><title>RustSec Advisories</title><id>https://rustsec.org/feed.xml</id><updated>2021-09-27T00:00:00+00:00</updated><author><name>RustSec</name></author><icon>https://rustsec.org/favicon.ico</icon><link href="https://rustsec.org/feed.xml" rel="self" type="application/atom+xml"/><link href="https://rustsec.org/" rel="alternate" type="text/html"/><subtitle>Security advisories filed against Rust crates</subtitle><entry><title>RUSTSEC-2021-0119: Vulnerability in nix</title><id>https://rustsec.org/advisories/RUSTSEC-2021-0119.html</id><updated>2021-09-27T00:00:00+00:00</updated><category term="memory-corruption"/><link href="https://rustsec.org/advisories/RUSTSEC-2021-0119.html" rel="alternate" type="text/html" title="RUSTSEC-2021-0119: Vulnerability in nix"/><published>2021-09-27T00:00:00+00:00</published><summary>Out-of-bounds write in nix::unistd::getgrouplist</summary><content type="html"> &lt;article&gt;&#xA; &lt;header&gt;&#xA; &lt;h1&gt;&#xA; &#xA; &#xA; RUSTSEC-2021-0119&#xA; &#xA; &lt;/h1&gt;&#xA; &lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;Out-of-bounds write in nix::unistd::getgrouplist&lt;/p&gt;&#xA;&lt;/span&gt;&#xA; &lt;/header&gt;&#xA;&#xA; &#xA; &#xA;&#xA; &lt;dl&gt;&#xA; &lt;dt id=&quot;issued&quot;&gt;Issued&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;time datetime=&quot;2021-09-27&quot;&gt;&#xA; September 27, 2021&#xA; &lt;/time&gt;&#xA; &lt;/dd&gt;&#xA;&#xA; &lt;dt id=&quot;package&quot;&gt;Package&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; &#xA; &#xA; &lt;a href=&quot;/packages/nix.html&quot;&gt;nix&lt;/a&gt;&#xA; (&lt;a href=&quot;https://crates.io/crates/nix&quot;&gt;crates.io&lt;/a&gt;)&#xA; &#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &lt;dt id=&quot;type&quot;&gt;Type&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; &#xA; Vulnerability&#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &#xA; &lt;dt id=&quot;categories&quot;&gt;Categories&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;ul&gt;&#xA; &#xA; &lt;li&gt;memory-corruption&lt;/li&gt;&#xA; &#xA; &lt;/ul&gt;&#xA; &lt;/dd&gt;&#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &lt;dt id=&quot;details&quot;&gt;Details&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;a href=&quot;https:&amp;#x2f;&amp;#x2f;github.com&amp;#x2f;nix-rust&amp;#x2f;nix&amp;#x2f;issues&amp;#x2f;1541&quot;&gt;&#xA; https:&amp;#x2f;&amp;#x2f;github.com&amp;#x2f;nix-rust&amp;#x2f;nix&amp;#x2f;issues&amp;#x2f;1541&#xA; &lt;/a&gt;&#xA; &lt;/dd&gt;&#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &#xA; &#xA;&#xA; &lt;dt id=&quot;patched&quot;&gt;Patched&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; &#xA; &lt;ul&gt;&#xA; &#xA; &lt;li&gt;&lt;code&gt;^0.20.2&lt;/code&gt;&lt;/li&gt;&#xA; &#xA; &lt;li&gt;&lt;code&gt;^0.21.2&lt;/code&gt;&lt;/li&gt;&#xA; &#xA; &lt;li&gt;&lt;code&gt;^0.22.2&lt;/code&gt;&lt;/li&gt;&#xA; &#xA; &lt;li&gt;&lt;code&gt;&amp;gt;=0.23.0&lt;/code&gt;&lt;/li&gt;&#xA; &#xA; &lt;/ul&gt;&#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &#xA; &lt;dt id=&quot;unaffected&quot;&gt;Unaffected&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;ul&gt;&#xA; &#xA; &lt;li&gt;&lt;code&gt;&amp;lt;0.16.0&lt;/code&gt;&lt;/li&gt;&#xA; &#xA; &lt;/ul&gt;&#xA; &lt;/dd&gt;&#xA; &#xA;&#xA; &#xA; &lt;dt id=&quot;keywords&quot;&gt;Keywords&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;ul&gt;&#xA; &#xA; &lt;li&gt;nss&lt;/li&gt;&#xA; &#xA; &lt;/ul&gt;&#xA; &lt;/dd&gt;&#xA; &#xA;&#xA; &#xA; &#xA; &#xA; &#xA;&#xA; &#xA; &lt;dt&gt;Affected OSes&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;ul&gt;&#xA; &#xA; &lt;li&gt;&lt;code&gt;linux&lt;/code&gt;&lt;/li&gt;&#xA; &#xA; &lt;li&gt;&lt;code&gt;freebsd&lt;/code&gt;&lt;/li&gt;&#xA; &#xA; &lt;li&gt;&lt;code&gt;android&lt;/code&gt;&lt;/li&gt;&#xA; &#xA; &lt;li&gt;&lt;code&gt;netbsd&lt;/code&gt;&lt;/li&gt;&#xA; &#xA; &lt;li&gt;&lt;code&gt;dragonfly&lt;/code&gt;&lt;/li&gt;&#xA; &#xA; &lt;li&gt;&lt;code&gt;openbsd&lt;/code&gt;&lt;/li&gt;&#xA; &#xA; &lt;li&gt;&lt;code&gt;fuchsia&lt;/code&gt;&lt;/li&gt;&#xA; &#xA; &lt;/ul&gt;&#xA; &lt;/dd&gt;&#xA; &#xA; &#xA; &lt;/dl&gt;&#xA;&#xA; &#xA; &#xA; &#xA; &lt;dl&gt;&#xA; &lt;dt&gt;Affected Functions&lt;/dt&gt;&#xA; &lt;dd&gt;Version&lt;/dd&gt;&#xA; &#xA; &lt;dt&gt;&lt;code&gt;nix::unistd::getgrouplist&lt;/code&gt;&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;ul&gt;&#xA; &#xA; &lt;li&gt;&lt;code&gt;&amp;gt;=0.16.0&lt;/code&gt;&lt;/li&gt;&#xA; &#xA; &lt;/ul&gt;&#xA; &lt;/dd&gt;&#xA; &#xA; &lt;/dl&gt;&#xA; &#xA; &#xA;&#xA; &lt;h3 id=&quot;description&quot;&gt;Description&lt;/h3&gt;&#xA; &lt;p&gt;On certain platforms, if a user has more than 16 groups, the&#xA;&lt;code&gt;nix::unistd::getgrouplist&lt;/code&gt; function will call the libc &lt;code&gt;getgrouplist&lt;/code&gt;&#xA;function with a length parameter greater than the size of the buffer it&#xA;provides, resulting in an out-of-bounds write and memory corruption.&lt;/p&gt;&#xA;&lt;p&gt;The libc &lt;code&gt;getgrouplist&lt;/code&gt; function takes an in/out parameter &lt;code&gt;ngroups&lt;/code&gt;&#xA;specifying the size of the group buffer. When the buffer is too small to&#xA;hold all of the reqested user&apos;s group memberships, some libc&#xA;implementations, including glibc and Solaris libc, will modify &lt;code&gt;ngroups&lt;/code&gt;&#xA;to indicate the actual number of groups for the user, in addition to&#xA;returning an error. The version of &lt;code&gt;nix::unistd::getgrouplist&lt;/code&gt; in nix&#xA;0.16.0 and up will resize the buffer to twice its size, but will not&#xA;read or modify the &lt;code&gt;ngroups&lt;/code&gt; variable. Thus, if the user has more than&#xA;twice as many groups as the initial buffer size of 8, the next call to&#xA;&lt;code&gt;getgrouplist&lt;/code&gt; will then write past the end of the buffer.&lt;/p&gt;&#xA;&lt;p&gt;The issue would require editing /etc/groups to exploit, which is usually&#xA;only editable by the root user.&lt;/p&gt;&#xA;&#xA;&#xA; &#xA; &#xA; &lt;h3 id=&quot;more&quot;&gt;More&lt;/h3&gt;&#xA;&#xA; &lt;ul&gt;&#xA; &lt;li&gt;&lt;a&#xA; href=&quot;https://github.com/RustSec/advisory-db/commits/main/crates/nix/RUSTSEC-2021-0119.md&quot;&gt;Advisory&#xA; History&lt;/a&gt;&lt;/li&gt;&#xA; &lt;li&gt;&lt;a&#xA; href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/nix/RUSTSEC-2021-0119.md&quot;&gt;Edit&#xA; Advisory&lt;/a&gt;&lt;/li&gt;&#xA; &lt;/ul&gt;&#xA; &#xA; &lt;/article&gt;</content></entry><entry><title>RUSTSEC-2021-0115: Vulnerability in zeroize_derive</title><id>https://rustsec.org/advisories/RUSTSEC-2021-0115.html</id><updated>2021-09-24T00:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2021-0115.html" rel="alternate" type="text/html" title="RUSTSEC-2021-0115: Vulnerability in zeroize_derive"/><published>2021-09-24T00:00:00+00:00</published><summary>`#[zeroize(drop)]` doesn&apos;t implement `Drop` for `enum`s</summary><content type="html"> &lt;article&gt;&#xA; &lt;header&gt;&#xA; &lt;h1&gt;&#xA; &#xA; &#xA; RUSTSEC-2021-0115&#xA; &#xA; &lt;/h1&gt;&#xA; &lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;&lt;code&gt;#[zeroize(drop)]&lt;/code&gt; doesn&apos;t implement &lt;code&gt;Drop&lt;/code&gt; for &lt;code&gt;enum&lt;/code&gt;s&lt;/p&gt;&#xA;&lt;/span&gt;&#xA; &lt;/header&gt;&#xA;&#xA; &#xA; &#xA;&#xA; &lt;dl&gt;&#xA; &lt;dt id=&quot;issued&quot;&gt;Issued&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;time datetime=&quot;2021-09-24&quot;&gt;&#xA; September 24, 2021&#xA; &lt;/time&gt;&#xA; &lt;/dd&gt;&#xA;&#xA; &lt;dt id=&quot;package&quot;&gt;Package&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; &#xA; &#xA; &lt;a href=&quot;/packages/zeroize_derive.html&quot;&gt;zeroize_derive&lt;/a&gt;&#xA; (&lt;a href=&quot;https://crates.io/crates/zeroize_derive&quot;&gt;crates.io&lt;/a&gt;)&#xA; &#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &lt;dt id=&quot;type&quot;&gt;Type&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; &#xA; Vulnerability&#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &lt;dt id=&quot;details&quot;&gt;Details&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;a href=&quot;https:&amp;#x2f;&amp;#x2f;github.com&amp;#x2f;iqlusioninc&amp;#x2f;crates&amp;#x2f;issues&amp;#x2f;876&quot;&gt;&#xA; https:&amp;#x2f;&amp;#x2f;github.com&amp;#x2f;iqlusioninc&amp;#x2f;crates&amp;#x2f;issues&amp;#x2f;876&#xA; &lt;/a&gt;&#xA; &lt;/dd&gt;&#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &#xA; &#xA;&#xA; &lt;dt id=&quot;patched&quot;&gt;Patched&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; &#xA; &lt;ul&gt;&#xA; &#xA; &lt;li&gt;&lt;code&gt;&amp;gt;=1.2.0&lt;/code&gt;&lt;/li&gt;&#xA; &#xA; &lt;/ul&gt;&#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &#xA; &#xA; &lt;/dl&gt;&#xA;&#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &lt;h3 id=&quot;description&quot;&gt;Description&lt;/h3&gt;&#xA; &lt;p&gt;Affected versions of this crate did not implement &lt;code&gt;Drop&lt;/code&gt; when &lt;code&gt;#[zeroize(drop)]&lt;/code&gt; was used on an &lt;code&gt;enum&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;This can result in memory not being zeroed out after dropping it, which is exactly what is intended when adding this attribute.&lt;/p&gt;&#xA;&lt;p&gt;The flaw was corrected in version 1.2 and &lt;code&gt;#[zeroize(drop)]&lt;/code&gt; on &lt;code&gt;enum&lt;/code&gt;s now properly implements &lt;code&gt;Drop&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&#xA; &#xA; &#xA; &lt;h3 id=&quot;more&quot;&gt;More&lt;/h3&gt;&#xA;&#xA; &lt;ul&gt;&#xA; &lt;li&gt;&lt;a&#xA; href=&quot;https://github.com/RustSec/advisory-db/commits/main/crates/zeroize_derive/RUSTSEC-2021-0115.md&quot;&gt;Advisory&#xA; History&lt;/a&gt;&lt;/li&gt;&#xA; &lt;li&gt;&lt;a&#xA; href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/zeroize_derive/RUSTSEC-2021-0115.md&quot;&gt;Edit&#xA; Advisory&lt;/a&gt;&lt;/li&gt;&#xA; &lt;/ul&gt;&#xA; &#xA; &lt;/article&gt;</content></entry><entry><title>RUSTSEC-2021-0114: Vulnerability in nanorand</title><id>https://rustsec.org/advisories/RUSTSEC-2021-0114.html</id><updated>2021-09-23T00:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2021-0114.html" rel="alternate" type="text/html" title="RUSTSEC-2021-0114: Vulnerability in nanorand"/><published>2021-09-23T00:00:00+00:00</published><summary>Aliased mutable references from `tls_rand` &amp; `TlsWyRand`</summary><content type="html"> &lt;article&gt;&#xA; &lt;header&gt;&#xA; &lt;h1&gt;&#xA; &#xA; &#xA; RUSTSEC-2021-0114&#xA; &#xA; &lt;/h1&gt;&#xA; &lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;Aliased mutable references from &lt;code&gt;tls_rand&lt;/code&gt; &amp;amp; &lt;code&gt;TlsWyRand&lt;/code&gt;&lt;/p&gt;&#xA;&lt;/span&gt;&#xA; &lt;/header&gt;&#xA;&#xA; &#xA; &#xA;&#xA; &lt;dl&gt;&#xA; &lt;dt id=&quot;issued&quot;&gt;Issued&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;time datetime=&quot;2021-09-23&quot;&gt;&#xA; September 23, 2021&#xA; &lt;/time&gt;&#xA; &lt;/dd&gt;&#xA;&#xA; &lt;dt id=&quot;package&quot;&gt;Package&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; &#xA; &#xA; &lt;a href=&quot;/packages/nanorand.html&quot;&gt;nanorand&lt;/a&gt;&#xA; (&lt;a href=&quot;https://crates.io/crates/nanorand&quot;&gt;crates.io&lt;/a&gt;)&#xA; &#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &lt;dt id=&quot;type&quot;&gt;Type&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; &#xA; Vulnerability&#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &lt;dt id=&quot;details&quot;&gt;Details&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;a href=&quot;https:&amp;#x2f;&amp;#x2f;github.com&amp;#x2f;Absolucy&amp;#x2f;nanorand-rs&amp;#x2f;issues&amp;#x2f;28&quot;&gt;&#xA; https:&amp;#x2f;&amp;#x2f;github.com&amp;#x2f;Absolucy&amp;#x2f;nanorand-rs&amp;#x2f;issues&amp;#x2f;28&#xA; &lt;/a&gt;&#xA; &lt;/dd&gt;&#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &#xA; &#xA;&#xA; &lt;dt id=&quot;patched&quot;&gt;Patched&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; &#xA; &lt;ul&gt;&#xA; &#xA; &lt;li&gt;&lt;code&gt;&amp;gt;=0.6.1&lt;/code&gt;&lt;/li&gt;&#xA; &#xA; &lt;/ul&gt;&#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &#xA; &lt;dt id=&quot;unaffected&quot;&gt;Unaffected&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;ul&gt;&#xA; &#xA; &lt;li&gt;&lt;code&gt;&amp;lt;0.5.0&lt;/code&gt;&lt;/li&gt;&#xA; &#xA; &lt;/ul&gt;&#xA; &lt;/dd&gt;&#xA; &#xA;&#xA; &#xA; &lt;dt id=&quot;keywords&quot;&gt;Keywords&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;ul&gt;&#xA; &#xA; &lt;li&gt;memory-safety&lt;/li&gt;&#xA; &#xA; &lt;li&gt;aliasing&lt;/li&gt;&#xA; &#xA; &lt;/ul&gt;&#xA; &lt;/dd&gt;&#xA; &#xA;&#xA; &#xA; &#xA; &#xA; &#xA;&#xA; &#xA; &#xA; &#xA; &lt;/dl&gt;&#xA;&#xA; &#xA; &#xA; &#xA; &lt;dl&gt;&#xA; &lt;dt&gt;Affected Functions&lt;/dt&gt;&#xA; &lt;dd&gt;Version&lt;/dd&gt;&#xA; &#xA; &lt;dt&gt;&lt;code&gt;nanorand::tls::tls_rand&lt;/code&gt;&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;ul&gt;&#xA; &#xA; &lt;li&gt;&lt;code&gt;&amp;gt;=0.5.0&lt;/code&gt;&lt;/li&gt;&#xA; &#xA; &lt;li&gt;&lt;code&gt;&amp;lt;=0.6.0&lt;/code&gt;&lt;/li&gt;&#xA; &#xA; &lt;/ul&gt;&#xA; &lt;/dd&gt;&#xA; &#xA; &lt;/dl&gt;&#xA; &#xA; &#xA;&#xA; &lt;h3 id=&quot;description&quot;&gt;Description&lt;/h3&gt;&#xA; &lt;p&gt;&lt;code&gt;TlsWyRand&lt;/code&gt;&apos;s implementation of &lt;code&gt;Deref&lt;/code&gt; unconditionally dereferences a raw pointer, and returns&#xA;multiple mutable references to the same object, which is undefined behavior.&lt;/p&gt;&#xA;&#xA;&#xA; &#xA; &#xA; &lt;h3 id=&quot;more&quot;&gt;More&lt;/h3&gt;&#xA;&#xA; &lt;ul&gt;&#xA; &lt;li&gt;&lt;a&#xA; href=&quot;https://github.com/RustSec/advisory-db/commits/main/crates/nanorand/RUSTSEC-2021-0114.md&quot;&gt;Advisory&#xA; History&lt;/a&gt;&lt;/li&gt;&#xA; &lt;li&gt;&lt;a&#xA; href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/nanorand/RUSTSEC-2021-0114.md&quot;&gt;Edit&#xA; Advisory&lt;/a&gt;&lt;/li&gt;&#xA; &lt;/ul&gt;&#xA; &#xA; &lt;/article&gt;</content></entry><entry><title>RUSTSEC-2021-0110: Vulnerability in wasmtime</title><id>https://rustsec.org/advisories/RUSTSEC-2021-0110.html</id><updated>2021-09-17T00:00:00+00:00</updated><category term="memory-corruption"/><category term="memory-exposure"/><link href="https://rustsec.org/advisories/RUSTSEC-2021-0110.html" rel="alternate" type="text/html" title="RUSTSEC-2021-0110: Vulnerability in wasmtime"/><published>2021-09-17T00:00:00+00:00</published><summary>Multiple Vulnerabilities in Wasmtime</summary><content type="html"> &lt;article&gt;&#xA; &lt;header&gt;&#xA; &lt;h1&gt;&#xA; &#xA; &#xA; RUSTSEC-2021-0110&#xA; &#xA; &lt;/h1&gt;&#xA; &lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;Multiple Vulnerabilities in Wasmtime&lt;/p&gt;&#xA;&lt;/span&gt;&#xA; &lt;/header&gt;&#xA;&#xA; &#xA; &#xA;&#xA; &lt;dl&gt;&#xA; &lt;dt id=&quot;issued&quot;&gt;Issued&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;time datetime=&quot;2021-09-17&quot;&gt;&#xA; September 17, 2021&#xA; &lt;/time&gt;&#xA; &lt;/dd&gt;&#xA;&#xA; &lt;dt id=&quot;package&quot;&gt;Package&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; &#xA; &#xA; &lt;a href=&quot;/packages/wasmtime.html&quot;&gt;wasmtime&lt;/a&gt;&#xA; (&lt;a href=&quot;https://crates.io/crates/wasmtime&quot;&gt;crates.io&lt;/a&gt;)&#xA; &#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &lt;dt id=&quot;type&quot;&gt;Type&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; &#xA; Vulnerability&#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &#xA; &lt;dt id=&quot;categories&quot;&gt;Categories&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;ul&gt;&#xA; &#xA; &lt;li&gt;memory-corruption&lt;/li&gt;&#xA; &#xA; &lt;li&gt;memory-exposure&lt;/li&gt;&#xA; &#xA; &lt;/ul&gt;&#xA; &lt;/dd&gt;&#xA; &#xA;&#xA; &#xA; &lt;dt id=&quot;aliases&quot;&gt;Aliases&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;ul&gt;&#xA; &#xA; &lt;li&gt;&#xA; &#xA; &#xA; &lt;a href=&quot;https:&amp;#x2f;&amp;#x2f;cve.mitre.org&amp;#x2f;cgi-bin&amp;#x2f;cvename.cgi?name=CVE-2021-39216&quot;&gt;CVE-2021-39216&lt;/a&gt;&#xA; &#xA; &lt;/li&gt;&#xA; &#xA; &lt;li&gt;&#xA; &#xA; &#xA; &lt;a href=&quot;https:&amp;#x2f;&amp;#x2f;cve.mitre.org&amp;#x2f;cgi-bin&amp;#x2f;cvename.cgi?name=CVE-2021-39219&quot;&gt;CVE-2021-39219&lt;/a&gt;&#xA; &#xA; &lt;/li&gt;&#xA; &#xA; &lt;li&gt;&#xA; &#xA; &#xA; &lt;a href=&quot;https:&amp;#x2f;&amp;#x2f;cve.mitre.org&amp;#x2f;cgi-bin&amp;#x2f;cvename.cgi?name=CVE-2021-39218&quot;&gt;CVE-2021-39218&lt;/a&gt;&#xA; &#xA; &lt;/li&gt;&#xA; &#xA; &lt;/ul&gt;&#xA; &lt;/dd&gt;&#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &#xA; &#xA;&#xA; &lt;dt id=&quot;patched&quot;&gt;Patched&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; &#xA; &lt;ul&gt;&#xA; &#xA; &lt;li&gt;&lt;code&gt;&amp;gt;=0.30.0&lt;/code&gt;&lt;/li&gt;&#xA; &#xA; &lt;/ul&gt;&#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &lt;dt id=&quot;keywords&quot;&gt;Keywords&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;ul&gt;&#xA; &#xA; &lt;li&gt;use-after-free&lt;/li&gt;&#xA; &#xA; &lt;li&gt;out-of-bounds read&lt;/li&gt;&#xA; &#xA; &lt;li&gt;out-of-bounds write&lt;/li&gt;&#xA; &#xA; &lt;li&gt;Wasm&lt;/li&gt;&#xA; &#xA; &lt;li&gt;garbage collection&lt;/li&gt;&#xA; &#xA; &lt;/ul&gt;&#xA; &lt;/dd&gt;&#xA; &#xA;&#xA; &#xA; &#xA; &#xA; &#xA;&#xA; &#xA; &#xA; &#xA; &lt;/dl&gt;&#xA;&#xA; &#xA; &#xA; &#xA; &lt;dl&gt;&#xA; &lt;dt&gt;Affected Functions&lt;/dt&gt;&#xA; &lt;dd&gt;Version&lt;/dd&gt;&#xA; &#xA; &lt;dt&gt;&lt;code&gt;wasmtime::Linker::func_new&lt;/code&gt;&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;ul&gt;&#xA; &#xA; &lt;li&gt;&lt;code&gt;&amp;lt;0.30.0&lt;/code&gt;&lt;/li&gt;&#xA; &#xA; &lt;/ul&gt;&#xA; &lt;/dd&gt;&#xA; &#xA; &lt;dt&gt;&lt;code&gt;wasmtime::Linker::func_wrap&lt;/code&gt;&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;ul&gt;&#xA; &#xA; &lt;li&gt;&lt;code&gt;&amp;lt;0.30.0&lt;/code&gt;&lt;/li&gt;&#xA; &#xA; &lt;/ul&gt;&#xA; &lt;/dd&gt;&#xA; &#xA; &lt;dt&gt;&lt;code&gt;wasmtime::Store::gc&lt;/code&gt;&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;ul&gt;&#xA; &#xA; &lt;li&gt;&lt;code&gt;&amp;lt;0.30.0&lt;/code&gt;&lt;/li&gt;&#xA; &#xA; &lt;/ul&gt;&#xA; &lt;/dd&gt;&#xA; &#xA; &lt;/dl&gt;&#xA; &#xA; &#xA;&#xA; &lt;h3 id=&quot;description&quot;&gt;Description&lt;/h3&gt;&#xA; &lt;ul&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-v4cp-h94r-m7xf&quot;&gt;Use after free passing &lt;code&gt;externref&lt;/code&gt;s to Wasm in&#xA;Wasmtime&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-4873-36h9-wv49&quot;&gt;Out-of-bounds read/write and invalid free with &lt;code&gt;externref&lt;/code&gt;s and GC safepoints&#xA;in&#xA;Wasmtime&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-q879-9g95-56mx&quot;&gt;Wrong type for &lt;code&gt;Linker&lt;/code&gt;-define functions when used across two&#xA;&lt;code&gt;Engine&lt;/code&gt;s&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&#xA; &#xA; &#xA; &lt;h3 id=&quot;more&quot;&gt;More&lt;/h3&gt;&#xA;&#xA; &lt;ul&gt;&#xA; &lt;li&gt;&lt;a&#xA; href=&quot;https://github.com/RustSec/advisory-db/commits/main/crates/wasmtime/RUSTSEC-2021-0110.md&quot;&gt;Advisory&#xA; History&lt;/a&gt;&lt;/li&gt;&#xA; &lt;li&gt;&lt;a&#xA; href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/wasmtime/RUSTSEC-2021-0110.md&quot;&gt;Edit&#xA; Advisory&lt;/a&gt;&lt;/li&gt;&#xA; &lt;/ul&gt;&#xA; &#xA; &lt;/article&gt;</content></entry><entry><title>RUSTSEC-2021-0111: Vulnerability in tremor-script</title><id>https://rustsec.org/advisories/RUSTSEC-2021-0111.html</id><updated>2021-09-16T00:00:00+00:00</updated><category term="memory-corruption"/><category term="memory-exposure"/><link href="https://rustsec.org/advisories/RUSTSEC-2021-0111.html" rel="alternate" type="text/html" title="RUSTSEC-2021-0111: Vulnerability in tremor-script"/><published>2021-09-16T00:00:00+00:00</published><summary>Memory Safety Issue when using `patch` or `merge` on `state` and assign the result back to `state`</summary><content type="html"> &lt;article&gt;&#xA; &lt;header&gt;&#xA; &lt;h1&gt;&#xA; &#xA; &#xA; RUSTSEC-2021-0111&#xA; &#xA; &lt;/h1&gt;&#xA; &lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;Memory Safety Issue when using &lt;code&gt;patch&lt;/code&gt; or &lt;code&gt;merge&lt;/code&gt; on &lt;code&gt;state&lt;/code&gt; and assign the result back to &lt;code&gt;state&lt;/code&gt;&lt;/p&gt;&#xA;&lt;/span&gt;&#xA; &lt;/header&gt;&#xA;&#xA; &#xA; &#xA;&#xA; &lt;dl&gt;&#xA; &lt;dt id=&quot;issued&quot;&gt;Issued&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;time datetime=&quot;2021-09-16&quot;&gt;&#xA; September 16, 2021&#xA; &lt;/time&gt;&#xA; &lt;/dd&gt;&#xA;&#xA; &lt;dt id=&quot;package&quot;&gt;Package&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; &#xA; &#xA; &lt;a href=&quot;/packages/tremor-script.html&quot;&gt;tremor-script&lt;/a&gt;&#xA; (&lt;a href=&quot;https://crates.io/crates/tremor-script&quot;&gt;crates.io&lt;/a&gt;)&#xA; &#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &lt;dt id=&quot;type&quot;&gt;Type&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; &#xA; Vulnerability&#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &#xA; &lt;dt id=&quot;categories&quot;&gt;Categories&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;ul&gt;&#xA; &#xA; &lt;li&gt;memory-corruption&lt;/li&gt;&#xA; &#xA; &lt;li&gt;memory-exposure&lt;/li&gt;&#xA; &#xA; &lt;/ul&gt;&#xA; &lt;/dd&gt;&#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &lt;dt id=&quot;details&quot;&gt;Details&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;a href=&quot;https:&amp;#x2f;&amp;#x2f;github.com&amp;#x2f;tremor-rs&amp;#x2f;tremor-runtime&amp;#x2f;pull&amp;#x2f;1217&quot;&gt;&#xA; https:&amp;#x2f;&amp;#x2f;github.com&amp;#x2f;tremor-rs&amp;#x2f;tremor-runtime&amp;#x2f;pull&amp;#x2f;1217&#xA; &lt;/a&gt;&#xA; &lt;/dd&gt;&#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &#xA; &#xA;&#xA; &lt;dt id=&quot;patched&quot;&gt;Patched&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; &#xA; &lt;ul&gt;&#xA; &#xA; &lt;li&gt;&lt;code&gt;&amp;gt;=0.11.6&lt;/code&gt;&lt;/li&gt;&#xA; &#xA; &lt;/ul&gt;&#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &#xA; &lt;dt id=&quot;unaffected&quot;&gt;Unaffected&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;ul&gt;&#xA; &#xA; &lt;li&gt;&lt;code&gt;&amp;lt;=0.7.2&lt;/code&gt;&lt;/li&gt;&#xA; &#xA; &lt;/ul&gt;&#xA; &lt;/dd&gt;&#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &#xA; &#xA; &lt;/dl&gt;&#xA;&#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &lt;h3 id=&quot;description&quot;&gt;Description&lt;/h3&gt;&#xA; &lt;p&gt;Affected versions of this crate maintains references to memory that might have been freed already.&#xA;If affects the following two &lt;code&gt;tremor-script&lt;/code&gt; language constructs:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;A &lt;a href=&quot;https://www.tremor.rs/docs/tremor-script/index#merge&quot;&gt;Merge&lt;/a&gt; where we assign the result back to the target expression&#xA;and the expression to be merged needs to reference the &lt;code&gt;event&lt;/code&gt;:&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;pre&gt;&lt;code&gt;let state = merge state of event end;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;A &lt;a href=&quot;https://www.tremor.rs/docs/tremor-script/index#patch&quot;&gt;Patch&lt;/a&gt; where we assign the result back to the target expression&#xA;and the patch operations used need to reference the &lt;code&gt;event&lt;/code&gt;:&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;pre&gt;&lt;code&gt;let state = patch state of insert event.key =&amp;gt; event.value end;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;For constructs like this (it doesnt matter what is references in the expression to be merged or the patch operations) an optimization&#xA;was applied to manipulate the target value in-place, instead of cloning it.&lt;/p&gt;&#xA;&lt;p&gt;Our &lt;code&gt;Value&lt;/code&gt; struct which underpins all event data in &lt;code&gt;tremor-script&lt;/code&gt;, is representing as borrowed strings &lt;code&gt;beef::Cow&amp;lt;&apos;lifetime, str&amp;gt;&lt;/code&gt;&#xA;that reference the actual &lt;code&gt;Vec&amp;lt;u8&amp;gt;&lt;/code&gt; the event is based upon. We keep the raw byte-array next to the event structure inside our &lt;code&gt;Event&lt;/code&gt; struct as a self-referential struct,&#xA;so we make sure that the structured &lt;code&gt;Value&lt;/code&gt; and its references are valid across its whole lifetime.&lt;/p&gt;&#xA;&lt;p&gt;The optimization was considered safe as long as it was only possible to merge or patche &lt;code&gt;event&lt;/code&gt; data or static data.&#xA;When &lt;code&gt;state&lt;/code&gt; was introduced to &lt;code&gt;tremor-script&lt;/code&gt; a new possibility existed, to keep &lt;code&gt;Value&lt;/code&gt; data around for longer than the lifetime of an event.&#xA;If &lt;code&gt;event&lt;/code&gt; data is merged or patched into &lt;code&gt;state&lt;/code&gt; without cloning &lt;code&gt;state&lt;/code&gt; first, it can still reference keys or values from&#xA;the previous event, which will now be invalid. This allows access to those already freed regions of memory and to get their content out over the wire.&lt;/p&gt;&#xA;&lt;h2&gt;Workaround&lt;/h2&gt;&#xA;&lt;p&gt;If an upgrade is not possible, a possible workaround is to avoid the optimization&#xA;by introducing a temporary variable and not immediately reassigning to &lt;code&gt;state&lt;/code&gt;:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;let tmp = merge state of event end;&#xA;let state = tmp&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;h2&gt;Fix&lt;/h2&gt;&#xA;&lt;p&gt;The flaw was corrected in &lt;code&gt;tremor-script&lt;/code&gt; version 0.11.6 via commit &lt;a href=&quot;https://github.com/tremor-rs/tremor-runtime/commit/1a2efcdbe68e5e7fd0a05836ac32d2cde78a0b2e&quot;&gt;1a2efcd&lt;/a&gt; by removing the optimization&#xA;and always clone the target expression of a &lt;a href=&quot;https://www.tremor.rs/docs/tremor-script/index#merge&quot;&gt;Merge&lt;/a&gt; or [Patch](https://www.tremor.rs/docs/tremor-script/index#patch.&lt;/p&gt;&#xA;&#xA;&#xA; &#xA; &#xA; &lt;h3 id=&quot;more&quot;&gt;More&lt;/h3&gt;&#xA;&#xA; &lt;ul&gt;&#xA; &lt;li&gt;&lt;a&#xA; href=&quot;https://github.com/RustSec/advisory-db/commits/main/crates/tremor-script/RUSTSEC-2021-0111.md&quot;&gt;Advisory&#xA; History&lt;/a&gt;&lt;/li&gt;&#xA; &lt;li&gt;&lt;a&#xA; href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/tremor-script/RUSTSEC-2021-0111.md&quot;&gt;Edit&#xA; Advisory&lt;/a&gt;&lt;/li&gt;&#xA; &lt;/ul&gt;&#xA; &#xA; &lt;/article&gt;</content></entry><entry><title>RUSTSEC-2021-0116: Vulnerability in arrow</title><id>https://rustsec.org/advisories/RUSTSEC-2021-0116.html</id><updated>2021-09-14T00:00:00+00:00</updated><category term="memory-exposure"/><link href="https://rustsec.org/advisories/RUSTSEC-2021-0116.html" rel="alternate" type="text/html" title="RUSTSEC-2021-0116: Vulnerability in arrow"/><published>2021-09-14T00:00:00+00:00</published><summary>`BinaryArray` does not perform bound checks on reading values and offsets</summary><content type="html"> &lt;article&gt;&#xA; &lt;header&gt;&#xA; &lt;h1&gt;&#xA; &#xA; &#xA; RUSTSEC-2021-0116&#xA; &#xA; &lt;/h1&gt;&#xA; &lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;&lt;code&gt;BinaryArray&lt;/code&gt; does not perform bound checks on reading values and offsets&lt;/p&gt;&#xA;&lt;/span&gt;&#xA; &lt;/header&gt;&#xA;&#xA; &#xA; &#xA;&#xA; &lt;dl&gt;&#xA; &lt;dt id=&quot;issued&quot;&gt;Issued&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;time datetime=&quot;2021-09-14&quot;&gt;&#xA; September 14, 2021&#xA; &lt;/time&gt;&#xA; &lt;/dd&gt;&#xA;&#xA; &lt;dt id=&quot;package&quot;&gt;Package&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; &#xA; &#xA; &lt;a href=&quot;/packages/arrow.html&quot;&gt;arrow&lt;/a&gt;&#xA; (&lt;a href=&quot;https://crates.io/crates/arrow&quot;&gt;crates.io&lt;/a&gt;)&#xA; &#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &lt;dt id=&quot;type&quot;&gt;Type&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; &#xA; Vulnerability&#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &#xA; &lt;dt id=&quot;categories&quot;&gt;Categories&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;ul&gt;&#xA; &#xA; &lt;li&gt;memory-exposure&lt;/li&gt;&#xA; &#xA; &lt;/ul&gt;&#xA; &lt;/dd&gt;&#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &#xA; &#xA;&#xA; &lt;dt id=&quot;patched&quot;&gt;Patched&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; no patched versions&#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &lt;dt id=&quot;keywords&quot;&gt;Keywords&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;ul&gt;&#xA; &#xA; &lt;li&gt;buffer-overflow&lt;/li&gt;&#xA; &#xA; &lt;/ul&gt;&#xA; &lt;/dd&gt;&#xA; &#xA;&#xA; &#xA; &#xA; &#xA; &lt;/dl&gt;&#xA;&#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &lt;h3 id=&quot;description&quot;&gt;Description&lt;/h3&gt;&#xA; &lt;p&gt;&lt;code&gt;BinaryArray&lt;/code&gt; performs insufficient validation on creation, which allows out-of-bounds reads in safe code.&lt;/p&gt;&#xA;&#xA;&#xA; &#xA; &#xA; &lt;h3 id=&quot;more&quot;&gt;More&lt;/h3&gt;&#xA;&#xA; &lt;ul&gt;&#xA; &lt;li&gt;&lt;a&#xA; href=&quot;https://github.com/RustSec/advisory-db/commits/main/crates/arrow/RUSTSEC-2021-0116.md&quot;&gt;Advisory&#xA; History&lt;/a&gt;&lt;/li&gt;&#xA; &lt;li&gt;&lt;a&#xA; href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/arrow/RUSTSEC-2021-0116.md&quot;&gt;Edit&#xA; Advisory&lt;/a&gt;&lt;/li&gt;&#xA; &lt;/ul&gt;&#xA; &#xA; &lt;/article&gt;</content></entry><entry><title>RUSTSEC-2021-0118: Vulnerability in arrow</title><id>https://rustsec.org/advisories/RUSTSEC-2021-0118.html</id><updated>2021-09-14T00:00:00+00:00</updated><category term="memory-exposure"/><link href="https://rustsec.org/advisories/RUSTSEC-2021-0118.html" rel="alternate" type="text/html" title="RUSTSEC-2021-0118: Vulnerability in arrow"/><published>2021-09-14T00:00:00+00:00</published><summary>`FixedSizeBinaryArray` does not perform bound checks on accessing values and offsets</summary><content type="html"> &lt;article&gt;&#xA; &lt;header&gt;&#xA; &lt;h1&gt;&#xA; &#xA; &#xA; RUSTSEC-2021-0118&#xA; &#xA; &lt;/h1&gt;&#xA; &lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;&lt;code&gt;FixedSizeBinaryArray&lt;/code&gt; does not perform bound checks on accessing values and offsets&lt;/p&gt;&#xA;&lt;/span&gt;&#xA; &lt;/header&gt;&#xA;&#xA; &#xA; &#xA;&#xA; &lt;dl&gt;&#xA; &lt;dt id=&quot;issued&quot;&gt;Issued&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;time datetime=&quot;2021-09-14&quot;&gt;&#xA; September 14, 2021&#xA; &lt;/time&gt;&#xA; &lt;/dd&gt;&#xA;&#xA; &lt;dt id=&quot;package&quot;&gt;Package&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; &#xA; &#xA; &lt;a href=&quot;/packages/arrow.html&quot;&gt;arrow&lt;/a&gt;&#xA; (&lt;a href=&quot;https://crates.io/crates/arrow&quot;&gt;crates.io&lt;/a&gt;)&#xA; &#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &lt;dt id=&quot;type&quot;&gt;Type&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; &#xA; Vulnerability&#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &#xA; &lt;dt id=&quot;categories&quot;&gt;Categories&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;ul&gt;&#xA; &#xA; &lt;li&gt;memory-exposure&lt;/li&gt;&#xA; &#xA; &lt;/ul&gt;&#xA; &lt;/dd&gt;&#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &lt;dt id=&quot;details&quot;&gt;Details&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;a href=&quot;https:&amp;#x2f;&amp;#x2f;github.com&amp;#x2f;apache&amp;#x2f;arrow-rs&amp;#x2f;issues&amp;#x2f;774&quot;&gt;&#xA; https:&amp;#x2f;&amp;#x2f;github.com&amp;#x2f;apache&amp;#x2f;arrow-rs&amp;#x2f;issues&amp;#x2f;774&#xA; &lt;/a&gt;&#xA; &lt;/dd&gt;&#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &#xA; &#xA;&#xA; &lt;dt id=&quot;patched&quot;&gt;Patched&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; no patched versions&#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &lt;dt id=&quot;keywords&quot;&gt;Keywords&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;ul&gt;&#xA; &#xA; &lt;li&gt;buffer-overflow&lt;/li&gt;&#xA; &#xA; &lt;/ul&gt;&#xA; &lt;/dd&gt;&#xA; &#xA;&#xA; &#xA; &#xA; &#xA; &lt;/dl&gt;&#xA;&#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &lt;h3 id=&quot;description&quot;&gt;Description&lt;/h3&gt;&#xA; &lt;p&gt;&lt;code&gt;FixedSizeBinaryArray&lt;/code&gt; performs insufficient bounds checks, which allows out-of-bounds reads in safe code.&lt;/p&gt;&#xA;&#xA;&#xA; &#xA; &#xA; &lt;h3 id=&quot;more&quot;&gt;More&lt;/h3&gt;&#xA;&#xA; &lt;ul&gt;&#xA; &lt;li&gt;&lt;a&#xA; href=&quot;https://github.com/RustSec/advisory-db/commits/main/crates/arrow/RUSTSEC-2021-0118.md&quot;&gt;Advisory&#xA; History&lt;/a&gt;&lt;/li&gt;&#xA; &lt;li&gt;&lt;a&#xA; href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/arrow/RUSTSEC-2021-0118.md&quot;&gt;Edit&#xA; Advisory&lt;/a&gt;&lt;/li&gt;&#xA; &lt;/ul&gt;&#xA; &#xA; &lt;/article&gt;</content></entry><entry><title>RUSTSEC-2021-0117: Vulnerability in arrow</title><id>https://rustsec.org/advisories/RUSTSEC-2021-0117.html</id><updated>2021-09-14T00:00:00+00:00</updated><category term="memory-exposure"/><link href="https://rustsec.org/advisories/RUSTSEC-2021-0117.html" rel="alternate" type="text/html" title="RUSTSEC-2021-0117: Vulnerability in arrow"/><published>2021-09-14T00:00:00+00:00</published><summary>`DecimalArray` does not perform bound checks on accessing values and offsets</summary><content type="html"> &lt;article&gt;&#xA; &lt;header&gt;&#xA; &lt;h1&gt;&#xA; &#xA; &#xA; RUSTSEC-2021-0117&#xA; &#xA; &lt;/h1&gt;&#xA; &lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;&lt;code&gt;DecimalArray&lt;/code&gt; does not perform bound checks on accessing values and offsets&lt;/p&gt;&#xA;&lt;/span&gt;&#xA; &lt;/header&gt;&#xA;&#xA; &#xA; &#xA;&#xA; &lt;dl&gt;&#xA; &lt;dt id=&quot;issued&quot;&gt;Issued&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;time datetime=&quot;2021-09-14&quot;&gt;&#xA; September 14, 2021&#xA; &lt;/time&gt;&#xA; &lt;/dd&gt;&#xA;&#xA; &lt;dt id=&quot;package&quot;&gt;Package&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; &#xA; &#xA; &lt;a href=&quot;/packages/arrow.html&quot;&gt;arrow&lt;/a&gt;&#xA; (&lt;a href=&quot;https://crates.io/crates/arrow&quot;&gt;crates.io&lt;/a&gt;)&#xA; &#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &lt;dt id=&quot;type&quot;&gt;Type&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; &#xA; Vulnerability&#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &#xA; &lt;dt id=&quot;categories&quot;&gt;Categories&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;ul&gt;&#xA; &#xA; &lt;li&gt;memory-exposure&lt;/li&gt;&#xA; &#xA; &lt;/ul&gt;&#xA; &lt;/dd&gt;&#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &lt;dt id=&quot;details&quot;&gt;Details&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;a href=&quot;https:&amp;#x2f;&amp;#x2f;github.com&amp;#x2f;apache&amp;#x2f;arrow-rs&amp;#x2f;issues&amp;#x2f;775&quot;&gt;&#xA; https:&amp;#x2f;&amp;#x2f;github.com&amp;#x2f;apache&amp;#x2f;arrow-rs&amp;#x2f;issues&amp;#x2f;775&#xA; &lt;/a&gt;&#xA; &lt;/dd&gt;&#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &#xA; &#xA;&#xA; &lt;dt id=&quot;patched&quot;&gt;Patched&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; no patched versions&#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &lt;dt id=&quot;keywords&quot;&gt;Keywords&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;ul&gt;&#xA; &#xA; &lt;li&gt;buffer-overflow&lt;/li&gt;&#xA; &#xA; &lt;/ul&gt;&#xA; &lt;/dd&gt;&#xA; &#xA;&#xA; &#xA; &#xA; &#xA; &lt;/dl&gt;&#xA;&#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &lt;h3 id=&quot;description&quot;&gt;Description&lt;/h3&gt;&#xA; &lt;p&gt;&lt;code&gt;DecimalArray&lt;/code&gt; performs insufficient bounds checks,&#xA;which allows out-of-bounds reads in safe code&#xA;if the lenght of the backing buffer is not a multiple of 16.&lt;/p&gt;&#xA;&#xA;&#xA; &#xA; &#xA; &lt;h3 id=&quot;more&quot;&gt;More&lt;/h3&gt;&#xA;&#xA; &lt;ul&gt;&#xA; &lt;li&gt;&lt;a&#xA; href=&quot;https://github.com/RustSec/advisory-db/commits/main/crates/arrow/RUSTSEC-2021-0117.md&quot;&gt;Advisory&#xA; History&lt;/a&gt;&lt;/li&gt;&#xA; &lt;li&gt;&lt;a&#xA; href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/arrow/RUSTSEC-2021-0117.md&quot;&gt;Edit&#xA; Advisory&lt;/a&gt;&lt;/li&gt;&#xA; &lt;/ul&gt;&#xA; &#xA; &lt;/article&gt;</content></entry><entry><title>RUSTSEC-2021-0100: Vulnerability in sha2</title><id>https://rustsec.org/advisories/RUSTSEC-2021-0100.html</id><updated>2021-09-08T00:00:00+00:00</updated><category term="crypto-failure"/><link href="https://rustsec.org/advisories/RUSTSEC-2021-0100.html" rel="alternate" type="text/html" title="RUSTSEC-2021-0100: Vulnerability in sha2"/><published>2021-09-08T00:00:00+00:00</published><summary>Miscomputed results when using AVX2 backend</summary><content type="html"> &lt;article&gt;&#xA; &lt;header&gt;&#xA; &lt;h1&gt;&#xA; &#xA; &#xA; RUSTSEC-2021-0100&#xA; &#xA; &lt;/h1&gt;&#xA; &lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;Miscomputed results when using AVX2 backend&lt;/p&gt;&#xA;&lt;/span&gt;&#xA; &lt;/header&gt;&#xA;&#xA; &#xA; &#xA;&#xA; &lt;dl&gt;&#xA; &lt;dt id=&quot;issued&quot;&gt;Issued&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;time datetime=&quot;2021-09-08&quot;&gt;&#xA; September 8, 2021&#xA; &lt;/time&gt;&#xA; &lt;/dd&gt;&#xA;&#xA; &lt;dt id=&quot;package&quot;&gt;Package&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; &#xA; &#xA; &lt;a href=&quot;/packages/sha2.html&quot;&gt;sha2&lt;/a&gt;&#xA; (&lt;a href=&quot;https://crates.io/crates/sha2&quot;&gt;crates.io&lt;/a&gt;)&#xA; &#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &lt;dt id=&quot;type&quot;&gt;Type&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; &#xA; Vulnerability&#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &#xA; &lt;dt id=&quot;categories&quot;&gt;Categories&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;ul&gt;&#xA; &#xA; &lt;li&gt;crypto-failure&lt;/li&gt;&#xA; &#xA; &lt;/ul&gt;&#xA; &lt;/dd&gt;&#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &lt;dt id=&quot;details&quot;&gt;Details&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;a href=&quot;https:&amp;#x2f;&amp;#x2f;github.com&amp;#x2f;RustCrypto&amp;#x2f;hashes&amp;#x2f;pull&amp;#x2f;314&quot;&gt;&#xA; https:&amp;#x2f;&amp;#x2f;github.com&amp;#x2f;RustCrypto&amp;#x2f;hashes&amp;#x2f;pull&amp;#x2f;314&#xA; &lt;/a&gt;&#xA; &lt;/dd&gt;&#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &#xA; &#xA;&#xA; &lt;dt id=&quot;patched&quot;&gt;Patched&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; &#xA; &lt;ul&gt;&#xA; &#xA; &lt;li&gt;&lt;code&gt;&amp;gt;=0.9.8&lt;/code&gt;&lt;/li&gt;&#xA; &#xA; &lt;/ul&gt;&#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &#xA; &lt;dt id=&quot;unaffected&quot;&gt;Unaffected&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;ul&gt;&#xA; &#xA; &lt;li&gt;&lt;code&gt;&amp;lt;0.9.7&lt;/code&gt;&lt;/li&gt;&#xA; &#xA; &lt;/ul&gt;&#xA; &lt;/dd&gt;&#xA; &#xA;&#xA; &#xA; &lt;dt id=&quot;keywords&quot;&gt;Keywords&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;ul&gt;&#xA; &#xA; &lt;li&gt;cryptography&lt;/li&gt;&#xA; &#xA; &lt;/ul&gt;&#xA; &lt;/dd&gt;&#xA; &#xA;&#xA; &#xA; &#xA; &#xA; &lt;/dl&gt;&#xA;&#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &lt;h3 id=&quot;description&quot;&gt;Description&lt;/h3&gt;&#xA; &lt;p&gt;The v0.9.7 release of the &lt;code&gt;sha2&lt;/code&gt; crate introduced a new AVX2-accelerated&#xA;backend which was automatically enabled for all x86/x86_64 CPUs where AVX2&#xA;support was autodetected at runtime.&lt;/p&gt;&#xA;&lt;p&gt;This backend was buggy and would miscompute results for long messages&#xA;(i.e. messages spanning multiple SHA blocks).&lt;/p&gt;&#xA;&lt;p&gt;The crate has since been yanked, but any users who upgraded to v0.9.7 should&#xA;immediately upgrade to v0.9.8 and recompute any hashes which were previously&#xA;computed by v0.9.7.&lt;/p&gt;&#xA;&#xA;&#xA; &#xA; &#xA; &lt;h3 id=&quot;more&quot;&gt;More&lt;/h3&gt;&#xA;&#xA; &lt;ul&gt;&#xA; &lt;li&gt;&lt;a&#xA; href=&quot;https://github.com/RustSec/advisory-db/commits/main/crates/sha2/RUSTSEC-2021-0100.md&quot;&gt;Advisory&#xA; History&lt;/a&gt;&lt;/li&gt;&#xA; &lt;li&gt;&lt;a&#xA; href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/sha2/RUSTSEC-2021-0100.md&quot;&gt;Edit&#xA; Advisory&lt;/a&gt;&lt;/li&gt;&#xA; &lt;/ul&gt;&#xA; &#xA; &lt;/article&gt;</content></entry><entry><title>RUSTSEC-2021-0099: cosmos_sdk is unmaintained</title><id>https://rustsec.org/advisories/RUSTSEC-2021-0099.html</id><updated>2021-08-25T00:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2021-0099.html" rel="alternate" type="text/html" title="RUSTSEC-2021-0099: cosmos_sdk is unmaintained"/><published>2021-08-25T00:00:00+00:00</published><summary>Crate has been renamed to `cosmrs`</summary><content type="html"> &lt;article&gt;&#xA; &lt;header&gt;&#xA; &lt;h1&gt;&#xA; &#xA; &#xA; RUSTSEC-2021-0099&#xA; &#xA; &lt;/h1&gt;&#xA; &lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;Crate has been renamed to &lt;code&gt;cosmrs&lt;/code&gt;&lt;/p&gt;&#xA;&lt;/span&gt;&#xA; &lt;/header&gt;&#xA;&#xA; &#xA; &#xA;&#xA; &lt;dl&gt;&#xA; &lt;dt id=&quot;issued&quot;&gt;Issued&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;time datetime=&quot;2021-08-25&quot;&gt;&#xA; August 25, 2021&#xA; &lt;/time&gt;&#xA; &lt;/dd&gt;&#xA;&#xA; &lt;dt id=&quot;package&quot;&gt;Package&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; &#xA; &#xA; &lt;a href=&quot;/packages/cosmos_sdk.html&quot;&gt;cosmos_sdk&lt;/a&gt;&#xA; (&lt;a href=&quot;https://crates.io/crates/cosmos_sdk&quot;&gt;crates.io&lt;/a&gt;)&#xA; &#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &lt;dt id=&quot;type&quot;&gt;Type&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; &#xA; Unmaintained&#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &lt;dt id=&quot;details&quot;&gt;Details&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;a href=&quot;https:&amp;#x2f;&amp;#x2f;github.com&amp;#x2f;cosmos&amp;#x2f;cosmos-rust&amp;#x2f;issues&amp;#x2f;113&quot;&gt;&#xA; https:&amp;#x2f;&amp;#x2f;github.com&amp;#x2f;cosmos&amp;#x2f;cosmos-rust&amp;#x2f;issues&amp;#x2f;113&#xA; &lt;/a&gt;&#xA; &lt;/dd&gt;&#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &#xA; &#xA;&#xA; &lt;dt id=&quot;patched&quot;&gt;Patched&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; no patched versions&#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &#xA; &#xA; &lt;/dl&gt;&#xA;&#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &lt;h3 id=&quot;description&quot;&gt;Description&lt;/h3&gt;&#xA; &lt;p&gt;The &lt;code&gt;cosmos_sdk&lt;/code&gt; crate, which provides a basic Rust SDK for the Cosmos ecosystem,&#xA;has rebranded to “CosmRS” in the spirit of other projects like CosmJS and CosmWasm.&lt;/p&gt;&#xA;&lt;p&gt;You can find the new home here:&lt;/p&gt;&#xA;&lt;p&gt;https://github.com/cosmos/cosmos-rust/tree/main/cosmrs&lt;/p&gt;&#xA;&lt;p&gt;The new crate name is &lt;code&gt;cosmrs&lt;/code&gt;:&lt;/p&gt;&#xA;&lt;p&gt;https://crates.io/crates/cosmrs&lt;/p&gt;&#xA;&#xA;&#xA; &#xA; &#xA; &lt;h3 id=&quot;more&quot;&gt;More&lt;/h3&gt;&#xA;&#xA; &lt;ul&gt;&#xA; &lt;li&gt;&lt;a&#xA; href=&quot;https://github.com/RustSec/advisory-db/commits/main/crates/cosmos_sdk/RUSTSEC-2021-0099.md&quot;&gt;Advisory&#xA; History&lt;/a&gt;&lt;/li&gt;&#xA; &lt;li&gt;&lt;a&#xA; href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/cosmos_sdk/RUSTSEC-2021-0099.md&quot;&gt;Edit&#xA; Advisory&lt;/a&gt;&lt;/li&gt;&#xA; &lt;/ul&gt;&#xA; &#xA; &lt;/article&gt;</content></entry></feed>