mirror of
https://github.com/rustsec/advisory-db.git
synced 2026-11-30 17:04:32 -06:00
1304 lines
42 KiB
XML
1304 lines
42 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>2023-08-14T12: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-0093: Vulnerability in ed25519-dalek</title><id>https://rustsec.org/advisories/RUSTSEC-2022-0093.html</id><updated>2023-08-14T12:00:00+00:00</updated><category term="crypto-failure"/><link href="https://rustsec.org/advisories/RUSTSEC-2022-0093.html" rel="alternate" type="text/html" title="RUSTSEC-2022-0093: Vulnerability in ed25519-dalek"/><published>2023-08-14T12:00:00+00:00</published><summary xml:lang="en">Double Public Key Signing Function Oracle Attack on `ed25519-dalek`</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/ed25519-dalek/RUSTSEC-2022-0093.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/ed25519-dalek/RUSTSEC-2022-0093.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2022-0093
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Double Public Key Signing Function Oracle Attack on <code>ed25519-dalek</code></p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2022-06-11">
|
|
June 11, 2022
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2023-08-14">
|
|
August 14, 2023
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/ed25519-dalek.html">ed25519-dalek</a>
|
|
(<a href="https://crates.io/crates/ed25519-dalek">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="details">Details</dt>
|
|
<dd>
|
|
<a href="https://github.com/MystenLabs/ed25519-unsafe-libs">
|
|
https://github.com/MystenLabs/ed25519-unsafe-libs
|
|
</a>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=2</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>Versions of <code>ed25519-dalek</code> prior to v2.0 model private and public keys as
|
|
separate types which can be assembled into a <code>Keypair</code>, and also provide APIs
|
|
for serializing and deserializing 64-byte private/public keypairs.</p>
|
|
<p>Such APIs and serializations are inherently unsafe as the public key is one of
|
|
the inputs used in the deterministic computation of the <code>S</code> part of the signature,
|
|
but not in the <code>R</code> value. An adversary could somehow use the signing function as
|
|
an oracle that allows arbitrary public keys as input can obtain two signatures
|
|
for the same message sharing the same <code>R</code> and only differ on the <code>S</code> part.</p>
|
|
<p>Unfortunately, when this happens, one can easily extract the private key.</p>
|
|
<p>Revised public APIs in v2.0 of <code>ed25519-dalek</code> do NOT allow a decoupled
|
|
private/public keypair as signing input, except as part of specially labeled
|
|
&quot;hazmat&quot; APIs which are clearly labeled as being dangerous if misused.</p>
|
|
|
|
</article></content></entry><entry><title>RUSTSEC-2023-0049: tui is unmaintained</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0049.html</id><updated>2023-08-07T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2023-0049.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0049: tui is unmaintained"/><published>2023-08-07T12:00:00+00:00</published><summary xml:lang="en">`tui` is unmaintained; use `ratatui` instead</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/tui/RUSTSEC-2023-0049.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/tui/RUSTSEC-2023-0049.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2023-0049
|
|
|
|
</h1>
|
|
<span class="subtitle"><p><code>tui</code> is unmaintained; use <code>ratatui</code> instead</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2023-08-07">
|
|
August 7, 2023
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2023-08-07">
|
|
August 7, 2023
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/tui.html">tui</a>
|
|
(<a href="https://crates.io/crates/tui">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/fdehau/tui-rs/issues/654">
|
|
https://github.com/fdehau/tui-rs/issues/654
|
|
</a>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
no patched versions
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The <a href="https://crates.io/crates/tui"><code>tui</code></a> crate is no longer maintained.</p>
|
|
<p>Consider using the <a href="https://crates.io/crates/ratatui"><code>ratatui</code></a> crate instead.</p>
|
|
|
|
</article></content></entry><entry><title>RUSTSEC-2023-0048: Unsoundness in intaglio</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0048.html</id><updated>2023-07-29T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2023-0048.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0048: Unsoundness in intaglio"/><published>2023-07-26T12:00:00+00:00</published><summary xml:lang="en">Unsoundness in `intern` methods on `intaglio` symbol interners</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/intaglio/RUSTSEC-2023-0048.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/intaglio/RUSTSEC-2023-0048.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2023-0048
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Unsoundness in <code>intern</code> methods on <code>intaglio</code> symbol interners</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2023-07-26">
|
|
July 26, 2023
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2023-07-26">
|
|
July 26, 2023
|
|
</time>
|
|
|
|
<time datetime="2023-07-29">
|
|
(last modified: July 29, 2023)
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/intaglio.html">intaglio</a>
|
|
(<a href="https://crates.io/crates/intaglio">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
<span class="tag info">INFO</span>
|
|
Unsound
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-gch5-hwqf-mxhp">GHSA-gch5-hwqf-mxhp</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">Details</dt>
|
|
<dd>
|
|
<a href="https://github.com/artichoke/intaglio/pull/236">
|
|
https://github.com/artichoke/intaglio/pull/236
|
|
</a>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=1.9.0</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt>Affected Functions</dt>
|
|
<dd>Version</dd>
|
|
|
|
<dt><code>intaglio::SymbolTable::intern</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&lt;1.9.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
<dt><code>intaglio::bytes::SymbolTable::intern</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&lt;1.9.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
<dt><code>intaglio::cstr::SymbolTable::intern</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&lt;1.9.0, &gt;=1.5.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
<dt><code>intaglio::osstr::SymbolTable::intern</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&lt;1.9.0, &gt;=1.5.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
<dt><code>intaglio::path::SymbolTable::intern</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&lt;1.9.0, &gt;=1.5.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>Affected versions of this crate have a stacked borrows violation when creating
|
|
references to interned contents. All interner types are affected.</p>
|
|
<p>The flaw was corrected in version 1.9.0 by reordering move and borrowing
|
|
operations and storing interned contents by raw pointer instead of as a <code>Box</code>.</p>
|
|
|
|
</article></content></entry><entry><title>RUSTSEC-2023-0047: Unsoundness in lmdb-rs</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0047.html</id><updated>2023-07-29T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2023-0047.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0047: Unsoundness in lmdb-rs"/><published>2023-07-18T12:00:00+00:00</published><summary xml:lang="en">impl `FromMdbValue` for bool is unsound</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/lmdb-rs/RUSTSEC-2023-0047.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/lmdb-rs/RUSTSEC-2023-0047.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2023-0047
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>impl <code>FromMdbValue</code> for bool is unsound</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2023-06-26">
|
|
June 26, 2023
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2023-07-18">
|
|
July 18, 2023
|
|
</time>
|
|
|
|
<time datetime="2023-07-29">
|
|
(last modified: July 29, 2023)
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/lmdb-rs.html">lmdb-rs</a>
|
|
(<a href="https://crates.io/crates/lmdb-rs">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
<span class="tag info">INFO</span>
|
|
Unsound
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
<dt id="keywords">Keywords</dt>
|
|
<dd>
|
|
|
|
<a href="/keywords/unsound.html">#unsound</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-f9g6-fp84-fv92">GHSA-f9g6-fp84-fv92</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">Details</dt>
|
|
<dd>
|
|
<a href="https://github.com/vhbit/lmdb-rs/issues/67">
|
|
https://github.com/vhbit/lmdb-rs/issues/67
|
|
</a>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
no patched versions
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The implementation of <code>FromMdbValue</code> have several unsoundness issues. First of all, it allows to reinterpret arbitrary bytes as a bool and could make undefined behavior happen with safe function. Secondly, it allows transmuting pointer without taking memory layout into consideration. The details of reproducing the bug were included in url above.</p>
|
|
|
|
</article></content></entry><entry><title>RUSTSEC-2023-0046: Unsoundness in cyfs-base</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0046.html</id><updated>2023-07-08T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2023-0046.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0046: Unsoundness in cyfs-base"/><published>2023-06-22T12:00:00+00:00</published><summary xml:lang="en">Misaligned pointer dereference in `ChunkId::new`</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/cyfs-base/RUSTSEC-2023-0046.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/cyfs-base/RUSTSEC-2023-0046.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2023-0046
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Misaligned pointer dereference in <code>ChunkId::new</code></p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2023-06-15">
|
|
June 15, 2023
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2023-06-22">
|
|
June 22, 2023
|
|
</time>
|
|
|
|
<time datetime="2023-07-08">
|
|
(last modified: July 8, 2023)
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/cyfs-base.html">cyfs-base</a>
|
|
(<a href="https://crates.io/crates/cyfs-base">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
<span class="tag info">INFO</span>
|
|
Unsound
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
<dt id="keywords">Keywords</dt>
|
|
<dd>
|
|
|
|
<a href="/keywords/alignment.html">#alignment</a>
|
|
|
|
<a href="/keywords/unsound.html">#unsound</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-g753-ghr7-q33w">GHSA-g753-ghr7-q33w</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">Details</dt>
|
|
<dd>
|
|
<a href="https://github.com/buckyos/CYFS/issues/275">
|
|
https://github.com/buckyos/CYFS/issues/275
|
|
</a>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
no patched versions
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The function <code>ChunkId::new</code> creates a misaligned pointer by casting mutable pointer of <code>u8</code> slice which has alignment 1 to the mutable pointer of <code>u32</code> which has alignment 4, and dereference the misaligned pointer leading UB, which should not be allowed in safe function.</p>
|
|
|
|
</article></content></entry><entry><title>RUSTSEC-2023-0045: Unsoundness in memoffset</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0045.html</id><updated>2023-07-08T12:00:00+00:00</updated><category term="memory-corruption"/><link href="https://rustsec.org/advisories/RUSTSEC-2023-0045.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0045: Unsoundness in memoffset"/><published>2023-06-21T12:00:00+00:00</published><summary xml:lang="en">memoffset allows reading uninitialized memory</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/memoffset/RUSTSEC-2023-0045.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/memoffset/RUSTSEC-2023-0045.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2023-0045
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>memoffset allows reading uninitialized memory</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2023-06-21">
|
|
June 21, 2023
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2023-06-21">
|
|
June 21, 2023
|
|
</time>
|
|
|
|
<time datetime="2023-07-08">
|
|
(last modified: July 8, 2023)
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/memoffset.html">memoffset</a>
|
|
(<a href="https://crates.io/crates/memoffset">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/memory-corruption.html">memory-corruption</a></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="keywords">Keywords</dt>
|
|
<dd>
|
|
|
|
<a href="/keywords/memoffset.html">#memoffset</a>
|
|
|
|
<a href="/keywords/offset.html">#offset</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-wfg4-322g-9vqv">GHSA-wfg4-322g-9vqv</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">Details</dt>
|
|
<dd>
|
|
<a href="https://github.com/Gilnaa/memoffset/issues/24">
|
|
https://github.com/Gilnaa/memoffset/issues/24
|
|
</a>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=0.6.2</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt>Affected Functions</dt>
|
|
<dd>Version</dd>
|
|
|
|
<dt><code>memoffset::offset_of</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&lt;0.6.2</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>memoffset allows attempt of reading data from address <code>0</code> with arbitrary type. This behavior is an undefined behavior because address <code>0</code> to <code>std::mem::size_of&lt;T&gt;</code> may not have valid bit-pattern with <code>T</code>. Old implementation dereferences uninitialized memory obtained from <code>std::mem::align_of</code>. Older implementation prior to it allows using uninitialized data obtained from <code>std::mem::uninitialized</code> with arbitrary type then compute offset by taking the address of field-projection. This may also result in an undefined behavior for &quot;father&quot; that includes (directly or transitively) type that <a href="https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html">does not allow to be uninitialized</a>.</p>
|
|
<p>This flaw was corrected by using <code>std::ptr::addr_of</code> in <a href="https://github.com/Gilnaa/memoffset/pull/50">https://github.com/Gilnaa/memoffset/pull/50</a>.</p>
|
|
|
|
</article></content></entry><entry><title>RUSTSEC-2023-0044: Vulnerability in openssl</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0044.html</id><updated>2023-07-08T12:00:00+00:00</updated><category term="memory-exposure"/><link href="https://rustsec.org/advisories/RUSTSEC-2023-0044.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0044: Vulnerability in openssl"/><published>2023-06-20T12:00:00+00:00</published><summary xml:lang="en">`openssl` `X509VerifyParamRef::set_host` buffer over-read</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/openssl/RUSTSEC-2023-0044.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/openssl/RUSTSEC-2023-0044.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2023-0044
|
|
|
|
</h1>
|
|
<span class="subtitle"><p><code>openssl</code> <code>X509VerifyParamRef::set_host</code> buffer over-read</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2023-06-20">
|
|
June 20, 2023
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2023-06-20">
|
|
June 20, 2023
|
|
</time>
|
|
|
|
<time datetime="2023-07-08">
|
|
(last modified: July 8, 2023)
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/openssl.html">openssl</a>
|
|
(<a href="https://crates.io/crates/openssl">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
Vulnerability
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="categories">Categories</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><a href="/categories/memory-exposure.html">memory-exposure</a></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-xcf7-rvmh-g6q4">GHSA-xcf7-rvmh-g6q4</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">Details</dt>
|
|
<dd>
|
|
<a href="https://github.com/sfackler/rust-openssl/issues/1965">
|
|
https://github.com/sfackler/rust-openssl/issues/1965
|
|
</a>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=0.10.55</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt>Affected Functions</dt>
|
|
<dd>Version</dd>
|
|
|
|
<dt><code>openssl::x509::verify::X509VerifyParamRef::set_host</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&lt;0.10.55, &gt;=0.10.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>When this function was passed an empty string, <code>openssl</code> would attempt to call <code>strlen</code> on it, reading arbitrary memory until it reached a NUL byte.</p>
|
|
|
|
</article></content></entry><entry><title>RUSTSEC-2023-0043: ftp is unmaintained</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0043.html</id><updated>2023-06-14T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2023-0043.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0043: ftp is unmaintained"/><published>2023-06-14T12:00:00+00:00</published><summary xml:lang="en">ftp is unmaintained, use suppaftp instead</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/ftp/RUSTSEC-2023-0043.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/ftp/RUSTSEC-2023-0043.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2023-0043
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>ftp is unmaintained, use suppaftp instead</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2023-02-20">
|
|
February 20, 2023
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2023-06-14">
|
|
June 14, 2023
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/ftp.html">ftp</a>
|
|
(<a href="https://crates.io/crates/ftp">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
<span class="tag info">INFO</span>
|
|
Unmaintained
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
<dt id="keywords">Keywords</dt>
|
|
<dd>
|
|
|
|
<a href="/keywords/ssl.html">#ssl</a>
|
|
|
|
<a href="/keywords/wont-build.html">#wont-build</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">Details</dt>
|
|
<dd>
|
|
<a href="https://github.com/mattnenterprise/rust-ftp/pull/92">
|
|
https://github.com/mattnenterprise/rust-ftp/pull/92
|
|
</a>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
no patched versions
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The <a href="https://crates.io/crates/ftp"><code>ftp</code></a> crate is not maintained any more;
|
|
use <a href="https://crates.io/crates/suppaftp"><code>suppaftp</code></a> instead.</p>
|
|
|
|
</article></content></entry><entry><title>RUSTSEC-2023-0042: Unsoundness in ouroboros</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0042.html</id><updated>2023-07-08T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2023-0042.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0042: Unsoundness in ouroboros"/><published>2023-06-12T12:00:00+00:00</published><summary xml:lang="en">Ouroboros is Unsound</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/ouroboros/RUSTSEC-2023-0042.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/ouroboros/RUSTSEC-2023-0042.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2023-0042
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Ouroboros is Unsound</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2023-06-11">
|
|
June 11, 2023
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2023-06-12">
|
|
June 12, 2023
|
|
</time>
|
|
|
|
<time datetime="2023-07-08">
|
|
(last modified: July 8, 2023)
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/ouroboros.html">ouroboros</a>
|
|
(<a href="https://crates.io/crates/ouroboros">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
<span class="tag info">INFO</span>
|
|
Unsound
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-87mf-9wg6-ppf8">GHSA-87mf-9wg6-ppf8</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">Details</dt>
|
|
<dd>
|
|
<a href="https://github.com/joshua-maros/ouroboros/issues/88">
|
|
https://github.com/joshua-maros/ouroboros/issues/88
|
|
</a>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=0.16.0</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<h2>Summary</h2>
|
|
<p>Ouroboros has a soundness problem, but a fix has been implemented in 0.16.0.</p>
|
|
<h2>More details:</h2>
|
|
<p>In 0.15.0, Ouroboros works internally by creating a struct where all
|
|
uses of 'this are replaced by 'static. However, a recent addition to
|
|
Miri checks that references passed to functions are valid during the
|
|
entire execution of the function, even when those references are
|
|
passed inside a struct. This poses an issue for dropping
|
|
self-referencing values, as the reference becomes invalid during the
|
|
dropping process. Effectively, since self-referencing structs are
|
|
not allowed in vanilla Rust, there is no allowance for dropping data
|
|
during a function that has also been given a reference to that data.
|
|
There's usually no way to pass a and &amp;a to the same function.</p>
|
|
<p>A fix was attempted, where the struct would be turned in to a raw
|
|
byte array and only transformed back into the underlying data type
|
|
inside each function. This is allowable as a reference can be
|
|
created and die over the body of a function, as long as the
|
|
reference was created inside the function. However, this is also
|
|
not sound if the original struct contains padding. There is no
|
|
way to initialize padding bytes to a known value that Miri will
|
|
accept, so when it is cast to an array some of the bytes contain
|
|
uninitialized values. This is not acceptable (despite the fact
|
|
that these bytes are never read) due to the potential for
|
|
optimizations that may read from the uninitialized bytes. Besides
|
|
which, this fix does not allow for template or constant parameters
|
|
as there is no way to check the size of a templated type without
|
|
giving specific, concrete values for the template parameters.</p>
|
|
<p>The final solution was to use this fix while wrapping the raw byte
|
|
array in <code>MaybeUninit&lt;&gt;</code>.</p>
|
|
|
|
</article></content></entry><entry><title>RUSTSEC-2023-0041: Vulnerability in trust-dns-server</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0041.html</id><updated>2023-06-13T12:00:00+00:00</updated><category term="denial-of-service"/><link href="https://rustsec.org/advisories/RUSTSEC-2023-0041.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0041: Vulnerability in trust-dns-server"/><published>2023-06-03T12:00:00+00:00</published><summary xml:lang="en">Remote Attackers can cause Denial-of-Service (packet loops) with crafted DNS packets</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/trust-dns-server/RUSTSEC-2023-0041.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/trust-dns-server/RUSTSEC-2023-0041.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2023-0041
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Remote Attackers can cause Denial-of-Service (packet loops) with crafted DNS packets</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2023-06-01">
|
|
June 1, 2023
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2023-06-03">
|
|
June 3, 2023
|
|
</time>
|
|
|
|
<time datetime="2023-06-13">
|
|
(last modified: June 13, 2023)
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/trust-dns-server.html">trust-dns-server</a>
|
|
(<a href="https://crates.io/crates/trust-dns-server">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
Vulnerability
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="categories">Categories</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><a href="/categories/denial-of-service.html">denial-of-service</a></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="keywords">Keywords</dt>
|
|
<dd>
|
|
|
|
<a href="/keywords/packet-loop.html">#packet-loop</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-5fm9-h728-fwpj">GHSA-5fm9-h728-fwpj</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">Details</dt>
|
|
<dd>
|
|
<a href="https://github.com/bluejekyll/trust-dns/pull/1952">
|
|
https://github.com/bluejekyll/trust-dns/pull/1952
|
|
</a>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>^0.22.1</code></li>
|
|
|
|
<li><code>&gt;=0.23.0-alpha.3</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>trust-dns and trust-dns-server are vulnerable to remotely triggered denial-of-service attacks, consuming both network and CPU resources.
|
|
DNS messages with the QR=1 bit set are responded to with a <code>FormErr</code> response.
|
|
This allows creating a traffic loop, in which these <code>FormErr</code> responses are sent nonstop between vulnerable servers.</p>
|
|
<p>There are two scenarios how this can be exploited: 1) Create a loop between two instances of trust-dns, consuming network resources, or 2) consuming the CPU of a single instance.</p>
|
|
<p>With two instances <em>A</em> and <em>B</em> an attacker sends a DNS query with a spoofed source IP address to <em>A</em>.
|
|
<em>A</em> replies with a <code>FormErr</code> to <em>B</em>.
|
|
Now both servers with ping-pong the message back and forth until by chance the packet is dropped in the network.
|
|
Multiple spoofed packets can be sent by the attacker, increasing resource consumption.</p>
|
|
<p>A single server can get locked up replying to itself.
|
|
Same setup as above, but now <em>A</em> sends the reply to itself.
|
|
The packet is sent out as fast as the CPU and network stack manage.
|
|
This locks up a CPU core.
|
|
Multiple packets from the attacker consume multiple CPU cores.</p>
|
|
|
|
</article></content></entry></feed> |