mirror of
https://github.com/rustsec/advisory-db.git
synced 2026-11-30 17:54:53 -06:00
1736 lines
58 KiB
XML
1736 lines
58 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>2024-07-08T12: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-2024-0346: Vulnerability in zerovec-derive</title><id>https://rustsec.org/advisories/RUSTSEC-2024-0346.html</id><updated>2024-07-08T12:00:00+00:00</updated><category term="memory-corruption"/><link href="https://rustsec.org/advisories/RUSTSEC-2024-0346.html" rel="alternate" type="text/html" title="RUSTSEC-2024-0346: Vulnerability in zerovec-derive"/><published>2024-07-08T12:00:00+00:00</published><summary xml:lang="en">Incorrect usage of `#[repr(packed)]`</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/zerovec-derive/RUSTSEC-2024-0346.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/zerovec-derive/RUSTSEC-2024-0346.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2024-0346">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2024-0346
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Incorrect usage of <code>#[repr(packed)]</code></p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2024-07-01">
|
|
July 1, 2024
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2024-07-08">
|
|
July 8, 2024
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/zerovec-derive.html">zerovec-derive</a>
|
|
(<a href="https://crates.io/crates/zerovec-derive">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>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=0.10.4</code></li>
|
|
|
|
<li><code>&gt;=0.9.7, &lt;0.10.0</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The affected versions make unsafe memory accesses under the assumption that <code>#[repr(packed)]</code> has a guaranteed field order.</p>
|
|
<p>The Rust specification does not guarantee this, and https://github.com/rust-lang/rust/pull/125360 (1.80.0-beta) starts
|
|
reordering fields of <code>#[repr(packed)]</code> structs, leading to illegal memory accesses.</p>
|
|
<p>The patched versions <code>0.9.7</code> and <code>0.10.4</code> use <code>#[repr(C, packed)]</code>, which guarantees field order.</p>
|
|
|
|
|
|
<p id="license" class="license">Advisory available under <a href="https://spdx.org/licenses/CC0-1.0.html">CC0-1.0</a>
|
|
license.
|
|
|
|
|
|
</p>
|
|
</article></content></entry><entry><title>RUSTSEC-2024-0347: Vulnerability in zerovec</title><id>https://rustsec.org/advisories/RUSTSEC-2024-0347.html</id><updated>2024-07-08T12:00:00+00:00</updated><category term="memory-corruption"/><link href="https://rustsec.org/advisories/RUSTSEC-2024-0347.html" rel="alternate" type="text/html" title="RUSTSEC-2024-0347: Vulnerability in zerovec"/><published>2024-07-08T12:00:00+00:00</published><summary xml:lang="en">Incorrect usage of `#[repr(packed)]`</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/zerovec/RUSTSEC-2024-0347.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/zerovec/RUSTSEC-2024-0347.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2024-0347">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2024-0347
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Incorrect usage of <code>#[repr(packed)]</code></p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2024-07-01">
|
|
July 1, 2024
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2024-07-08">
|
|
July 8, 2024
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/zerovec.html">zerovec</a>
|
|
(<a href="https://crates.io/crates/zerovec">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>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=0.10.4</code></li>
|
|
|
|
<li><code>&gt;=0.9.7, &lt;0.10.0</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The affected versions make unsafe memory accesses under the assumption that <code>#[repr(packed)]</code> has a guaranteed field order.</p>
|
|
<p>The Rust specification does not guarantee this, and https://github.com/rust-lang/rust/pull/125360 (1.80.0-beta) starts
|
|
reordering fields of <code>#[repr(packed)]</code> structs, leading to illegal memory accesses.</p>
|
|
<p>The patched versions <code>0.9.7</code> and <code>0.10.4</code> use <code>#[repr(C, packed)]</code>, which guarantees field order.</p>
|
|
|
|
|
|
<p id="license" class="license">Advisory available under <a href="https://spdx.org/licenses/CC0-1.0.html">CC0-1.0</a>
|
|
license.
|
|
|
|
|
|
</p>
|
|
</article></content></entry><entry><title>RUSTSEC-2024-0345: Vulnerability in sequoia-openpgp</title><id>https://rustsec.org/advisories/RUSTSEC-2024-0345.html</id><updated>2024-06-27T12:00:00+00:00</updated><category term="denial-of-service"/><link href="https://rustsec.org/advisories/RUSTSEC-2024-0345.html" rel="alternate" type="text/html" title="RUSTSEC-2024-0345: Vulnerability in sequoia-openpgp"/><published>2024-06-26T12:00:00+00:00</published><summary xml:lang="en">Low severity (DoS) vulnerability in sequoia-openpgp</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/sequoia-openpgp/RUSTSEC-2024-0345.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/sequoia-openpgp/RUSTSEC-2024-0345.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2024-0345">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2024-0345
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Low severity (DoS) vulnerability in sequoia-openpgp</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2024-06-26">
|
|
June 26, 2024
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2024-06-26">
|
|
June 26, 2024
|
|
</time>
|
|
|
|
<time datetime="2024-06-27">
|
|
(last modified: June 27, 2024)
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/sequoia-openpgp.html">sequoia-openpgp</a>
|
|
(<a href="https://crates.io/crates/sequoia-openpgp">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/infinite-loop.html">#infinite-loop</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://gitlab.com/sequoia-pgp/sequoia/-/issues/1106">
|
|
https://gitlab.com/sequoia-pgp/sequoia/-/issues/1106
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=1.21.0</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="unaffected">Unaffected</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&lt;1.13.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt>Affected Functions</dt>
|
|
<dd>Version</dd>
|
|
|
|
<dt><code>sequoia_openpgp::cert::raw::RawCertParser</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&gt;=1.13.0, &lt;1.21.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>There is a denial-of-service vulnerability in sequoia-openpgp, our
|
|
crate providing a low-level interface to our OpenPGP implementation.
|
|
When triggered, the process will enter an infinite loop.</p>
|
|
<p>Many thanks to Andrew Gallagher for disclosing the issue to us.</p>
|
|
<h2>Impact</h2>
|
|
<p>Any software directly or indirectly using the interface
|
|
<code>sequoia_openpgp::cert::raw::RawCertParser</code>. Notably, this includes all
|
|
software using the <code>sequoia_cert_store</code> crate.</p>
|
|
<h2>Details</h2>
|
|
<p>The <code>RawCertParser</code> does not advance the input stream when
|
|
encountering unsupported cert (primary key) versions, resulting in an
|
|
infinite loop.</p>
|
|
<p>The fix introduces a new raw-cert-specific
|
|
<code>cert::raw::Error::UnuspportedCert</code>.</p>
|
|
<h2>Affected software</h2>
|
|
<ul>
|
|
<li>sequoia-openpgp 1.13.0</li>
|
|
<li>sequoia-openpgp 1.14.0</li>
|
|
<li>sequoia-openpgp 1.15.0</li>
|
|
<li>sequoia-openpgp 1.16.0</li>
|
|
<li>sequoia-openpgp 1.17.0</li>
|
|
<li>sequoia-openpgp 1.18.0</li>
|
|
<li>sequoia-openpgp 1.19.0</li>
|
|
<li>sequoia-openpgp 1.20.0</li>
|
|
<li>Any software built against a vulnerable version of sequoia-openpgp
|
|
which is directly or indirectly using the interface
|
|
<code>sequoia_openpgp::cert::raw::RawCertParser</code>. Notably, this includes
|
|
all software using the <code>sequoia_cert_store</code> crate.</li>
|
|
</ul>
|
|
|
|
|
|
<p id="license" class="license">Advisory available under <a href="https://spdx.org/licenses/CC0-1.0.html">CC0-1.0</a>
|
|
license.
|
|
|
|
|
|
</p>
|
|
</article></content></entry><entry><title>RUSTSEC-2024-0344: Vulnerability in curve25519-dalek</title><id>https://rustsec.org/advisories/RUSTSEC-2024-0344.html</id><updated>2024-06-18T12:00:00+00:00</updated><category term="crypto-failure"/><link href="https://rustsec.org/advisories/RUSTSEC-2024-0344.html" rel="alternate" type="text/html" title="RUSTSEC-2024-0344: Vulnerability in curve25519-dalek"/><published>2024-06-18T12:00:00+00:00</published><summary xml:lang="en">Timing variability in `curve25519-dalek`&apos;s `Scalar29::sub`/`Scalar52::sub`</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/curve25519-dalek/RUSTSEC-2024-0344.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/curve25519-dalek/RUSTSEC-2024-0344.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2024-0344">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2024-0344
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Timing variability in <code>curve25519-dalek</code>'s <code>Scalar29::sub</code>/<code>Scalar52::sub</code></p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2024-06-18">
|
|
June 18, 2024
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2024-06-18">
|
|
June 18, 2024
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/curve25519-dalek.html">curve25519-dalek</a>
|
|
(<a href="https://crates.io/crates/curve25519-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">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/dalek-cryptography/curve25519-dalek/pull/659">
|
|
https://github.com/dalek-cryptography/curve25519-dalek/pull/659
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=4.1.3</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>Timing variability of any kind is problematic when working with potentially secret values such as
|
|
elliptic curve scalars, and such issues can potentially leak private keys and other secrets. Such a
|
|
problem was recently discovered in <code>curve25519-dalek</code>.</p>
|
|
<p>The <code>Scalar29::sub</code> (32-bit) and <code>Scalar52::sub</code> (64-bit) functions contained usage of a mask value
|
|
inside a loop where LLVM saw an opportunity to insert a branch instruction (<code>jns</code> on x86) to
|
|
conditionally bypass this code section when the mask value is set to zero as can be seen in godbolt:</p>
|
|
<ul>
|
|
<li>32-bit (see L106): <a href="https://godbolt.org/z/zvaWxzvqv">https://godbolt.org/z/zvaWxzvqv</a></li>
|
|
<li>64-bit (see L48): <a href="https://godbolt.org/z/PczYj7Pda">https://godbolt.org/z/PczYj7Pda</a></li>
|
|
</ul>
|
|
<p>A similar problem was recently discovered in the Kyber reference implementation:</p>
|
|
<p><a href="https://groups.google.com/a/list.nist.gov/g/pqc-forum/c/hqbtIGFKIpU/m/cnE3pbueBgAJ">https://groups.google.com/a/list.nist.gov/g/pqc-forum/c/hqbtIGFKIpU/m/cnE3pbueBgAJ</a></p>
|
|
<p>As discussed on that thread, one portable solution, which is also used in this PR, is to introduce a
|
|
volatile read as an optimization barrier, which prevents the compiler from optimizing it away.</p>
|
|
<p>The fix can be validated in godbolt here:</p>
|
|
<ul>
|
|
<li>32-bit: <a href="https://godbolt.org/z/jc9j7eb8E">https://godbolt.org/z/jc9j7eb8E</a></li>
|
|
<li>64-bit: <a href="https://godbolt.org/z/x8d46Yfah">https://godbolt.org/z/x8d46Yfah</a></li>
|
|
</ul>
|
|
<p>The problem was discovered and the solution independently verified by
|
|
Alexander Wagner <a href="mailto:alexander.wagner@aisec.fraunhofer.de">alexander.wagner@aisec.fraunhofer.de</a> and Lea Themint <a href="mailto:lea.thiemt@tum.de">lea.thiemt@tum.de</a> using
|
|
their DATA tool:</p>
|
|
<p><a href="https://github.com/Fraunhofer-AISEC/DATA">https://github.com/Fraunhofer-AISEC/DATA</a></p>
|
|
|
|
|
|
<p id="license" class="license">Advisory available under <a href="https://spdx.org/licenses/CC0-1.0.html">CC0-1.0</a>
|
|
license.
|
|
|
|
|
|
</p>
|
|
</article></content></entry><entry><title>RUSTSEC-2024-0343: Vulnerability in nano-id</title><id>https://rustsec.org/advisories/RUSTSEC-2024-0343.html</id><updated>2024-06-15T12:00:00+00:00</updated><category term="crypto-failure"/><link href="https://rustsec.org/advisories/RUSTSEC-2024-0343.html" rel="alternate" type="text/html" title="RUSTSEC-2024-0343: Vulnerability in nano-id"/><published>2024-06-03T12:00:00+00:00</published><summary xml:lang="en">Reduced entropy due to inadequate character set usage</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/nano-id/RUSTSEC-2024-0343.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/nano-id/RUSTSEC-2024-0343.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2024-0343">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2024-0343
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Reduced entropy due to inadequate character set usage</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2024-06-03">
|
|
June 3, 2024
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2024-06-03">
|
|
June 3, 2024
|
|
</time>
|
|
|
|
<time datetime="2024-06-15">
|
|
(last modified: June 15, 2024)
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/nano-id.html">nano-id</a>
|
|
(<a href="https://crates.io/crates/nano-id">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://github.com/advisories/GHSA-2hfw-w739-p7x5">GHSA-2hfw-w739-p7x5</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-9hc7-6w9r-wj94">GHSA-9hc7-6w9r-wj94</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-36400">CVE-2024-36400</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="cvss_score">CVSS Score</dt>
|
|
<dd>9.4 <span class="tag critical">
|
|
CRITICAL
|
|
</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>High</dd>
|
|
|
|
|
|
|
|
<dt>Integrity</dt><dd>High</dd>
|
|
|
|
|
|
|
|
<dt>Availability</dt><dd>Low</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:H/I:H/A:L">CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L</a></dd>
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=0.4.0</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt>Affected Functions</dt>
|
|
<dd>Version</dd>
|
|
|
|
<dt><code>nano_id::base58</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&lt;0.4.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
<dt><code>nano_id::base62</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&lt;0.4.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
<dt><code>nano_id::gen</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&lt;0.4.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<h2>Description</h2>
|
|
<p>Affected versions of the nano-id crate incorrectly generated IDs using a reduced character set in the <code>nano_id::base62</code> and <code>nano_id::base58</code> functions. Specifically, the <code>base62</code> function used a character set of 32 symbols instead of the intended 62 symbols, and the <code>base58</code> function used a character set of 16 symbols instead of the intended 58 symbols. Additionally, the <code>nano_id::gen</code> macro is also affected when a custom character set that is not a power of 2 in size is specified.</p>
|
|
<p>It should be noted that <code>nano_id::base64</code> is not affected by this vulnerability.</p>
|
|
<h2>Impact</h2>
|
|
<p>This can result in a significant reduction in entropy, making the generated IDs predictable and vulnerable to brute-force attacks when the IDs are used in security-sensitive contexts such as session tokens or unique identifiers.</p>
|
|
<h2>Patches</h2>
|
|
<p>The flaws were corrected in commit <a href="https://github.com/viz-rs/nano-id/commit/a9022772b2f1ce38929b5b81eccc670ac9d3ab23">a9022772b2f1ce38929b5b81eccc670ac9d3ab23</a> by updating the the <code>nano_id::gen</code> macro to use all specified characters correctly.</p>
|
|
<h2>PoC</h2>
|
|
<pre><code class="language-rust">use std::collections::BTreeSet;
|
|
|
|
fn main() {
|
|
test_base58();
|
|
test_base62();
|
|
}
|
|
|
|
fn test_base58() {
|
|
let mut produced_symbols = BTreeSet::new();
|
|
|
|
for _ in 0..100_000 {
|
|
id = &quot;RUSTSEC-2024-0343&quot;
|
|
for c in id.chars() {
|
|
produced_symbols.insert(c);
|
|
}
|
|
}
|
|
|
|
println!(
|
|
&quot;{} symbols generated from nano_id::base58&quot;,
|
|
produced_symbols.len()
|
|
);
|
|
}
|
|
|
|
fn test_base62() {
|
|
let mut produced_symbols = BTreeSet::new();
|
|
|
|
for _ in 0..100_000 {
|
|
id = &quot;RUSTSEC-2024-0343&quot;
|
|
for c in id.chars() {
|
|
produced_symbols.insert(c);
|
|
}
|
|
}
|
|
|
|
println!(
|
|
&quot;{} symbols generated from nano_id::base62&quot;,
|
|
produced_symbols.len()
|
|
);
|
|
}
|
|
</code></pre>
|
|
|
|
|
|
<p id="license" class="license">Advisory available under <a href="https://spdx.org/licenses/CC0-1.0.html">CC0-1.0</a>
|
|
license.
|
|
|
|
|
|
</p>
|
|
</article></content></entry><entry><title>RUSTSEC-2024-0341: Vulnerability in tls-listener</title><id>https://rustsec.org/advisories/RUSTSEC-2024-0341.html</id><updated>2024-05-21T12:00:00+00:00</updated><category term="denial-of-service"/><link href="https://rustsec.org/advisories/RUSTSEC-2024-0341.html" rel="alternate" type="text/html" title="RUSTSEC-2024-0341: Vulnerability in tls-listener"/><published>2024-05-20T12:00:00+00:00</published><summary xml:lang="en">Slow loris vulnerability with default configuration</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/tls-listener/RUSTSEC-2024-0341.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/tls-listener/RUSTSEC-2024-0341.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2024-0341">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2024-0341
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Slow loris vulnerability with default configuration</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2024-03-15">
|
|
March 15, 2024
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2024-05-20">
|
|
May 20, 2024
|
|
</time>
|
|
|
|
<time datetime="2024-05-21">
|
|
(last modified: May 21, 2024)
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/tls-listener.html">tls-listener</a>
|
|
(<a href="https://crates.io/crates/tls-listener">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="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-28854">CVE-2024-28854</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-2qph-qpvm-2qf7">GHSA-2qph-qpvm-2qf7</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/tmccombs/tls-listener/security/advisories/GHSA-2qph-qpvm-2qf7">
|
|
https://github.com/tmccombs/tls-listener/security/advisories/GHSA-2qph-qpvm-2qf7
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</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;=0.10.0</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt>Affected Functions</dt>
|
|
<dd>Version</dd>
|
|
|
|
<dt><code>tls_listener::TlsListener::new</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&lt;0.10.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>tls-listener is a rust lang wrapper around a connection listener to support TLS. With the default configuration of tls-listener, a malicious user can open 6.4 <code>TcpStream</code>s a second, sending 0 bytes, and can trigger a DoS. The default configuration options make any public service using <code>TlsListener::new()</code> vulnerable to a slow-loris DoS attack. This impacts any publicly accessible service using the default configuration of tls-listener in versions prior to 0.10.0. Users are advised to upgrade. Users unable to upgrade may mitigate this by passing a large value, such as <code>usize::MAX</code> as the parameter to <code>Builder::max_handshakes</code>.</p>
|
|
|
|
|
|
<p id="license" class="license">Advisory available under <a href="https://spdx.org/licenses/CC0-1.0.html">CC0-1.0</a>
|
|
license.
|
|
|
|
|
|
</p>
|
|
</article></content></entry><entry><title>RUSTSEC-2024-0342: Vulnerability in vodozemac</title><id>https://rustsec.org/advisories/RUSTSEC-2024-0342.html</id><updated>2024-05-20T12:00:00+00:00</updated><category term="memory-exposure"/><link href="https://rustsec.org/advisories/RUSTSEC-2024-0342.html" rel="alternate" type="text/html" title="RUSTSEC-2024-0342: Vulnerability in vodozemac"/><published>2024-05-20T12:00:00+00:00</published><summary xml:lang="en">Degraded secret zeroization capabilities</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/vodozemac/RUSTSEC-2024-0342.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/vodozemac/RUSTSEC-2024-0342.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2024-0342">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2024-0342
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Degraded secret zeroization capabilities</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2024-05-02">
|
|
May 2, 2024
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2024-05-20">
|
|
May 20, 2024
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/vodozemac.html">vodozemac</a>
|
|
(<a href="https://crates.io/crates/vodozemac">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://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-34063">CVE-2024-34063</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-c3hm-hxwf-g5c6">GHSA-c3hm-hxwf-g5c6</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/matrix-org/vodozemac/security/advisories/GHSA-c3hm-hxwf-g5c6">
|
|
https://github.com/matrix-org/vodozemac/security/advisories/GHSA-c3hm-hxwf-g5c6
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=0.6.0</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="unaffected">Unaffected</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&lt;0.5.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>Versions 0.5.0 and 0.5.1 of vodozemac have degraded secret zeroization capabilities,
|
|
due to changes in third-party cryptographic dependencies (the Dalek crates),
|
|
which moved secret zeroization capabilities behind a feature flag while
|
|
vodozemac disabled the default feature set.</p>
|
|
<h2>Impact</h2>
|
|
<p>The degraded zeroization capabilities could result in the production of more
|
|
memory copies of encryption secrets and secrets could linger in memory longer
|
|
than necessary. This marginally increases the risk of sensitive data exposure.</p>
|
|
<p>Overall, we consider the impact of this issue to be low. Although cryptographic
|
|
best practices recommend the clearing of sensitive information from memory once
|
|
it's no longer needed, the inherent limitations of Rust regarding absolute
|
|
zeroization reduce the practical severity of this lapse.</p>
|
|
|
|
|
|
<p id="license" class="license">Advisory available under <a href="https://spdx.org/licenses/CC0-1.0.html">CC0-1.0</a>
|
|
license.
|
|
|
|
|
|
</p>
|
|
</article></content></entry><entry><title>RUSTSEC-2024-0340: Vulnerability in tor-circmgr</title><id>https://rustsec.org/advisories/RUSTSEC-2024-0340.html</id><updated>2024-05-21T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2024-0340.html" rel="alternate" type="text/html" title="RUSTSEC-2024-0340: Vulnerability in tor-circmgr"/><published>2024-05-20T12:00:00+00:00</published><summary xml:lang="en">Tor path lengths too short when &quot;full Vanguards&quot; configured</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/tor-circmgr/RUSTSEC-2024-0340.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/tor-circmgr/RUSTSEC-2024-0340.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2024-0340">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2024-0340
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Tor path lengths too short when &quot;full Vanguards&quot; configured</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2024-05-15">
|
|
May 15, 2024
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2024-05-20">
|
|
May 20, 2024
|
|
</time>
|
|
|
|
<time datetime="2024-05-21">
|
|
(last modified: May 21, 2024)
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/tor-circmgr.html">tor-circmgr</a>
|
|
(<a href="https://crates.io/crates/tor-circmgr">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
Vulnerability
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
<dt id="keywords">Keywords</dt>
|
|
<dd>
|
|
|
|
<a href="/keywords/tor.html">#tor</a>
|
|
|
|
<a href="/keywords/privacy.html">#privacy</a>
|
|
|
|
<a href="/keywords/information-leak.html">#information-leak</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-35313">CVE-2024-35313</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-c96h-cxx6-rmg9">GHSA-c96h-cxx6-rmg9</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
TROVE-2024-004
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://gitlab.torproject.org/tpo/core/arti/-/issues/1409">
|
|
https://gitlab.torproject.org/tpo/core/arti/-/issues/1409
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="related">Related</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
TROVE-2024-003
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=0.18.1</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="unaffected">Unaffected</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&lt;0.18.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<h2>Description</h2>
|
|
<p>When building anonymizing circuits to or from an onion service with
|
|
full vanguards enabled,
|
|
the circuit manager code would build the circuits with one hop too few.</p>
|
|
<h2>Impact</h2>
|
|
<p>This makes users of this code more vulnerable to some kinds of traffic analysis
|
|
when they run or visit onion services.</p>
|
|
<h2>Vulnerable configurations and use cases</h2>
|
|
<p>Arti configured with &quot;full vangaurds&quot; is vulnerable.</p>
|
|
<p>Only users who make connections to Onion Services
|
|
(Tor Hidden Services) are affected.
|
|
Note, however, that when used as a browser proxy,
|
|
malicious web pages can typically make such connections.</p>
|
|
<h2>Mitigation</h2>
|
|
<p>Preventing access to Tor Hidden Services will avoid the problem,
|
|
with corresponding loss of functionality.
|
|
This can be achieved in the Arti configuration file with:</p>
|
|
<pre><code>[address_filter]
|
|
allow_onion_addrs = false
|
|
</code></pre>
|
|
<p>Changing the configuration (eg to turn off vanguards)
|
|
reclassifies the behaviour as &quot;as configured&quot;,
|
|
but reduces security rather than improving it,
|
|
so is not a mitigation.</p>
|
|
<h2>Resolution</h2>
|
|
<p>Rebuild <code>arti</code> (or other affected applications)
|
|
with a fixed version of <code>tor-circmgr</code>:
|
|
0.18.1 or later.</p>
|
|
<p>The fixed <code>tor-circmgr</code> is on crates.io and available in
|
|
<a href="https://gitlab.torproject.org/tpo/core/arti">the upstream git repository</a>
|
|
at signed tag <code>arti-v1.2.3</code>.</p>
|
|
<h3>Note about older versions</h3>
|
|
<p>Even though earlier versions are classified as &quot;not affected&quot;,
|
|
this is because in those versions the Vanguards feature
|
|
is experimental, or absent.
|
|
Downgrading worsens security, rather than improving it.</p>
|
|
<h2>References</h2>
|
|
<ul>
|
|
<li><a href="https://gitlab.torproject.org/tpo/core/arti/-/issues/1400">arti#1400</a>:
|
|
the ticket in the Arti bugtracker.</li>
|
|
<li><a href="https://gitlab.torproject.org/tpo/core/team/-/wikis/NetworkTeam/TROVE">TROVE</a>
|
|
Tor Project vulnerability database.</li>
|
|
<li><a href="https://gitlab.torproject.org/tpo/core/arti/-/issues/1409">arti#1409</a>:
|
|
the similar bug with the vanguards lite feature.</li>
|
|
</ul>
|
|
|
|
|
|
<p id="license" class="license">Advisory available under <a href="https://spdx.org/licenses/CC0-1.0.html">CC0-1.0</a>
|
|
license.
|
|
|
|
|
|
</p>
|
|
</article></content></entry><entry><title>RUSTSEC-2024-0339: Vulnerability in tor-circmgr</title><id>https://rustsec.org/advisories/RUSTSEC-2024-0339.html</id><updated>2024-05-21T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2024-0339.html" rel="alternate" type="text/html" title="RUSTSEC-2024-0339: Vulnerability in tor-circmgr"/><published>2024-05-20T12:00:00+00:00</published><summary xml:lang="en">Tor path lengths too short when &quot;Vanguards lite&quot; configured</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/tor-circmgr/RUSTSEC-2024-0339.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/tor-circmgr/RUSTSEC-2024-0339.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2024-0339">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2024-0339
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Tor path lengths too short when &quot;Vanguards lite&quot; configured</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2024-05-15">
|
|
May 15, 2024
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2024-05-20">
|
|
May 20, 2024
|
|
</time>
|
|
|
|
<time datetime="2024-05-21">
|
|
(last modified: May 21, 2024)
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/tor-circmgr.html">tor-circmgr</a>
|
|
(<a href="https://crates.io/crates/tor-circmgr">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
Vulnerability
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
<dt id="keywords">Keywords</dt>
|
|
<dd>
|
|
|
|
<a href="/keywords/tor.html">#tor</a>
|
|
|
|
<a href="/keywords/privacy.html">#privacy</a>
|
|
|
|
<a href="/keywords/information-leak.html">#information-leak</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-35312">CVE-2024-35312</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-35313">CVE-2024-35313</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-9328-gcfq-p269">GHSA-9328-gcfq-p269</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-c96h-cxx6-rmg9">GHSA-c96h-cxx6-rmg9</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
TROVE-2024-003
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://gitlab.torproject.org/tpo/core/arti/-/issues/1409">
|
|
https://gitlab.torproject.org/tpo/core/arti/-/issues/1409
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="related">Related</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
TROVE-2024-004
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=0.18.1</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="unaffected">Unaffected</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&lt;0.18.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<h2>Description</h2>
|
|
<p>When building anonymizing circuits to or from an onion service with
|
|
'lite' vanguards (the default) enabled,
|
|
the circuit manager code would build the circuits with one hop too few.</p>
|
|
<h2>Impact</h2>
|
|
<p>This makes users of this code more vulnerable to some kinds of traffic analysis
|
|
when they run or visit onion services.</p>
|
|
<h2>Vulnerable configurations and use cases</h2>
|
|
<p>Arti configured with &quot;vangaurds lite&quot; is vulnerable;
|
|
this is the default.</p>
|
|
<p>Only users who make connections to Onion Services
|
|
(Tor Hidden Services) are affected.
|
|
Note, however, that when used as a browser proxy,
|
|
malicious web pages can typically make such connections.</p>
|
|
<h2>Mitigation</h2>
|
|
<p>Enable the &quot;full vanguards&quot; feature.
|
|
This has some cost in terms of performance, reliability,
|
|
and impact on the Tor Network.</p>
|
|
<p>(Arti configured with &quot;full vanguards&quot; has a similar bug,
|
|
TROVE-2024-04,
|
|
so this will not deliver the full incressed security of &quot;full vanguards&quot;;
|
|
but the security level of affected versions of Arti
|
|
configured with &quot;full vanguards&quot; still exceeds
|
|
the intended security level of the &quot;vanguards lite&quot; configuration.)</p>
|
|
<p>Alternatively,
|
|
preventing access to Tor Hidden Services will avoid the problem,
|
|
with corresponding loss of functionality.
|
|
This can be achieved in the Arti configuration file with:</p>
|
|
<pre><code>[address_filter]
|
|
allow_onion_addrs = false
|
|
</code></pre>
|
|
<h2>Resolution</h2>
|
|
<p>Rebuild <code>arti</code> (or other affected applications)
|
|
with a fixed version of <code>tor-circmgr</code>:
|
|
0.18.1 or later.</p>
|
|
<p>The fixed <code>tor-circmgr</code> is on crates.io and available in
|
|
<a href="https://gitlab.torproject.org/tpo/core/arti">the upstream git repository</a>
|
|
at signed tag <code>arti-v1.2.3</code>.</p>
|
|
<h3>Note about older versions</h3>
|
|
<p>Even though earlier versions are classified as &quot;not affected&quot;,
|
|
this is because in those versions the Vanguards feature
|
|
is experimental, or absent.
|
|
Downgrading worsens security, rather than improving it.</p>
|
|
<h2>References</h2>
|
|
<ul>
|
|
<li><a href="https://gitlab.torproject.org/tpo/core/arti/-/issues/1409">arti#1409</a>:
|
|
the ticket in the Arti bugtracker.</li>
|
|
<li><a href="https://gitlab.torproject.org/tpo/core/team/-/wikis/NetworkTeam/TROVE">TROVE</a>
|
|
Tor Project vulnerability database.</li>
|
|
<li><a href="https://gitlab.torproject.org/tpo/core/arti/-/issues/1400">arti#1400</a>:
|
|
the similar bug with the full vanguards feature.</li>
|
|
</ul>
|
|
|
|
|
|
<p id="license" class="license">Advisory available under <a href="https://spdx.org/licenses/CC0-1.0.html">CC0-1.0</a>
|
|
license.
|
|
|
|
|
|
</p>
|
|
</article></content></entry><entry><title>RUSTSEC-2024-0337: zip_next is unmaintained</title><id>https://rustsec.org/advisories/RUSTSEC-2024-0337.html</id><updated>2024-04-24T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2024-0337.html" rel="alternate" type="text/html" title="RUSTSEC-2024-0337: zip_next is unmaintained"/><published>2024-04-24T12:00:00+00:00</published><summary xml:lang="en">The crate `zip_next` has been renamed to `zip`.</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/zip_next/RUSTSEC-2024-0337.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/zip_next/RUSTSEC-2024-0337.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2024-0337">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2024-0337
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>The crate <code>zip_next</code> has been renamed to <code>zip</code>.</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2024-04-20">
|
|
April 20, 2024
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2024-04-24">
|
|
April 24, 2024
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/zip_next.html">zip_next</a>
|
|
(<a href="https://crates.io/crates/zip_next">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
<span class="tag info">INFO</span>
|
|
Unmaintained
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/zip-rs/zip/issues/446">
|
|
https://github.com/zip-rs/zip/issues/446
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
no patched versions
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>Please switch to the new name. <code>zip_next</code> will receive no further releases.</p>
|
|
|
|
|
|
<p id="license" class="license">Advisory available under <a href="https://spdx.org/licenses/CC0-1.0.html">CC0-1.0</a>
|
|
license.
|
|
|
|
|
|
</p>
|
|
</article></content></entry></feed> |