mirror of
https://github.com/rustsec/advisory-db.git
synced 2026-11-30 18:54:31 -06:00
1149 lines
37 KiB
XML
1149 lines
37 KiB
XML
<?xml version="1.0"?>
|
|
<feed xmlns="http://www.w3.org/2005/Atom"><title>RustSec Advisories</title><id>https://rustsec.org/feed.xml</id><updated>2022-06-07T00: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 xml:lang="en">Security advisories filed against Rust crates</subtitle><entry><title>RUSTSEC-2022-0029: Vulnerability in crossbeam</title><id>https://rustsec.org/advisories/RUSTSEC-2022-0029.html</id><updated>2022-06-07T00:00:00+00:00</updated><category term="thread-safety"/><category term="memory-corruption"/><link href="https://rustsec.org/advisories/RUSTSEC-2022-0029.html" rel="alternate" type="text/html" title="RUSTSEC-2022-0029: Vulnerability in crossbeam"/><published>2022-06-07T00:00:00+00:00</published><summary xml:lang="en">`MsQueue` `push`/`pop` use the wrong orderings</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/crossbeam/RUSTSEC-2022-0029.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/crossbeam/RUSTSEC-2022-0029.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2022-0029
|
|
|
|
</h1>
|
|
<span class="subtitle"><p><code>MsQueue</code> <code>push</code>/<code>pop</code> use the wrong orderings</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2022-06-07">
|
|
June 7, 2022
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/crossbeam.html">crossbeam</a>
|
|
(<a href="https://crates.io/crates/crossbeam">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
Vulnerability
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="categories">Categories</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><a href="/categories/thread-safety.html">thread-safety</a></li>
|
|
|
|
<li><a href="/categories/memory-corruption.html">memory-corruption</a></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">Details</dt>
|
|
<dd>
|
|
<a href="https://github.com/crossbeam-rs/crossbeam/pull/98">
|
|
https://github.com/crossbeam-rs/crossbeam/pull/98
|
|
</a>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=0.3.0</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>Affected versions of this crate use orderings which are too weak to support this data structure.
|
|
It is likely this has caused memory corruption in the wild: <a href="https://github.com/crossbeam-rs/crossbeam/issues/97#issuecomment-412785919">https://github.com/crossbeam-rs/crossbeam/issues/97#issuecomment-412785919</a>.</p>
|
|
|
|
</article></content></entry><entry><title>RUSTSEC-2022-0028: Vulnerability in neon</title><id>https://rustsec.org/advisories/RUSTSEC-2022-0028.html</id><updated>2022-05-22T00:00:00+00:00</updated><category term="memory-corruption"/><category term="memory-exposure"/><link href="https://rustsec.org/advisories/RUSTSEC-2022-0028.html" rel="alternate" type="text/html" title="RUSTSEC-2022-0028: Vulnerability in neon"/><published>2022-05-22T00:00:00+00:00</published><summary xml:lang="en">Use after free in Neon external buffers</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/neon/RUSTSEC-2022-0028.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/neon/RUSTSEC-2022-0028.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2022-0028
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Use after free in Neon external buffers</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2022-05-22">
|
|
May 22, 2022
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/neon.html">neon</a>
|
|
(<a href="https://crates.io/crates/neon">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
Vulnerability
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="categories">Categories</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><a href="/categories/memory-corruption.html">memory-corruption</a></li>
|
|
|
|
<li><a href="/categories/memory-exposure.html">memory-exposure</a></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="keywords">Keywords</dt>
|
|
<dd>
|
|
|
|
<a href="/keywords/use-after-free.html">#use-after-free</a>
|
|
|
|
<a href="/keywords/incorrect-lifetime.html">#incorrect-lifetime</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">Details</dt>
|
|
<dd>
|
|
<a href="https://github.com/neon-bindings/neon/issues/896">
|
|
https://github.com/neon-bindings/neon/issues/896
|
|
</a>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=0.10.1</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="unaffected">Unaffected</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&lt;0.8.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt>Affected Functions</dt>
|
|
<dd>Version</dd>
|
|
|
|
<dt><code>neon::types::JsArrayBuffer::external</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&lt;0.10.1, &gt;=0.8.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
<dt><code>neon::types::JsBuffer::external</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&lt;0.10.1, &gt;=0.8.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>Neon provides functionality for creating JavaScript <code>ArrayBuffer</code> (and the <code>Buffer</code> subtype) instances backed by bytes allocated outside of V8/Node. The <a href="https://docs.rs/neon/0.10.0/neon/types/struct.JsArrayBuffer.html#method.external"><code>JsArrayBuffer::external</code></a> and <a href="https://docs.rs/neon/0.10.0/neon/types/struct.JsBuffer.html#method.external"><code>JsBuffer::external</code></a> did not require <code>T: 'static</code> prior to Neon <code>0.10.1</code>. This allowed creating an externally backed buffer from types that may be freed while they are still referenced by a JavaScript <code>ArrayBuffer</code>.</p>
|
|
<p>The following example demonstrates use after free. It compiles on versions <code>&lt;0.10.1</code> and fails to compile afterward.</p>
|
|
<pre><code class="language-rust">pub fn soundness_hole(mut cx: FunctionContext) -&gt; JsResult&lt;JsArrayBuffer&gt; {
|
|
let mut data = vec![0u8, 1, 2, 3];
|
|
|
|
// Creating an external from `&amp;mut [u8]` instead of `Vec&lt;u8&gt;` since there is a blanket impl
|
|
// of `AsMut&lt;T&gt; for &amp;mut T`
|
|
let buf = JsArrayBuffer::external(&amp;mut cx, data.as_mut_slice());
|
|
|
|
// `buf` is still holding a reference to `data`!
|
|
drop(data);
|
|
|
|
Ok(buf)
|
|
}
|
|
</code></pre>
|
|
|
|
</article></content></entry><entry><title>RUSTSEC-2022-0023: static_type_map is unmaintained</title><id>https://rustsec.org/advisories/RUSTSEC-2022-0023.html</id><updated>2022-05-11T00:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2022-0023.html" rel="alternate" type="text/html" title="RUSTSEC-2022-0023: static_type_map is unmaintained"/><published>2022-05-11T00:00:00+00:00</published><summary xml:lang="en">`static_type_map` has been renamed to `erased_set`</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/static_type_map/RUSTSEC-2022-0023.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/static_type_map/RUSTSEC-2022-0023.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2022-0023
|
|
|
|
</h1>
|
|
<span class="subtitle"><p><code>static_type_map</code> has been renamed to <code>erased_set</code></p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2022-05-11">
|
|
May 11, 2022
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/static_type_map.html">static_type_map</a>
|
|
(<a href="https://crates.io/crates/static_type_map">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
<span class="tag info">INFO</span>
|
|
Unmaintained
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">Details</dt>
|
|
<dd>
|
|
<a href="https://github.com/malobre/erased_set/issues/6">
|
|
https://github.com/malobre/erased_set/issues/6
|
|
</a>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
no patched versions
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>Please use the <code>erased_set</code> crate going forward:</p>
|
|
<p><a href="https://github.com/malobre/erased_set">https://github.com/malobre/erased_set</a></p>
|
|
<p>There will be no further releases of <code>static_type_map</code>.</p>
|
|
|
|
</article></content></entry><entry><title>RUSTSEC-2022-0024: double-checked-cell is unmaintained</title><id>https://rustsec.org/advisories/RUSTSEC-2022-0024.html</id><updated>2022-05-11T00:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2022-0024.html" rel="alternate" type="text/html" title="RUSTSEC-2022-0024: double-checked-cell is unmaintained"/><published>2022-05-11T00:00:00+00:00</published><summary xml:lang="en">double-checked-cell is unmaintained</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/double-checked-cell/RUSTSEC-2022-0024.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/double-checked-cell/RUSTSEC-2022-0024.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2022-0024
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>double-checked-cell is unmaintained</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2022-05-11">
|
|
May 11, 2022
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/double-checked-cell.html">double-checked-cell</a>
|
|
(<a href="https://crates.io/crates/double-checked-cell">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
<span class="tag info">INFO</span>
|
|
Unmaintained
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">Details</dt>
|
|
<dd>
|
|
<a href="https://github.com/niklasf/double-checked-cell/commit/9cf94d75316ef441033ce4c80def7c1a8c7643fe">
|
|
https://github.com/niklasf/double-checked-cell/commit/9cf94d75316ef441033ce4c80def7c1a8c7643fe
|
|
</a>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
no patched versions
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The author recommends switching to
|
|
<a href="https://crates.io/crates/once_cell"><code>once_cell</code></a>, which offers a superset
|
|
of the functionality.</p>
|
|
|
|
</article></content></entry><entry><title>RUSTSEC-2022-0019: Unsoundness in crossbeam-channel</title><id>https://rustsec.org/advisories/RUSTSEC-2022-0019.html</id><updated>2022-05-10T00:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2022-0019.html" rel="alternate" type="text/html" title="RUSTSEC-2022-0019: Unsoundness in crossbeam-channel"/><published>2022-05-10T00:00:00+00:00</published><summary xml:lang="en">Channel creates zero value of any type</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/crossbeam-channel/RUSTSEC-2022-0019.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/crossbeam-channel/RUSTSEC-2022-0019.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2022-0019
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Channel creates zero value of any type</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2022-05-10">
|
|
May 10, 2022
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/crossbeam-channel.html">crossbeam-channel</a>
|
|
(<a href="https://crates.io/crates/crossbeam-channel">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
<span class="tag info">INFO</span>
|
|
Unsound
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">Details</dt>
|
|
<dd>
|
|
<a href="https://github.com/crossbeam-rs/crossbeam/pull/458">
|
|
https://github.com/crossbeam-rs/crossbeam/pull/458
|
|
</a>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=0.4.3</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>Affected versions of this crate called <code>mem::zeroed()</code> to create values of a user-supplied type <code>T</code>.
|
|
This is unsound e.g. if <code>T</code> is a reference type (which must be non-null).</p>
|
|
<p>The flaw was corrected by avoiding the use of <code>mem::zeroed()</code>, using <code>MaybeUninit</code> instead.</p>
|
|
|
|
</article></content></entry><entry><title>RUSTSEC-2022-0021: Unsoundness in crossbeam-queue</title><id>https://rustsec.org/advisories/RUSTSEC-2022-0021.html</id><updated>2022-05-10T00:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2022-0021.html" rel="alternate" type="text/html" title="RUSTSEC-2022-0021: Unsoundness in crossbeam-queue"/><published>2022-05-10T00:00:00+00:00</published><summary xml:lang="en">`SegQueue` creates zero value of any type</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/crossbeam-queue/RUSTSEC-2022-0021.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/crossbeam-queue/RUSTSEC-2022-0021.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2022-0021
|
|
|
|
</h1>
|
|
<span class="subtitle"><p><code>SegQueue</code> creates zero value of any type</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2022-05-10">
|
|
May 10, 2022
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/crossbeam-queue.html">crossbeam-queue</a>
|
|
(<a href="https://crates.io/crates/crossbeam-queue">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
<span class="tag info">INFO</span>
|
|
Unsound
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">Details</dt>
|
|
<dd>
|
|
<a href="https://github.com/crossbeam-rs/crossbeam/pull/458">
|
|
https://github.com/crossbeam-rs/crossbeam/pull/458
|
|
</a>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=0.2.3</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>Affected versions of this crate called <code>mem::zeroed()</code> to create values of a user-supplied type <code>T</code>.
|
|
This is unsound e.g. if <code>T</code> is a reference type (which must be non-null).</p>
|
|
<p>The flaw was corrected by avoiding the use of <code>mem::zeroed()</code>, using <code>MaybeUninit</code> instead.</p>
|
|
|
|
</article></content></entry><entry><title>RUSTSEC-2022-0022: Unsoundness in hyper</title><id>https://rustsec.org/advisories/RUSTSEC-2022-0022.html</id><updated>2022-05-10T00:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2022-0022.html" rel="alternate" type="text/html" title="RUSTSEC-2022-0022: Unsoundness in hyper"/><published>2022-05-10T00:00:00+00:00</published><summary xml:lang="en">Parser creates invalid uninitialized value</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/hyper/RUSTSEC-2022-0022.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/hyper/RUSTSEC-2022-0022.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2022-0022
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Parser creates invalid uninitialized value</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2022-05-10">
|
|
May 10, 2022
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/hyper.html">hyper</a>
|
|
(<a href="https://crates.io/crates/hyper">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
<span class="tag info">INFO</span>
|
|
Unsound
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">Details</dt>
|
|
<dd>
|
|
<a href="https://github.com/hyperium/hyper/pull/2545">
|
|
https://github.com/hyperium/hyper/pull/2545
|
|
</a>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=0.14.12</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>Affected versions of this crate called <code>mem::uninitialized()</code> in the HTTP1 parser to create values of type <code>httparse::Header</code> (from the <code>httparse</code> crate).
|
|
This is unsound, since <code>Header</code> contains references and thus must be non-null.</p>
|
|
<p>The flaw was corrected by avoiding the use of <code>mem::uninitialized()</code>, using <code>MaybeUninit</code> instead.</p>
|
|
|
|
</article></content></entry><entry><title>RUSTSEC-2022-0020: Unsoundness in crossbeam</title><id>https://rustsec.org/advisories/RUSTSEC-2022-0020.html</id><updated>2022-05-10T00:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2022-0020.html" rel="alternate" type="text/html" title="RUSTSEC-2022-0020: Unsoundness in crossbeam"/><published>2022-05-10T00:00:00+00:00</published><summary xml:lang="en">`SegQueue` creates zero value of any type</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/crossbeam/RUSTSEC-2022-0020.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/crossbeam/RUSTSEC-2022-0020.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2022-0020
|
|
|
|
</h1>
|
|
<span class="subtitle"><p><code>SegQueue</code> creates zero value of any type</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2022-05-10">
|
|
May 10, 2022
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/crossbeam.html">crossbeam</a>
|
|
(<a href="https://crates.io/crates/crossbeam">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
<span class="tag info">INFO</span>
|
|
Unsound
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">Details</dt>
|
|
<dd>
|
|
<a href="https://github.com/crossbeam-rs/crossbeam/pull/458">
|
|
https://github.com/crossbeam-rs/crossbeam/pull/458
|
|
</a>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=0.7.0</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>Affected versions of this crate called <code>mem::zeroed()</code> to create values of a user-supplied type <code>T</code>.
|
|
This is unsound e.g. if <code>T</code> is a reference type (which must be non-null).</p>
|
|
<p>The flaw was corrected by avoiding the use of <code>mem::zeroed()</code>, using <code>MaybeUninit</code> instead.</p>
|
|
|
|
</article></content></entry><entry><title>RUSTSEC-2022-0018: Vulnerability in totp-rs</title><id>https://rustsec.org/advisories/RUSTSEC-2022-0018.html</id><updated>2022-05-09T00:00:00+00:00</updated><category term="crypto-failure"/><link href="https://rustsec.org/advisories/RUSTSEC-2022-0018.html" rel="alternate" type="text/html" title="RUSTSEC-2022-0018: Vulnerability in totp-rs"/><published>2022-05-09T00:00:00+00:00</published><summary xml:lang="en">Timing attack</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/totp-rs/RUSTSEC-2022-0018.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/totp-rs/RUSTSEC-2022-0018.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2022-0018
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Timing attack</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2022-05-09">
|
|
May 9, 2022
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/totp-rs.html">totp-rs</a>
|
|
(<a href="https://crates.io/crates/totp-rs">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
Vulnerability
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="categories">Categories</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><a href="/categories/crypto-failure.html">crypto-failure</a></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="keywords">Keywords</dt>
|
|
<dd>
|
|
|
|
<a href="/keywords/side-channel.html">#side-channel</a>
|
|
|
|
<a href="/keywords/timing-attack.html">#timing-attack</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-29185">CVE-2022-29185</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">Details</dt>
|
|
<dd>
|
|
<a href="https://github.com/constantoine/totp-rs/security/advisories/GHSA-8vxv-2g8p-2249">
|
|
https://github.com/constantoine/totp-rs/security/advisories/GHSA-8vxv-2g8p-2249
|
|
</a>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="cvss_score">CVSS Score</dt>
|
|
<dd>4.2 <span class="tag medium">
|
|
MEDIUM
|
|
</span></dd>
|
|
|
|
<dt id="cvss_details">CVSS Details</dt>
|
|
<dd>
|
|
<dl>
|
|
|
|
<dt>Attack vector</dt><dd>Network</dd>
|
|
|
|
|
|
|
|
<dt>Attack complexity</dt><dd>High</d>
|
|
|
|
|
|
|
|
<dt>Privileges required</dt><dd>High</dd>
|
|
|
|
|
|
|
|
<dt>User interaction</dt><dd>Required</dd>
|
|
|
|
|
|
|
|
<dt>Scope</dt><dd>Unchanged</dd>
|
|
|
|
|
|
|
|
<dt>Confidentiality</dt><dd>High</dd>
|
|
|
|
|
|
|
|
<dt>Integrity</dt><dd>None</dd>
|
|
|
|
|
|
|
|
<dt>Availability</dt><dd>None</dd>
|
|
|
|
</dl>
|
|
</dd>
|
|
|
|
<dt id="cvss">CVSS Vector</dt>
|
|
<dd><a href="https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N">CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N</a></dd>
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=1.1.0</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt>Affected Functions</dt>
|
|
<dd>Version</dd>
|
|
|
|
<dt><code>totp_rs::TOTP::check</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&lt;1.1.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>Affecting versions did not compare tokens in constant time, which could make it possible for an attacker to guess the 2fa token of a user.</p>
|
|
<p>This has been fixed by using using the crate constant_time_eq for comparison.</p>
|
|
|
|
</article></content></entry><entry><title>RUSTSEC-2022-0027: Vulnerability in openssl-src</title><id>https://rustsec.org/advisories/RUSTSEC-2022-0027.html</id><updated>2022-05-03T00:00:00+00:00</updated><category term="crypto-failure"/><link href="https://rustsec.org/advisories/RUSTSEC-2022-0027.html" rel="alternate" type="text/html" title="RUSTSEC-2022-0027: Vulnerability in openssl-src"/><published>2022-05-03T00:00:00+00:00</published><summary xml:lang="en">`OCSP_basic_verify` may incorrectly verify the response signing certificate</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/openssl-src/RUSTSEC-2022-0027.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/openssl-src/RUSTSEC-2022-0027.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2022-0027
|
|
|
|
</h1>
|
|
<span class="subtitle"><p><code>OCSP_basic_verify</code> may incorrectly verify the response signing certificate</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2022-05-03">
|
|
May 3, 2022
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/openssl-src.html">openssl-src</a>
|
|
(<a href="https://crates.io/crates/openssl-src">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
Vulnerability
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="categories">Categories</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><a href="/categories/crypto-failure.html">crypto-failure</a></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-1343">CVE-2022-1343</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">Details</dt>
|
|
<dd>
|
|
<a href="https://www.openssl.org/news/secadv/20220503.txt">
|
|
https://www.openssl.org/news/secadv/20220503.txt
|
|
</a>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="cvss_score">CVSS Score</dt>
|
|
<dd>5.3 <span class="tag medium">
|
|
MEDIUM
|
|
</span></dd>
|
|
|
|
<dt id="cvss_details">CVSS Details</dt>
|
|
<dd>
|
|
<dl>
|
|
|
|
<dt>Attack vector</dt><dd>Network</dd>
|
|
|
|
|
|
|
|
<dt>Attack complexity</dt><dd>Low</d>
|
|
|
|
|
|
|
|
<dt>Privileges required</dt><dd>None</dd>
|
|
|
|
|
|
|
|
<dt>User interaction</dt><dd>None</dd>
|
|
|
|
|
|
|
|
<dt>Scope</dt><dd>Unchanged</dd>
|
|
|
|
|
|
|
|
<dt>Confidentiality</dt><dd>None</dd>
|
|
|
|
|
|
|
|
<dt>Integrity</dt><dd>Low</dd>
|
|
|
|
|
|
|
|
<dt>Availability</dt><dd>None</dd>
|
|
|
|
</dl>
|
|
</dd>
|
|
|
|
<dt id="cvss">CVSS Vector</dt>
|
|
<dd><a href="https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N">CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N</a></dd>
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=111.20.0, &lt;300.0.0</code></li>
|
|
|
|
<li><code>&gt;=300.0.6</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The function <code>OCSP_basic_verify</code> verifies the signer certificate on an OCSP
|
|
response. In the case where the (non-default) flag OCSP_NOCHECKS is used then
|
|
the response will be positive (meaning a successful verification) even in the
|
|
case where the response signing certificate fails to verify.</p>
|
|
<p>It is anticipated that most users of <code>OCSP_basic_verify</code> will not use the
|
|
OCSP_NOCHECKS flag. In this case the <code>OCSP_basic_verify</code> function will return
|
|
a negative value (indicating a fatal error) in the case of a certificate
|
|
verification failure. The normal expected return value in this case would be 0.</p>
|
|
|
|
</article></content></entry></feed> |