mirror of
https://github.com/rustsec/advisory-db.git
synced 2026-11-30 18:04:31 -06:00
1620 lines
54 KiB
XML
1620 lines
54 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-09-06T12: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-2023-0056: Unsoundness in vm-memory</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0056.html</id><updated>2023-09-06T12:00:00+00:00</updated><category term="memory-exposure"/><link href="https://rustsec.org/advisories/RUSTSEC-2023-0056.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0056: Unsoundness in vm-memory"/><published>2023-09-06T12:00:00+00:00</published><summary xml:lang="en">Default functions in VolatileMemory trait lack bounds checks, potentially leading to out-of-bounds memory accesses</summary><content xml:lang="en" type="html"> <article>
|
||
|
||
<span class="floating-menu">
|
||
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/vm-memory/RUSTSEC-2023-0056.md">History</a> ⋅
|
||
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/vm-memory/RUSTSEC-2023-0056.md">Edit</a> ⋅
|
||
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2023-0056">JSON (OSV)</a>
|
||
</span>
|
||
|
||
|
||
<header>
|
||
<h1>
|
||
|
||
RUSTSEC-2023-0056
|
||
|
||
</h1>
|
||
<span class="subtitle"><p>Default functions in VolatileMemory trait lack bounds checks, potentially leading to out-of-bounds memory accesses</p>
|
||
</span>
|
||
</header>
|
||
|
||
|
||
|
||
<dl>
|
||
<dt id="reported">Reported</dt>
|
||
<dd>
|
||
<time datetime="2023-09-01">
|
||
September 1, 2023
|
||
</time>
|
||
</dd>
|
||
|
||
<dt id="issued">Issued</dt>
|
||
<dd>
|
||
<time datetime="2023-09-06">
|
||
September 6, 2023
|
||
</time>
|
||
|
||
</dd>
|
||
|
||
<dt id="package">Package</dt>
|
||
<dd>
|
||
|
||
|
||
<a href="/packages/vm-memory.html">vm-memory</a>
|
||
(<a href="https://crates.io/crates/vm-memory">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-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-2023-41051">CVE-2023-41051</a>
|
||
|
||
</li>
|
||
|
||
<li>
|
||
|
||
<a href="https://github.com/advisories/GHSA-49hh-fprx-m68g">GHSA-49hh-fprx-m68g</a>
|
||
|
||
</li>
|
||
|
||
</ul>
|
||
</dd>
|
||
|
||
|
||
|
||
<dt id="details">References</dt>
|
||
<dd>
|
||
<ul>
|
||
|
||
<li>
|
||
<a href="https://github.com/rust-vmm/vm-memory/issues/250">
|
||
https://github.com/rust-vmm/vm-memory/issues/250
|
||
</a>
|
||
</li>
|
||
|
||
|
||
<li>
|
||
<a href="https://github.com/rust-vmm/vm-memory/commit/aff1dd4a5259f7deba56692840f7a2d9ca34c9c8">
|
||
https://github.com/rust-vmm/vm-memory/commit/aff1dd4a5259f7deba56692840f7a2d9ca34c9c8
|
||
</a>
|
||
</li>
|
||
|
||
</ul>
|
||
</dd>
|
||
|
||
|
||
|
||
|
||
|
||
<dt id="cvss_score">CVSS Score</dt>
|
||
<dd>2.5 <span class="tag low">
|
||
LOW
|
||
</span></dd>
|
||
|
||
<dt id="cvss_details">CVSS Details</dt>
|
||
<dd>
|
||
<dl>
|
||
|
||
<dt>Attack vector</dt><dd>Local</dd>
|
||
|
||
|
||
|
||
<dt>Attack complexity</dt><dd>High</d>
|
||
|
||
|
||
|
||
<dt>Privileges required</dt><dd>None</dd>
|
||
|
||
|
||
|
||
<dt>User interaction</dt><dd>Required</dd>
|
||
|
||
|
||
|
||
<dt>Scope</dt><dd>Unchanged</dd>
|
||
|
||
|
||
|
||
<dt>Confidentiality</dt><dd>None</dd>
|
||
|
||
|
||
|
||
<dt>Integrity</dt><dd>None</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:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L">CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L</a></dd>
|
||
|
||
|
||
|
||
<dt id="patched">Patched</dt>
|
||
<dd>
|
||
|
||
<ul>
|
||
|
||
<li><code>&gt;=0.12.2</code></li>
|
||
|
||
</ul>
|
||
|
||
</dd>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
</dl>
|
||
|
||
|
||
|
||
<dl>
|
||
<dt>Affected Functions</dt>
|
||
<dd>Version</dd>
|
||
|
||
<dt><code>vm_memory::volatile_memory::VolatileMemory::aligned_as_mut</code></dt>
|
||
<dd>
|
||
<ul>
|
||
|
||
<li><code>&lt;0.12.2</code></li>
|
||
|
||
</ul>
|
||
</dd>
|
||
|
||
<dt><code>vm_memory::volatile_memory::VolatileMemory::aligned_as_ref</code></dt>
|
||
<dd>
|
||
<ul>
|
||
|
||
<li><code>&lt;0.12.2</code></li>
|
||
|
||
</ul>
|
||
</dd>
|
||
|
||
<dt><code>vm_memory::volatile_memory::VolatileMemory::get_array_ref</code></dt>
|
||
<dd>
|
||
<ul>
|
||
|
||
<li><code>&lt;0.12.2</code></li>
|
||
|
||
</ul>
|
||
</dd>
|
||
|
||
<dt><code>vm_memory::volatile_memory::VolatileMemory::get_atomic_ref</code></dt>
|
||
<dd>
|
||
<ul>
|
||
|
||
<li><code>&lt;0.12.2</code></li>
|
||
|
||
</ul>
|
||
</dd>
|
||
|
||
<dt><code>vm_memory::volatile_memory::VolatileMemory::get_ref</code></dt>
|
||
<dd>
|
||
<ul>
|
||
|
||
<li><code>&lt;0.12.2</code></li>
|
||
|
||
</ul>
|
||
</dd>
|
||
|
||
</dl>
|
||
|
||
|
||
|
||
|
||
<h3 id="description">Description</h3>
|
||
<p>An issue was discovered in the default implementations of the <code>VolatileMemory::{get_atomic_ref, aligned_as_ref, aligned_as_mut, get_ref, get_array_ref}</code> trait functions, which allows out-of-bounds memory access if the <code>VolatileMemory::get_slice</code> function returns a <code>VolatileSlice</code> whose length is less than the function’s <code>count</code> argument. No implementations of <code>get_slice</code> provided in <code>vm_memory</code> are affected. Users of custom <code>VolatileMemory</code> implementations may be impacted if the custom implementation does not adhere to <code>get_slice</code>'s documentation.</p>
|
||
<p>The issue started in version 0.1.0 but was fixed in version 0.12.2 by inserting a check that verifies that the <code>VolatileSlice</code> returned by <code>get_slice</code> is of the correct length.</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-2023-0055: Unsoundness in lexical</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0055.html</id><updated>2023-09-03T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2023-0055.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0055: Unsoundness in lexical"/><published>2023-09-03T12:00:00+00:00</published><summary xml:lang="en">Multiple soundness issues</summary><content xml:lang="en" type="html"> <article>
|
||
|
||
<span class="floating-menu">
|
||
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/lexical/RUSTSEC-2023-0055.md">History</a> ⋅
|
||
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/lexical/RUSTSEC-2023-0055.md">Edit</a> ⋅
|
||
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2023-0055">JSON (OSV)</a>
|
||
</span>
|
||
|
||
|
||
<header>
|
||
<h1>
|
||
|
||
RUSTSEC-2023-0055
|
||
|
||
</h1>
|
||
<span class="subtitle"><p>Multiple soundness issues</p>
|
||
</span>
|
||
</header>
|
||
|
||
|
||
|
||
<dl>
|
||
<dt id="reported">Reported</dt>
|
||
<dd>
|
||
<time datetime="2023-09-03">
|
||
September 3, 2023
|
||
</time>
|
||
</dd>
|
||
|
||
<dt id="issued">Issued</dt>
|
||
<dd>
|
||
<time datetime="2023-09-03">
|
||
September 3, 2023
|
||
</time>
|
||
|
||
</dd>
|
||
|
||
<dt id="package">Package</dt>
|
||
<dd>
|
||
|
||
|
||
<a href="/packages/lexical.html">lexical</a>
|
||
(<a href="https://crates.io/crates/lexical">crates.io</a>)
|
||
|
||
|
||
</dd>
|
||
|
||
<dt id="type">Type</dt>
|
||
<dd>
|
||
|
||
<span class="tag info">INFO</span>
|
||
Unsound
|
||
|
||
</dd>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<dt id="details">References</dt>
|
||
<dd>
|
||
<ul>
|
||
|
||
|
||
<li>
|
||
<a href="https://github.com/Alexhuszagh/rust-lexical/issues/102">
|
||
https://github.com/Alexhuszagh/rust-lexical/issues/102
|
||
</a>
|
||
</li>
|
||
|
||
<li>
|
||
<a href="https://github.com/Alexhuszagh/rust-lexical/issues/101">
|
||
https://github.com/Alexhuszagh/rust-lexical/issues/101
|
||
</a>
|
||
</li>
|
||
|
||
<li>
|
||
<a href="https://github.com/Alexhuszagh/rust-lexical/issues/95">
|
||
https://github.com/Alexhuszagh/rust-lexical/issues/95
|
||
</a>
|
||
</li>
|
||
|
||
<li>
|
||
<a href="https://github.com/Alexhuszagh/rust-lexical/issues/104">
|
||
https://github.com/Alexhuszagh/rust-lexical/issues/104
|
||
</a>
|
||
</li>
|
||
|
||
</ul>
|
||
</dd>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<dt id="patched">Patched</dt>
|
||
<dd>
|
||
|
||
no patched versions
|
||
|
||
</dd>
|
||
|
||
|
||
|
||
|
||
|
||
</dl>
|
||
|
||
|
||
|
||
|
||
<h3 id="description">Description</h3>
|
||
<p><code>lexical</code> contains multiple soundness issues:</p>
|
||
<ol>
|
||
<li><a href="https://github.com/Alexhuszagh/rust-lexical/issues/102">Bytes::read() allows creating instances of types with invalid bit patterns</a></li>
|
||
<li><a href="https://github.com/Alexhuszagh/rust-lexical/issues/101">BytesIter::read() advances iterators out of bounds</a></li>
|
||
<li><a href="https://github.com/Alexhuszagh/rust-lexical/issues/104">The <code>BytesIter</code> trait has safety invariants but is public and not marked <code>unsafe</code></a></li>
|
||
<li><a href="https://github.com/Alexhuszagh/rust-lexical/issues/95"><code>write_float()</code> calls <code>MaybeUninit::assume_init()</code> on uninitialized data, which is is not allowed by the Rust abstract machine</a></li>
|
||
</ol>
|
||
<p>The crate also has some correctness issues and appears to be unmaintained.</p>
|
||
<h2>Alternatives</h2>
|
||
<p>For quickly parsing floating-point numbers third-party crates are no longer needed. A fast float parsing algorith by the author of <code>lexical</code> has been <a href="https://github.com/rust-lang/rust/pull/86761">merged</a> into libcore.</p>
|
||
<p>For quickly parsing integers, consider <code>atoi</code> and <code>btoi</code> crates (100% safe code). <code>atoi_radix10</code> provides even faster parsing, but only with <code>-C target-cpu=native</code>, and at the cost of some <code>unsafe</code>.</p>
|
||
<p>For formatting integers in a <code>#[no_std]</code> context consider the <a href="https://crates.io/crates/numtoa"><code>numtoa</code></a> crate.</p>
|
||
<p>For working with big numbers consider <code>num-bigint</code> and <code>num-traits</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-2023-0054: Vulnerability in mail-internals</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0054.html</id><updated>2023-08-27T12:00:00+00:00</updated><category term="memory-corruption"/><link href="https://rustsec.org/advisories/RUSTSEC-2023-0054.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0054: Vulnerability in mail-internals"/><published>2023-08-24T12:00:00+00:00</published><summary xml:lang="en">Use-after-free in `vec_insert_bytes`</summary><content xml:lang="en" type="html"> <article>
|
||
|
||
<span class="floating-menu">
|
||
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/mail-internals/RUSTSEC-2023-0054.md">History</a> ⋅
|
||
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/mail-internals/RUSTSEC-2023-0054.md">Edit</a> ⋅
|
||
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2023-0054">JSON (OSV)</a>
|
||
</span>
|
||
|
||
|
||
<header>
|
||
<h1>
|
||
|
||
RUSTSEC-2023-0054
|
||
|
||
</h1>
|
||
<span class="subtitle"><p>Use-after-free in <code>vec_insert_bytes</code></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-24">
|
||
August 24, 2023
|
||
</time>
|
||
|
||
<time datetime="2023-08-27">
|
||
(last modified: August 27, 2023)
|
||
</time>
|
||
|
||
</dd>
|
||
|
||
<dt id="package">Package</dt>
|
||
<dd>
|
||
|
||
|
||
<a href="/packages/mail-internals.html">mail-internals</a>
|
||
(<a href="https://crates.io/crates/mail-internals">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="keywords">Keywords</dt>
|
||
<dd>
|
||
|
||
<a href="/keywords/mail.html">#mail</a>
|
||
|
||
<a href="/keywords/mail-api.html">#mail-api</a>
|
||
|
||
</dd>
|
||
|
||
|
||
|
||
<dt id="aliases">Aliases</dt>
|
||
<dd>
|
||
<ul>
|
||
|
||
<li>
|
||
|
||
<a href="https://github.com/advisories/GHSA-rcx8-48pc-v9q8">GHSA-rcx8-48pc-v9q8</a>
|
||
|
||
</li>
|
||
|
||
</ul>
|
||
</dd>
|
||
|
||
|
||
|
||
<dt id="details">References</dt>
|
||
<dd>
|
||
<ul>
|
||
|
||
<li>
|
||
<a href="https://git.sr.ht/~nabijaczleweli/mail-internals.crate/commit/05443c864b204e7f1512caf2d53e8cce4dd340fc">
|
||
https://git.sr.ht/~nabijaczleweli/mail-internals.crate/commit/05443c864b204e7f1512caf2d53e8cce4dd340fc
|
||
</a>
|
||
</li>
|
||
|
||
|
||
</ul>
|
||
</dd>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<dt id="patched">Patched</dt>
|
||
<dd>
|
||
|
||
no patched versions
|
||
|
||
</dd>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
</dl>
|
||
|
||
|
||
|
||
<dl>
|
||
<dt>Affected Functions</dt>
|
||
<dd>Version</dd>
|
||
|
||
<dt><code>mail_internals::utils::vec_insert_bytes</code></dt>
|
||
<dd>
|
||
<ul>
|
||
|
||
<li><code>&gt;=0.2.0</code></li>
|
||
|
||
</ul>
|
||
</dd>
|
||
|
||
</dl>
|
||
|
||
|
||
|
||
|
||
<h3 id="description">Description</h3>
|
||
<p>Incorrect reallocation logic in the function <a href="https://docs.rs/mail-internals/0.2.3/mail_internals/utils/fn.vec_insert_bytes.html"><code>vec_insert_bytes</code></a> causes a use-after-free.</p>
|
||
<p>This function does not have to be called directly to trigger the vulnerability because many methods on <a href="https://docs.rs/mail-internals/0.2.3/mail_internals/encoder/struct.EncodingWriter.html"><code>EncodingWriter</code></a> call this function internally.</p>
|
||
<p>The mail-* suite is unmaintained and the upstream sources have been actively vandalised.
|
||
A fixed <code>mail-internals-ng</code> (and <code>mail-headers-ng</code> and <code>mail-core-ng</code>) crate has been published which fixes this, and a dependency on another unsound crate.</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-2023-0052: Vulnerability in webpki</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0052.html</id><updated>2023-08-30T12:00:00+00:00</updated><category term="denial-of-service"/><link href="https://rustsec.org/advisories/RUSTSEC-2023-0052.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0052: Vulnerability in webpki"/><published>2023-08-22T12:00:00+00:00</published><summary xml:lang="en">webpki: CPU denial of service in certificate path building</summary><content xml:lang="en" type="html"> <article>
|
||
|
||
<span class="floating-menu">
|
||
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/webpki/RUSTSEC-2023-0052.md">History</a> ⋅
|
||
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/webpki/RUSTSEC-2023-0052.md">Edit</a> ⋅
|
||
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2023-0052">JSON (OSV)</a>
|
||
</span>
|
||
|
||
|
||
<header>
|
||
<h1>
|
||
|
||
RUSTSEC-2023-0052
|
||
|
||
</h1>
|
||
<span class="subtitle"><p>webpki: CPU denial of service in certificate path building</p>
|
||
</span>
|
||
</header>
|
||
|
||
|
||
|
||
<dl>
|
||
<dt id="reported">Reported</dt>
|
||
<dd>
|
||
<time datetime="2023-08-22">
|
||
August 22, 2023
|
||
</time>
|
||
</dd>
|
||
|
||
<dt id="issued">Issued</dt>
|
||
<dd>
|
||
<time datetime="2023-08-22">
|
||
August 22, 2023
|
||
</time>
|
||
|
||
<time datetime="2023-08-30">
|
||
(last modified: August 30, 2023)
|
||
</time>
|
||
|
||
</dd>
|
||
|
||
<dt id="package">Package</dt>
|
||
<dd>
|
||
|
||
|
||
<a href="/packages/webpki.html">webpki</a>
|
||
(<a href="https://crates.io/crates/webpki">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/certificate.html">#certificate</a>
|
||
|
||
<a href="/keywords/path-building.html">#path-building</a>
|
||
|
||
<a href="/keywords/x509.html">#x509</a>
|
||
|
||
</dd>
|
||
|
||
|
||
|
||
<dt id="aliases">Aliases</dt>
|
||
<dd>
|
||
<ul>
|
||
|
||
<li>
|
||
|
||
<a href="https://github.com/advisories/GHSA-8qv2-5vq6-g2g7">GHSA-8qv2-5vq6-g2g7</a>
|
||
|
||
</li>
|
||
|
||
</ul>
|
||
</dd>
|
||
|
||
|
||
|
||
|
||
|
||
<dt id="related">Related</dt>
|
||
<dd>
|
||
<ul>
|
||
|
||
<li>
|
||
|
||
<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16875">CVE-2018-16875</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.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H">CVSS:3.0/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.22.1</code></li>
|
||
|
||
</ul>
|
||
|
||
</dd>
|
||
|
||
|
||
|
||
|
||
|
||
</dl>
|
||
|
||
|
||
|
||
|
||
<h3 id="description">Description</h3>
|
||
<p>When this crate is given a pathological certificate chain to validate, it will
|
||
spend CPU time exponential with the number of candidate certificates at each
|
||
step of path building.</p>
|
||
<p>Both TLS clients and TLS servers that accept client certificate are affected.</p>
|
||
<p>This was previously reported in
|
||
<a href="https://github.com/briansmith/webpki/issues/69">https://github.com/briansmith/webpki/issues/69</a> and re-reported recently
|
||
by Luke Malinowski.</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-2023-0053: Vulnerability in rustls-webpki</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0053.html</id><updated>2023-08-27T12:00:00+00:00</updated><category term="denial-of-service"/><link href="https://rustsec.org/advisories/RUSTSEC-2023-0053.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0053: Vulnerability in rustls-webpki"/><published>2023-08-22T12:00:00+00:00</published><summary xml:lang="en">rustls-webpki: CPU denial of service in certificate path building</summary><content xml:lang="en" type="html"> <article>
|
||
|
||
<span class="floating-menu">
|
||
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/rustls-webpki/RUSTSEC-2023-0053.md">History</a> ⋅
|
||
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/rustls-webpki/RUSTSEC-2023-0053.md">Edit</a> ⋅
|
||
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2023-0053">JSON (OSV)</a>
|
||
</span>
|
||
|
||
|
||
<header>
|
||
<h1>
|
||
|
||
RUSTSEC-2023-0053
|
||
|
||
</h1>
|
||
<span class="subtitle"><p>rustls-webpki: CPU denial of service in certificate path building</p>
|
||
</span>
|
||
</header>
|
||
|
||
|
||
|
||
<dl>
|
||
<dt id="reported">Reported</dt>
|
||
<dd>
|
||
<time datetime="2023-08-22">
|
||
August 22, 2023
|
||
</time>
|
||
</dd>
|
||
|
||
<dt id="issued">Issued</dt>
|
||
<dd>
|
||
<time datetime="2023-08-22">
|
||
August 22, 2023
|
||
</time>
|
||
|
||
<time datetime="2023-08-27">
|
||
(last modified: August 27, 2023)
|
||
</time>
|
||
|
||
</dd>
|
||
|
||
<dt id="package">Package</dt>
|
||
<dd>
|
||
|
||
|
||
<a href="/packages/rustls-webpki.html">rustls-webpki</a>
|
||
(<a href="https://crates.io/crates/rustls-webpki">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/certificate.html">#certificate</a>
|
||
|
||
<a href="/keywords/path-building.html">#path-building</a>
|
||
|
||
<a href="/keywords/x509.html">#x509</a>
|
||
|
||
</dd>
|
||
|
||
|
||
|
||
<dt id="aliases">Aliases</dt>
|
||
<dd>
|
||
<ul>
|
||
|
||
<li>
|
||
|
||
<a href="https://github.com/advisories/GHSA-fh2r-99q2-6mmg">GHSA-fh2r-99q2-6mmg</a>
|
||
|
||
</li>
|
||
|
||
</ul>
|
||
</dd>
|
||
|
||
|
||
|
||
|
||
|
||
<dt id="related">Related</dt>
|
||
<dd>
|
||
<ul>
|
||
|
||
<li>
|
||
|
||
<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16875">CVE-2018-16875</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.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H">CVSS:3.0/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.100.2, &lt;0.101.0</code></li>
|
||
|
||
<li><code>&gt;=0.101.4</code></li>
|
||
|
||
</ul>
|
||
|
||
</dd>
|
||
|
||
|
||
|
||
|
||
|
||
</dl>
|
||
|
||
|
||
|
||
|
||
<h3 id="description">Description</h3>
|
||
<p>When this crate is given a pathological certificate chain to validate, it will
|
||
spend CPU time exponential with the number of candidate certificates at each
|
||
step of path building.</p>
|
||
<p>Both TLS clients and TLS servers that accept client certificate are affected.</p>
|
||
<p>We now give each path building operation a budget of 100 signature verifications.</p>
|
||
<p>The original <code>webpki</code> crate is also affected.</p>
|
||
<p>This was previously reported in the original crate
|
||
<a href="https://github.com/briansmith/webpki/issues/69">https://github.com/briansmith/webpki/issues/69</a> and re-reported to us
|
||
recently by Luke Malinowski.</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-2023-0051: dlopen_derive is unmaintained</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0051.html</id><updated>2023-08-19T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2023-0051.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0051: dlopen_derive is unmaintained"/><published>2023-08-19T12:00:00+00:00</published><summary xml:lang="en">`dlopen_derive` 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/dlopen_derive/RUSTSEC-2023-0051.md">History</a> ⋅
|
||
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/dlopen_derive/RUSTSEC-2023-0051.md">Edit</a> ⋅
|
||
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2023-0051">JSON (OSV)</a>
|
||
</span>
|
||
|
||
|
||
<header>
|
||
<h1>
|
||
|
||
RUSTSEC-2023-0051
|
||
|
||
</h1>
|
||
<span class="subtitle"><p><code>dlopen_derive</code> is unmaintained</p>
|
||
</span>
|
||
</header>
|
||
|
||
|
||
|
||
<dl>
|
||
<dt id="reported">Reported</dt>
|
||
<dd>
|
||
<time datetime="2023-07-30">
|
||
July 30, 2023
|
||
</time>
|
||
</dd>
|
||
|
||
<dt id="issued">Issued</dt>
|
||
<dd>
|
||
<time datetime="2023-08-19">
|
||
August 19, 2023
|
||
</time>
|
||
|
||
</dd>
|
||
|
||
<dt id="package">Package</dt>
|
||
<dd>
|
||
|
||
|
||
<a href="/packages/dlopen_derive.html">dlopen_derive</a>
|
||
(<a href="https://crates.io/crates/dlopen_derive">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/szymonwieloch/rust-dlopen/issues/47">
|
||
https://github.com/szymonwieloch/rust-dlopen/issues/47
|
||
</a>
|
||
</li>
|
||
|
||
|
||
</ul>
|
||
</dd>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<dt id="patched">Patched</dt>
|
||
<dd>
|
||
|
||
no patched versions
|
||
|
||
</dd>
|
||
|
||
|
||
|
||
|
||
|
||
</dl>
|
||
|
||
|
||
|
||
|
||
<h3 id="description">Description</h3>
|
||
<p><code>dlopen_derive</code> hasn't been updated since June 9, 2019.</p>
|
||
<p><code>dlopen_derive</code> depends on <a href="https://github.com/dtolnay/quote/releases/tag/0.6.12"><code>quote = &quot;0.6.12&quot;</code></a> and <a href="https://github.com/dtolnay/syn/releases/tag/0.15.34"><code>syn = &quot;0.15.34&quot;</code></a>. Versions <code>1.0.0</code> of these dependencies were published on August 13, 2019. The <code>0.*</code> versions haven't received updates since.</p>
|
||
<p>Note that <code>dlopen</code> is an unmaintained crate from the same repository as <code>dlopen_derive</code>. However, migrating away from <code>dlopen_derive</code> implies migrating away from <code>dlopen</code>, as well.</p>
|
||
<h2>Recommended alternatives</h2>
|
||
<ul>
|
||
<li><a href="https://github.com/OpenByteDev/dlopen2"><code>dlopen2_derive</code></a> (and <code>dlopen2</code>)</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-2023-0050: multipart is unmaintained</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0050.html</id><updated>2023-08-18T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2023-0050.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0050: multipart is unmaintained"/><published>2023-08-18T12:00:00+00:00</published><summary xml:lang="en">multipart 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/multipart/RUSTSEC-2023-0050.md">History</a> ⋅
|
||
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/multipart/RUSTSEC-2023-0050.md">Edit</a> ⋅
|
||
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2023-0050">JSON (OSV)</a>
|
||
</span>
|
||
|
||
|
||
<header>
|
||
<h1>
|
||
|
||
RUSTSEC-2023-0050
|
||
|
||
</h1>
|
||
<span class="subtitle"><p>multipart is Unmaintained</p>
|
||
</span>
|
||
</header>
|
||
|
||
|
||
|
||
<dl>
|
||
<dt id="reported">Reported</dt>
|
||
<dd>
|
||
<time datetime="2023-04-11">
|
||
April 11, 2023
|
||
</time>
|
||
</dd>
|
||
|
||
<dt id="issued">Issued</dt>
|
||
<dd>
|
||
<time datetime="2023-08-18">
|
||
August 18, 2023
|
||
</time>
|
||
|
||
</dd>
|
||
|
||
<dt id="package">Package</dt>
|
||
<dd>
|
||
|
||
|
||
<a href="/packages/multipart.html">multipart</a>
|
||
(<a href="https://crates.io/crates/multipart">crates.io</a>)
|
||
|
||
|
||
</dd>
|
||
|
||
<dt id="type">Type</dt>
|
||
<dd>
|
||
|
||
<span class="tag info">INFO</span>
|
||
Unmaintained
|
||
|
||
</dd>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<dt id="patched">Patched</dt>
|
||
<dd>
|
||
|
||
no patched versions
|
||
|
||
</dd>
|
||
|
||
|
||
|
||
|
||
|
||
</dl>
|
||
|
||
|
||
|
||
|
||
<h3 id="description">Description</h3>
|
||
<p>The <code>multipart</code> crate is unmaintained. The author has archived the github
|
||
repository.</p>
|
||
<p>Alternatives:</p>
|
||
<ul>
|
||
<li><a href="https://crates.io/crates/multer">multer</a></li>
|
||
<li><a href="https://crates.io/crates/multiparty">multiparty</a></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-2022-0093: Vulnerability in ed25519-dalek</title><id>https://rustsec.org/advisories/RUSTSEC-2022-0093.html</id><updated>2023-08-27T12: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> ⋅
|
||
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2022-0093">JSON (OSV)</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>
|
||
|
||
<time datetime="2023-08-27">
|
||
(last modified: August 27, 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="aliases">Aliases</dt>
|
||
<dd>
|
||
<ul>
|
||
|
||
<li>
|
||
|
||
<a href="https://github.com/advisories/GHSA-w5vr-6qhr-36cc">GHSA-w5vr-6qhr-36cc</a>
|
||
|
||
</li>
|
||
|
||
</ul>
|
||
</dd>
|
||
|
||
|
||
|
||
<dt id="details">References</dt>
|
||
<dd>
|
||
<ul>
|
||
|
||
<li>
|
||
<a href="https://github.com/MystenLabs/ed25519-unsafe-libs">
|
||
https://github.com/MystenLabs/ed25519-unsafe-libs
|
||
</a>
|
||
</li>
|
||
|
||
|
||
</ul>
|
||
</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>
|
||
|
||
|
||
<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-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> ⋅
|
||
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2023-0049">JSON (OSV)</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">References</dt>
|
||
<dd>
|
||
<ul>
|
||
|
||
<li>
|
||
<a href="https://github.com/fdehau/tui-rs/issues/654">
|
||
https://github.com/fdehau/tui-rs/issues/654
|
||
</a>
|
||
</li>
|
||
|
||
|
||
</ul>
|
||
</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>
|
||
|
||
|
||
<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-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-27T12: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> ⋅
|
||
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2023-0048">JSON (OSV)</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-27">
|
||
July 27, 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">References</dt>
|
||
<dd>
|
||
<ul>
|
||
|
||
<li>
|
||
<a href="https://github.com/artichoke/intaglio/pull/236">
|
||
https://github.com/artichoke/intaglio/pull/236
|
||
</a>
|
||
</li>
|
||
|
||
|
||
<li>
|
||
<a href="https://github.com/artichoke/intaglio/issues/235">
|
||
https://github.com/artichoke/intaglio/issues/235
|
||
</a>
|
||
</li>
|
||
|
||
<li>
|
||
<a href="https://github.com/artichoke/intaglio/pull/236">
|
||
https://github.com/artichoke/intaglio/pull/236
|
||
</a>
|
||
</li>
|
||
|
||
<li>
|
||
<a href="https://github.com/artichoke/intaglio/releases/tag/v1.9.0">
|
||
https://github.com/artichoke/intaglio/releases/tag/v1.9.0
|
||
</a>
|
||
</li>
|
||
|
||
</ul>
|
||
</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>
|
||
|
||
|
||
<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> |