mirror of
https://github.com/rustsec/advisory-db.git
synced 2026-11-30 16:44:31 -06:00
1416 lines
41 KiB
XML
1416 lines
41 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-05-11T00: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-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-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.4.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-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-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-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-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>
|
|
|
|
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</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-0025: Vulnerability in openssl-src</title><id>https://rustsec.org/advisories/RUSTSEC-2022-0025.html</id><updated>2022-05-03T00:00:00+00:00</updated><category term="crypto-failure"/><link href="https://rustsec.org/advisories/RUSTSEC-2022-0025.html" rel="alternate" type="text/html" title="RUSTSEC-2022-0025: Vulnerability in openssl-src"/><published>2022-05-03T00:00:00+00:00</published><summary xml:lang="en">Resource leakage when decoding certificates and keys</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-0025.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/openssl-src/RUSTSEC-2022-0025.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
|
|
RUSTSEC-2022-0025
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Resource leakage when decoding certificates and keys</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-1473">CVE-2022-1473</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>7.5 <span class="tag high">
|
|
HIGH
|
|
</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>None</dd>
|
|
|
|
|
|
|
|
|
|
<dt>Availability</dt><dd>High</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:N/A:H">CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H</a></dd>
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=300.0.6</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="unaffected">Unaffected</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&lt;300.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The <code>OPENSSL_LH_flush()</code> function, which empties a hash table, contains
|
|
a bug that breaks reuse of the memory occupied by the removed hash
|
|
table entries.</p>
|
|
<p>This function is used when decoding certificates or keys. If a long lived
|
|
process periodically decodes certificates or keys its memory usage will
|
|
expand without bounds and the process might be terminated by the operating
|
|
system causing a denial of service. Also traversing the empty hash table
|
|
entries will take increasingly more time.</p>
|
|
<p>Typically such long lived processes might be TLS clients or TLS servers
|
|
configured to accept client certificate authentication.</p>
|
|
|
|
</article></content></entry><entry><title>RUSTSEC-2022-0026: Vulnerability in openssl-src</title><id>https://rustsec.org/advisories/RUSTSEC-2022-0026.html</id><updated>2022-05-03T00:00:00+00:00</updated><category term="crypto-failure"/><link href="https://rustsec.org/advisories/RUSTSEC-2022-0026.html" rel="alternate" type="text/html" title="RUSTSEC-2022-0026: Vulnerability in openssl-src"/><published>2022-05-03T00:00:00+00:00</published><summary xml:lang="en">Incorrect MAC key used in the RC4-MD5 ciphersuite</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-0026.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/openssl-src/RUSTSEC-2022-0026.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
|
|
RUSTSEC-2022-0026
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Incorrect MAC key used in the RC4-MD5 ciphersuite</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-1434">CVE-2022-1434</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.9 <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>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>High</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:N/UI:N/S:U/C:N/I:H/A:N">CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N</a></dd>
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=300.0.6</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="unaffected">Unaffected</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&lt;300.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The OpenSSL 3.0 implementation of the RC4-MD5 ciphersuite incorrectly uses the
|
|
AAD data as the MAC key. This makes the MAC key trivially predictable.</p>
|
|
<p>An attacker could exploit this issue by performing a man-in-the-middle attack to
|
|
modify data being sent from one endpoint to an OpenSSL 3.0 recipient such that
|
|
the modified data would still pass the MAC integrity check.</p>
|
|
<p>Note that data sent from an OpenSSL 3.0 endpoint to a non-OpenSSL 3.0 endpoint
|
|
will always be rejected by the recipient and the connection will fail at that
|
|
point. Many application protocols require data to be sent from the client to the
|
|
server first. Therefore, in such a case, only an OpenSSL 3.0 server would be
|
|
impacted when talking to a non-OpenSSL 3.0 client.</p>
|
|
<p>If both endpoints are OpenSSL 3.0 then the attacker could modify data being
|
|
sent in both directions. In this case both clients and servers could be
|
|
affected, regardless of the application protocol.</p>
|
|
<p>Note that in the absence of an attacker this bug means that an OpenSSL 3.0
|
|
endpoint communicating with a non-OpenSSL 3.0 endpoint will fail to complete the
|
|
handshake when using this ciphersuite.</p>
|
|
<p>The confidentiality of data is not impacted by this issue, i.e. an attacker
|
|
cannot decrypt data that has been encrypted using this ciphersuite - they can
|
|
only modify it.</p>
|
|
<p>In order for this attack to work both endpoints must legitimately negotiate the
|
|
RC4-MD5 ciphersuite. This ciphersuite is not compiled by default in OpenSSL 3.0,
|
|
and is not available within the default provider or the default ciphersuite
|
|
list. This ciphersuite will never be used if TLSv1.3 has been negotiated. In
|
|
order for an OpenSSL 3.0 endpoint to use this ciphersuite the following must
|
|
have occurred:</p>
|
|
<ol>
|
|
<li>OpenSSL must have been compiled with the (non-default) compile time option
|
|
enable-weak-ssl-ciphers</li>
|
|
<li>OpenSSL must have had the legacy provider explicitly loaded (either through
|
|
application code or via configuration)</li>
|
|
<li>The ciphersuite must have been explicitly added to the ciphersuite list</li>
|
|
<li>The libssl security level must have been set to 0 (default is 1)</li>
|
|
<li>A version of SSL/TLS below TLSv1.3 must have been negotiated</li>
|
|
<li>Both endpoints must negotiate the RC4-MD5 ciphersuite in preference to any
|
|
others that both endpoints have in common</li>
|
|
</ol>
|
|
|
|
</article></content></entry><entry><title>RUSTSEC-2022-0017: Unsoundness in array-macro</title><id>https://rustsec.org/advisories/RUSTSEC-2022-0017.html</id><updated>2022-04-27T00:00:00+00:00</updated><category term="code-execution"/><category term="memory-corruption"/><category term="memory-exposure"/><link href="https://rustsec.org/advisories/RUSTSEC-2022-0017.html" rel="alternate" type="text/html" title="RUSTSEC-2022-0017: Unsoundness in array-macro"/><published>2022-04-27T00:00:00+00:00</published><summary xml:lang="en">`array!` macro is unsound when its length is impure constant</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/array-macro/RUSTSEC-2022-0017.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/array-macro/RUSTSEC-2022-0017.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
|
|
RUSTSEC-2022-0017
|
|
|
|
</h1>
|
|
<span class="subtitle"><p><code>array!</code> macro is unsound when its length is impure constant</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2022-04-27">
|
|
April 27, 2022
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
|
|
<a href="/packages/array-macro.html">array-macro</a>
|
|
(<a href="https://crates.io/crates/array-macro">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
|
|
<span class="tag info">INFO</span>
|
|
Unsound
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="categories">Categories</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><a href="/categories/code-execution.html">code-execution</a></li>
|
|
|
|
<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="details">Details</dt>
|
|
<dd>
|
|
<a href="https://gitlab.com/KonradBorowski/array-macro/-/issues/5">
|
|
https://gitlab.com/KonradBorowski/array-macro/-/issues/5
|
|
</a>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=2.1.2</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="unaffected">Unaffected</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&lt;2.1.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>Affected versions of this crate did substitute the array length provided by an user at compile-time multiple times.</p>
|
|
<p>When an impure constant expression is passed as an array length (such as a result of an impure procedural macro), this can result in the initialization of an array with uninitialized types, which in turn can allow an attacker to execute arbitrary code.</p>
|
|
<p>The flaw was corrected in commit <a href="https://gitlab.com/KonradBorowski/array-macro/-/commit/d5b63f72090f3809c21ac28f9cfd84f12559bf7d">d5b63f72</a> by making sure that array length is substituted just once.</p>
|
|
|
|
</article></content></entry></feed> |