mirror of
https://github.com/rustsec/advisory-db.git
synced 2026-11-30 18:04:31 -06:00
1587 lines
53 KiB
XML
1587 lines
53 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-13T12: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-0061: Vulnerability in libwebp-sys</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0061.html</id><updated>2023-09-13T12:00:00+00:00</updated><category term="memory-corruption"/><link href="https://rustsec.org/advisories/RUSTSEC-2023-0061.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0061: Vulnerability in libwebp-sys"/><published>2023-09-13T12:00:00+00:00</published><summary xml:lang="en">libwebp: OOB write in BuildHuffmanTable</summary><content xml:lang="en" type="html"> <article>
|
||
|
||
<span class="floating-menu">
|
||
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/libwebp-sys/RUSTSEC-2023-0061.md">History</a> ⋅
|
||
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/libwebp-sys/RUSTSEC-2023-0061.md">Edit</a> ⋅
|
||
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2023-0061">JSON (OSV)</a>
|
||
</span>
|
||
|
||
|
||
<header>
|
||
<h1>
|
||
|
||
RUSTSEC-2023-0061
|
||
|
||
</h1>
|
||
<span class="subtitle"><p>libwebp: OOB write in BuildHuffmanTable</p>
|
||
</span>
|
||
</header>
|
||
|
||
|
||
|
||
<dl>
|
||
<dt id="reported">Reported</dt>
|
||
<dd>
|
||
<time datetime="2023-09-12">
|
||
September 12, 2023
|
||
</time>
|
||
</dd>
|
||
|
||
<dt id="issued">Issued</dt>
|
||
<dd>
|
||
<time datetime="2023-09-13">
|
||
September 13, 2023
|
||
</time>
|
||
|
||
</dd>
|
||
|
||
<dt id="package">Package</dt>
|
||
<dd>
|
||
|
||
|
||
<a href="/packages/libwebp-sys.html">libwebp-sys</a>
|
||
(<a href="https://crates.io/crates/libwebp-sys">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/webp.html">#webp</a>
|
||
|
||
</dd>
|
||
|
||
|
||
|
||
<dt id="aliases">Aliases</dt>
|
||
<dd>
|
||
<ul>
|
||
|
||
<li>
|
||
|
||
<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-4863">CVE-2023-4863</a>
|
||
|
||
</li>
|
||
|
||
</ul>
|
||
</dd>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<dt id="patched">Patched</dt>
|
||
<dd>
|
||
|
||
<ul>
|
||
|
||
<li><code>&gt;=0.9.3</code></li>
|
||
|
||
</ul>
|
||
|
||
</dd>
|
||
|
||
|
||
|
||
|
||
|
||
</dl>
|
||
|
||
|
||
|
||
|
||
<h3 id="description">Description</h3>
|
||
<p><a href="https://chromereleases.googleblog.com/2023/09/stable-channel-update-for-desktop_11.html">Google</a> and <a href="https://www.mozilla.org/en-US/security/advisories/mfsa2023-40/">Mozilla</a> have released security advisories for RCE due to heap overflow in libwebp. Google warns the vulnerability has been exploited in the wild.</p>
|
||
<p>libwebp needs to be updated to include a patch for &quot;OOB write in BuildHuffmanTable&quot;.</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-0060: Vulnerability in libwebp-sys2</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0060.html</id><updated>2023-09-13T12:00:00+00:00</updated><category term="memory-corruption"/><link href="https://rustsec.org/advisories/RUSTSEC-2023-0060.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0060: Vulnerability in libwebp-sys2"/><published>2023-09-13T12:00:00+00:00</published><summary xml:lang="en">libwebp: OOB write in BuildHuffmanTable</summary><content xml:lang="en" type="html"> <article>
|
||
|
||
<span class="floating-menu">
|
||
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/libwebp-sys2/RUSTSEC-2023-0060.md">History</a> ⋅
|
||
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/libwebp-sys2/RUSTSEC-2023-0060.md">Edit</a> ⋅
|
||
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2023-0060">JSON (OSV)</a>
|
||
</span>
|
||
|
||
|
||
<header>
|
||
<h1>
|
||
|
||
RUSTSEC-2023-0060
|
||
|
||
</h1>
|
||
<span class="subtitle"><p>libwebp: OOB write in BuildHuffmanTable</p>
|
||
</span>
|
||
</header>
|
||
|
||
|
||
|
||
<dl>
|
||
<dt id="reported">Reported</dt>
|
||
<dd>
|
||
<time datetime="2023-09-12">
|
||
September 12, 2023
|
||
</time>
|
||
</dd>
|
||
|
||
<dt id="issued">Issued</dt>
|
||
<dd>
|
||
<time datetime="2023-09-13">
|
||
September 13, 2023
|
||
</time>
|
||
|
||
</dd>
|
||
|
||
<dt id="package">Package</dt>
|
||
<dd>
|
||
|
||
|
||
<a href="/packages/libwebp-sys2.html">libwebp-sys2</a>
|
||
(<a href="https://crates.io/crates/libwebp-sys2">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/webp.html">#webp</a>
|
||
|
||
</dd>
|
||
|
||
|
||
|
||
<dt id="aliases">Aliases</dt>
|
||
<dd>
|
||
<ul>
|
||
|
||
<li>
|
||
|
||
<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-4863">CVE-2023-4863</a>
|
||
|
||
</li>
|
||
|
||
</ul>
|
||
</dd>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<dt id="patched">Patched</dt>
|
||
<dd>
|
||
|
||
<ul>
|
||
|
||
<li><code>&gt;=0.1.8</code></li>
|
||
|
||
</ul>
|
||
|
||
</dd>
|
||
|
||
|
||
|
||
|
||
|
||
</dl>
|
||
|
||
|
||
|
||
|
||
<h3 id="description">Description</h3>
|
||
<p><a href="https://chromereleases.googleblog.com/2023/09/stable-channel-update-for-desktop_11.html">Google</a> and <a href="https://www.mozilla.org/en-US/security/advisories/mfsa2023-40/">Mozilla</a> have released security advisories for RCE due to heap overflow in libwebp. Google warns the vulnerability has been exploited in the wild.</p>
|
||
<p>libwebp needs to be updated to include a patch for &quot;OOB write in BuildHuffmanTable&quot;.</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-0058: Unsoundness in inventory</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0058.html</id><updated>2023-09-10T12:00:00+00:00</updated><category term="thread-safety"/><link href="https://rustsec.org/advisories/RUSTSEC-2023-0058.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0058: Unsoundness in inventory"/><published>2023-09-10T12:00:00+00:00</published><summary xml:lang="en">Exposes reference to non-Sync data to an arbitrary thread</summary><content xml:lang="en" type="html"> <article>
|
||
|
||
<span class="floating-menu">
|
||
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/inventory/RUSTSEC-2023-0058.md">History</a> ⋅
|
||
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/inventory/RUSTSEC-2023-0058.md">Edit</a> ⋅
|
||
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2023-0058">JSON (OSV)</a>
|
||
</span>
|
||
|
||
|
||
<header>
|
||
<h1>
|
||
|
||
RUSTSEC-2023-0058
|
||
|
||
</h1>
|
||
<span class="subtitle"><p>Exposes reference to non-Sync data to an arbitrary thread</p>
|
||
</span>
|
||
</header>
|
||
|
||
|
||
|
||
<dl>
|
||
<dt id="reported">Reported</dt>
|
||
<dd>
|
||
<time datetime="2023-09-10">
|
||
September 10, 2023
|
||
</time>
|
||
</dd>
|
||
|
||
<dt id="issued">Issued</dt>
|
||
<dd>
|
||
<time datetime="2023-09-10">
|
||
September 10, 2023
|
||
</time>
|
||
|
||
</dd>
|
||
|
||
<dt id="package">Package</dt>
|
||
<dd>
|
||
|
||
|
||
<a href="/packages/inventory.html">inventory</a>
|
||
(<a href="https://crates.io/crates/inventory">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/thread-safety.html">thread-safety</a></li>
|
||
|
||
</ul>
|
||
</dd>
|
||
|
||
|
||
|
||
<dt id="keywords">Keywords</dt>
|
||
<dd>
|
||
|
||
<a href="/keywords/life-before-main.html">#life-before-main</a>
|
||
|
||
</dd>
|
||
|
||
|
||
|
||
|
||
|
||
<dt id="details">References</dt>
|
||
<dd>
|
||
<ul>
|
||
|
||
<li>
|
||
<a href="https://github.com/dtolnay/inventory/pull/42">
|
||
https://github.com/dtolnay/inventory/pull/42
|
||
</a>
|
||
</li>
|
||
|
||
|
||
</ul>
|
||
</dd>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<dt id="patched">Patched</dt>
|
||
<dd>
|
||
|
||
<ul>
|
||
|
||
<li><code>&gt;=0.2.0</code></li>
|
||
|
||
</ul>
|
||
|
||
</dd>
|
||
|
||
|
||
|
||
|
||
|
||
</dl>
|
||
|
||
|
||
|
||
|
||
<h3 id="description">Description</h3>
|
||
<p>Affected versions do not enforce a <code>Sync</code> bound on the type of caller-provided
|
||
value held in the plugin registry. References to these values are made
|
||
accessible to arbitrary threads other than the one that constructed them.</p>
|
||
<p>A caller could use this flaw to submit thread-unsafe data into inventory, then
|
||
access it as a reference simultaneously from multiple threads.</p>
|
||
<p>The flaw was corrected by enforcing that data submitted by the caller into
|
||
inventory is <code>Sync</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-0057: Unsoundness in inventory</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0057.html</id><updated>2023-09-10T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2023-0057.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0057: Unsoundness in inventory"/><published>2023-09-10T12:00:00+00:00</published><summary xml:lang="en">Fails to prohibit standard library access prior to initialization of Rust standard library runtime</summary><content xml:lang="en" type="html"> <article>
|
||
|
||
<span class="floating-menu">
|
||
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/inventory/RUSTSEC-2023-0057.md">History</a> ⋅
|
||
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/inventory/RUSTSEC-2023-0057.md">Edit</a> ⋅
|
||
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2023-0057">JSON (OSV)</a>
|
||
</span>
|
||
|
||
|
||
<header>
|
||
<h1>
|
||
|
||
RUSTSEC-2023-0057
|
||
|
||
</h1>
|
||
<span class="subtitle"><p>Fails to prohibit standard library access prior to initialization of Rust standard library runtime</p>
|
||
</span>
|
||
</header>
|
||
|
||
|
||
|
||
<dl>
|
||
<dt id="reported">Reported</dt>
|
||
<dd>
|
||
<time datetime="2023-09-10">
|
||
September 10, 2023
|
||
</time>
|
||
</dd>
|
||
|
||
<dt id="issued">Issued</dt>
|
||
<dd>
|
||
<time datetime="2023-09-10">
|
||
September 10, 2023
|
||
</time>
|
||
|
||
</dd>
|
||
|
||
<dt id="package">Package</dt>
|
||
<dd>
|
||
|
||
|
||
<a href="/packages/inventory.html">inventory</a>
|
||
(<a href="https://crates.io/crates/inventory">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/life-before-main.html">#life-before-main</a>
|
||
|
||
</dd>
|
||
|
||
|
||
|
||
|
||
|
||
<dt id="details">References</dt>
|
||
<dd>
|
||
<ul>
|
||
|
||
<li>
|
||
<a href="https://github.com/dtolnay/inventory/pull/43">
|
||
https://github.com/dtolnay/inventory/pull/43
|
||
</a>
|
||
</li>
|
||
|
||
|
||
</ul>
|
||
</dd>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<dt id="patched">Patched</dt>
|
||
<dd>
|
||
|
||
<ul>
|
||
|
||
<li><code>&gt;=0.2.0</code></li>
|
||
|
||
</ul>
|
||
|
||
</dd>
|
||
|
||
|
||
|
||
|
||
|
||
</dl>
|
||
|
||
|
||
|
||
|
||
<h3 id="description">Description</h3>
|
||
<p>Affected versions allow arbitrary caller-provided code to execute before the
|
||
lifetime of <code>main</code>.</p>
|
||
<p>If the caller-provided code accesses particular pieces of the standard library
|
||
that require an initialized Rust runtime, such as <code>std::io</code> or <code>std::thread</code>,
|
||
these may not behave as documented. Panics are likely; UB is possible.</p>
|
||
<p>The flaw was corrected by enforcing that only code written within the
|
||
<code>inventory</code> crate, which is guaranteed not to access runtime-dependent parts of
|
||
the standard library, runs before <code>main</code>. Caller-provided code is restricted to
|
||
running at compile time.</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-0059: Unsoundness in users</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0059.html</id><updated>2023-09-12T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2023-0059.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0059: Unsoundness in users"/><published>2023-09-10T12:00:00+00:00</published><summary xml:lang="en">Unaligned read of `*const *const c_char` pointer</summary><content xml:lang="en" type="html"> <article>
|
||
|
||
<span class="floating-menu">
|
||
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/users/RUSTSEC-2023-0059.md">History</a> ⋅
|
||
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/users/RUSTSEC-2023-0059.md">Edit</a> ⋅
|
||
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2023-0059">JSON (OSV)</a>
|
||
</span>
|
||
|
||
|
||
<header>
|
||
<h1>
|
||
|
||
RUSTSEC-2023-0059
|
||
|
||
</h1>
|
||
<span class="subtitle"><p>Unaligned read of <code>*const *const c_char</code> pointer</p>
|
||
</span>
|
||
</header>
|
||
|
||
|
||
|
||
<dl>
|
||
<dt id="reported">Reported</dt>
|
||
<dd>
|
||
<time datetime="2023-09-10">
|
||
September 10, 2023
|
||
</time>
|
||
</dd>
|
||
|
||
<dt id="issued">Issued</dt>
|
||
<dd>
|
||
<time datetime="2023-09-10">
|
||
September 10, 2023
|
||
</time>
|
||
|
||
<time datetime="2023-09-12">
|
||
(last modified: September 12, 2023)
|
||
</time>
|
||
|
||
</dd>
|
||
|
||
<dt id="package">Package</dt>
|
||
<dd>
|
||
|
||
|
||
<a href="/packages/users.html">users</a>
|
||
(<a href="https://crates.io/crates/users">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/unaligned-read.html">#unaligned-read</a>
|
||
|
||
</dd>
|
||
|
||
|
||
|
||
|
||
|
||
<dt id="details">References</dt>
|
||
<dd>
|
||
<ul>
|
||
|
||
<li>
|
||
<a href="https://github.com/ogham/rust-users/issues/55">
|
||
https://github.com/ogham/rust-users/issues/55
|
||
</a>
|
||
</li>
|
||
|
||
|
||
</ul>
|
||
</dd>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<dt id="patched">Patched</dt>
|
||
<dd>
|
||
|
||
no patched versions
|
||
|
||
</dd>
|
||
|
||
|
||
|
||
|
||
|
||
</dl>
|
||
|
||
|
||
|
||
|
||
<h3 id="description">Description</h3>
|
||
<p>Affected versions dereference a potentially unaligned pointer. The pointer is
|
||
commonly unaligned in practice, resulting in undefined behavior.</p>
|
||
<p>In some build modes, this is observable as a panic followed by abort. In other
|
||
build modes the UB may manifest in some other way, including the possibility of
|
||
working correctly in some architectures.</p>
|
||
<p>The crate is not currently maintained, so a patched version is not available.</p>
|
||
<h2>Recommended alternatives</h2>
|
||
<ul>
|
||
<li><a href="https://crates.io/crates/uzers"><code>uzers</code></a> (an actively maintained fork of the <code>users</code> crate)</li>
|
||
<li><a href="https://crates.io/crates/sysinfo"><code>sysinfo</code></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-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></feed> |