mirror of
https://github.com/rustsec/advisory-db.git
synced 2026-11-30 13:34:32 -06:00
1515 lines
51 KiB
XML
1515 lines
51 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>2025-09-02T12: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-2025-0055: Vulnerability in tracing-subscriber</title><id>https://rustsec.org/advisories/RUSTSEC-2025-0055.html</id><updated>2025-09-02T12:00:00+00:00</updated><category term="format-injection"/><link href="https://rustsec.org/advisories/RUSTSEC-2025-0055.html" rel="alternate" type="text/html" title="RUSTSEC-2025-0055: Vulnerability in tracing-subscriber"/><published>2025-09-02T12:00:00+00:00</published><summary xml:lang="en">Logging user input may result in poisoning logs with ANSI escape sequences</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/tracing-subscriber/RUSTSEC-2025-0055.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/tracing-subscriber/RUSTSEC-2025-0055.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2025-0055">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2025-0055
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Logging user input may result in poisoning logs with ANSI escape sequences</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2025-08-29">
|
|
August 29, 2025
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2025-09-02">
|
|
September 2, 2025
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/tracing-subscriber.html">tracing-subscriber</a>
|
|
(<a href="https://crates.io/crates/tracing-subscriber">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
Vulnerability
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="categories">Categories</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><a href="/categories/format-injection.html">format-injection</a></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-58160">CVE-2025-58160</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-xwfj-jgwm-7wp5">GHSA-xwfj-jgwm-7wp5</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/advisories/GHSA-xwfj-jgwm-7wp5">
|
|
https://github.com/advisories/GHSA-xwfj-jgwm-7wp5
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&#62;=0.3.20</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>Previous versions of tracing-subscriber were vulnerable to ANSI escape sequence injection attacks. Untrusted user input containing ANSI escape sequences could be injected into terminal output when logged, potentially allowing attackers to:</p>
|
|
<ul>
|
|
<li>Manipulate terminal title bars</li>
|
|
<li>Clear screens or modify terminal display</li>
|
|
<li>Potentially mislead users through terminal manipulation</li>
|
|
</ul>
|
|
<p>In isolation, impact is minimal, however security issues have been found in terminal emulators that enabled an attacker to use ANSI escape sequences via logs to exploit vulnerabilities in the terminal emulator.</p>
|
|
<p>This was patched in <a href="https://github.com/tokio-rs/tracing/pull/3368">PR #3368</a> to escape ANSI control characters from user input.</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-2025-0054: Vulnerability in array-queue</title><id>https://rustsec.org/advisories/RUSTSEC-2025-0054.html</id><updated>2025-09-01T12:00:00+00:00</updated><category term="memory-corruption"/><link href="https://rustsec.org/advisories/RUSTSEC-2025-0054.html" rel="alternate" type="text/html" title="RUSTSEC-2025-0054: Vulnerability in array-queue"/><published>2025-09-01T12:00:00+00:00</published><summary xml:lang="en">ArrayQueue::push_front is not panic-safe</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/array-queue/RUSTSEC-2025-0054.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/array-queue/RUSTSEC-2025-0054.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2025-0054">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2025-0054
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>ArrayQueue::push_front is not panic-safe</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2025-08-14">
|
|
August 14, 2025
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2025-09-01">
|
|
September 1, 2025
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/array-queue.html">array-queue</a>
|
|
(<a href="https://crates.io/crates/array-queue">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/memory-safety.html">#memory-safety</a>
|
|
|
|
<a href="/keywords/panic-safety.html">#panic-safety</a>
|
|
|
|
<a href="/keywords/uninitialized-memory.html">#uninitialized-memory</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/raviqqe/array-queue/issues/3">
|
|
https://github.com/raviqqe/array-queue/issues/3
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&#62;=0.4.0</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="unaffected">Unaffected</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#60;0.3.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt>Affected Functions</dt>
|
|
<dd>Version</dd>
|
|
|
|
<dt><code>array_queue::ArrayQueue::push_front</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#62;=0.3.0, &#60;=0.3.3</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The safe API <code>array_queue::ArrayQueue::push_front</code> can lead to deallocating uninitialized memory if a panic occurs while invoking the <code>clone</code> method on the passed argument.</p>
|
|
<p>Specifically, <code>push_front</code> receives an argument that is intended to be cloned and pushed, whose type implements the <code>Clone</code> trait. Furthermore, the method updates the queue's <code>start</code> index before initializing the slot for the newly pushed element. User-defined implementations of <code>Clone</code> may include a <code>clone</code> method that can panic. If such a panic occurs during initialization, the structure is left with an advanced <code>start</code> index pointing to an uninitialized slot. When <code>ArrayQueue</code> is later dropped, its destructor treats that slot as initialized and attempts to drop it, resulting in an attempt to free uninitialized memory.</p>
|
|
<p>The bug was fixed in commit <code>728fe1b</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-2025-0053: Vulnerability in arenavec</title><id>https://rustsec.org/advisories/RUSTSEC-2025-0053.html</id><updated>2025-09-01T12:00:00+00:00</updated><category term="memory-corruption"/><link href="https://rustsec.org/advisories/RUSTSEC-2025-0053.html" rel="alternate" type="text/html" title="RUSTSEC-2025-0053: Vulnerability in arenavec"/><published>2025-09-01T12:00:00+00:00</published><summary xml:lang="en">Multiple memory corruption vulnerabilities in safe APIs</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/arenavec/RUSTSEC-2025-0053.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/arenavec/RUSTSEC-2025-0053.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2025-0053">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2025-0053
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Multiple memory corruption vulnerabilities in safe APIs</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2025-08-14">
|
|
August 14, 2025
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2025-09-01">
|
|
September 1, 2025
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/arenavec.html">arenavec</a>
|
|
(<a href="https://crates.io/crates/arenavec">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/memory-safety.html">#memory-safety</a>
|
|
|
|
<a href="/keywords/buffer-overflow.html">#buffer-overflow</a>
|
|
|
|
<a href="/keywords/double-free.html">#double-free</a>
|
|
|
|
<a href="/keywords/raw-pointer.html">#raw-pointer</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/ibabushkin/arenavec/issues/4">
|
|
https://github.com/ibabushkin/arenavec/issues/4
|
|
</a>
|
|
</li>
|
|
|
|
|
|
<li>
|
|
<a href="https://github.com/ibabushkin/arenavec/issues/5">
|
|
https://github.com/ibabushkin/arenavec/issues/5
|
|
</a>
|
|
</li>
|
|
|
|
<li>
|
|
<a href="https://github.com/ibabushkin/arenavec/issues/6">
|
|
https://github.com/ibabushkin/arenavec/issues/6
|
|
</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>arenavec::common::AllocHandle::allocate</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#60;=0.1.1</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
<dt><code>arenavec::common::AllocHandle::allocate_or_extend</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#60;=0.1.1</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
<dt><code>arenavec::common::SliceVec::split_off</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#60;=0.1.1</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
<dt><code>arenavec::common::allocate_inner</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#60;=0.1.1</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The crate has the following vulnerabilities:</p>
|
|
<ul>
|
|
<li>
|
|
<p>The public trait <code>arenavec::common::AllocHandle</code> allows the return of raw pointers through its methods <code>allocate</code> and <code>allocate_or_extend</code>. However, the trait is not marked as unsafe, meaning users of the crate may implement it under the assumption that the library safely handles the returned raw pointers. These raw pointers can later be dereferenced within safe APIs of the crate-such as <code>arenavec::common::SliceVec::push</code>-potentially leading to arbitrary memory access.</p>
|
|
</li>
|
|
<li>
|
|
<p>The safe API <code>arenavec::common::SliceVec::reserve</code> can reach the private function <code>arenavec::common::allocate_inner</code>. Incorrect behavior in <code>allocate_inner</code> may result in a <code>SliceVec</code> with an increased capacity, even though the underlying memory has not actually been expanded. This mismatch between <code>SliceVec.capacity</code> and the actual reserved memory can lead to a heap buffer overflow.</p>
|
|
</li>
|
|
<li>
|
|
<p>The safe API <code>arenavec::common::SliceVec::split_off</code> can duplicate the ownership of the elements in <code>self</code> (of type <code>SliceVec</code>) if they implement the <code>Drop</code> trait. Specifically, when <code>at == 0</code>, the method returns a new <code>SliceVec</code> with the same length as <code>self</code>. Since both <code>self</code> and the returned object point to the same heap memory, dropping one will deallocate the shared memory. When the other is subsequently dropped, it will attempt to free the same memory again, resulting in a double free violation.</p>
|
|
</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-0443: Unsoundness in webp</title><id>https://rustsec.org/advisories/RUSTSEC-2024-0443.html</id><updated>2025-08-29T12:00:00+00:00</updated><category term="memory-exposure"/><link href="https://rustsec.org/advisories/RUSTSEC-2024-0443.html" rel="alternate" type="text/html" title="RUSTSEC-2024-0443: Unsoundness in webp"/><published>2025-08-29T12:00:00+00:00</published><summary xml:lang="en">webp crate may expose memory contents when encoding an image</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/webp/RUSTSEC-2024-0443.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/webp/RUSTSEC-2024-0443.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2024-0443">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2024-0443
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>webp crate may expose memory contents when encoding an image</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2024-09-06">
|
|
September 6, 2024
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2025-08-29">
|
|
August 29, 2025
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/webp.html">webp</a>
|
|
(<a href="https://crates.io/crates/webp">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="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/jaredforth/webp/issues/40">
|
|
https://github.com/jaredforth/webp/issues/40
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&#62;=0.3.1</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>Affected versions of this crate did not check that the input slice passed to <code>&quot;webp::Encoder::encode()</code> is large enough for the specified image dimensions.</p>
|
|
<p>If the input slice is too short, the library will read out of bounds of the buffer and encode other memory contents as an image, resulting in memory exposure or a segmentation fault.</p>
|
|
<p>The flaw was corrected in <a href="https://github.com/jaredforth/webp/pull/44">pull request #44</a> by always validating the input buffer size when constructing the encoder.</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-2025-0052: async-std is unmaintained</title><id>https://rustsec.org/advisories/RUSTSEC-2025-0052.html</id><updated>2025-08-27T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2025-0052.html" rel="alternate" type="text/html" title="RUSTSEC-2025-0052: async-std is unmaintained"/><published>2025-08-27T12:00:00+00:00</published><summary xml:lang="en">async-std has been discontinued</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/async-std/RUSTSEC-2025-0052.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/async-std/RUSTSEC-2025-0052.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2025-0052">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2025-0052
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>async-std has been discontinued</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2025-08-24">
|
|
August 24, 2025
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2025-08-27">
|
|
August 27, 2025
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/async-std.html">async-std</a>
|
|
(<a href="https://crates.io/crates/async-std">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/async-rs/async-std">
|
|
https://github.com/async-rs/async-std
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
no patched versions
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The <code>async-std</code> has been discontinued.</p>
|
|
<p>Alternatives:</p>
|
|
<ul>
|
|
<li><a href="https://crates.io/crates/smol">smol</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-2025-0051: Unsoundness in xcb</title><id>https://rustsec.org/advisories/RUSTSEC-2025-0051.html</id><updated>2025-08-22T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2025-0051.html" rel="alternate" type="text/html" title="RUSTSEC-2025-0051: Unsoundness in xcb"/><published>2025-08-22T12:00:00+00:00</published><summary xml:lang="en">`xcb::Connection::connect_to_fd*` functions violate I/O safety</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/xcb/RUSTSEC-2025-0051.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/xcb/RUSTSEC-2025-0051.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2025-0051">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2025-0051
|
|
|
|
</h1>
|
|
<span class="subtitle"><p><code>xcb::Connection::connect_to_fd*</code> functions violate I/O safety</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2025-08-05">
|
|
August 5, 2025
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2025-08-22">
|
|
August 22, 2025
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/xcb.html">xcb</a>
|
|
(<a href="https://crates.io/crates/xcb">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/rust-x-bindings/rust-xcb/issues/282">
|
|
https://github.com/rust-x-bindings/rust-xcb/issues/282
|
|
</a>
|
|
</li>
|
|
|
|
|
|
<li>
|
|
<a href="https://github.com/rust-x-bindings/rust-xcb/issues/167">
|
|
https://github.com/rust-x-bindings/rust-xcb/issues/167
|
|
</a>
|
|
</li>
|
|
|
|
<li>
|
|
<a href="https://github.com/rust-x-bindings/rust-xcb/pull/283">
|
|
https://github.com/rust-x-bindings/rust-xcb/pull/283
|
|
</a>
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&#62;=1.6.0</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt>Affected Functions</dt>
|
|
<dd>Version</dd>
|
|
|
|
<dt><code>xcb::Connection::connect_to_fd</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#62;=1.0.0-beta.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
<dt><code>xcb::Connection::connect_to_fd_with_extensions</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#62;=1.0.0-beta.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The API of <code>xcb::Connection</code> has constructors which allow an arbitrary <code>RawFd</code>
|
|
to be used as a socket connection. On either failure of these constructors or
|
|
on the drop of <code>Connection</code>, it closes the associated file descriptor. Thus, a
|
|
program which uses an <code>OwnedFd</code> (such as a <code>UnixStream</code>) as the file descriptor
|
|
can close the file descriptor and continue to attempt using it or close an
|
|
already-closed file descriptor, violating I/O safety.</p>
|
|
<p>Starting in version 1.6.0, <code>xcb</code> provides <code>Connection::connect_with_fd</code> and
|
|
<code>Connection::connect_with_fd_and_extensions</code> as safe alternatives and
|
|
deprecates the problematic functions.</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-2025-0050: Vulnerability in id-map</title><id>https://rustsec.org/advisories/RUSTSEC-2025-0050.html</id><updated>2025-08-15T12:00:00+00:00</updated><category term="memory-corruption"/><link href="https://rustsec.org/advisories/RUSTSEC-2025-0050.html" rel="alternate" type="text/html" title="RUSTSEC-2025-0050: Vulnerability in id-map"/><published>2025-08-15T12:00:00+00:00</published><summary xml:lang="en">IdMap::from_iter may lead to uninitialized memory being freed on drop</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/id-map/RUSTSEC-2025-0050.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/id-map/RUSTSEC-2025-0050.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2025-0050">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2025-0050
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>IdMap::from_iter may lead to uninitialized memory being freed on drop</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2025-08-14">
|
|
August 14, 2025
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2025-08-15">
|
|
August 15, 2025
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/id-map.html">id-map</a>
|
|
(<a href="https://crates.io/crates/id-map">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/memory-safety.html">#memory-safety</a>
|
|
|
|
<a href="/keywords/uninitialized-memory.html">#uninitialized-memory</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/andrewhickman/id-map/issues/4">
|
|
https://github.com/andrewhickman/id-map/issues/4
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&#62;=0.2.2</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="unaffected">Unaffected</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#60;0.1.6</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt>Affected Functions</dt>
|
|
<dd>Version</dd>
|
|
|
|
<dt><code>id_map::IdMap::from_iter</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#62;=0.1.6, &#60;=0.2.1</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>Due to a flaw in the constructor <code>id_map::IdMap::from_iter</code>, ill-formed objects may be created in which the amount of actually initialized memory is less than what is expected by the fields of <code>IdMap</code>. Specifically, the field <code>ids</code> is initialized based on the capacity of the vector <code>values</code>, which is constructed from the provided iterator. However, the length of this vector may be smaller than its capacity.</p>
|
|
<p>In such cases, when the resulting <code>IdMap</code> is dropped, its destructor incorrectly assumes that <code>values</code> contains <code>ids.len() == values.capacity()</code> initialized elements and attempts to iterate over and drop them. This leads to dereferencing and attempting to free uninitialized memory, resulting in undefined behavior and potential segmentation faults.</p>
|
|
<p>The bug was fixed in commit <code>fab6922</code>, and all unsafe code was removed from the crate.</p>
|
|
<p>Note that the maintainer recommends using the following alternatives:</p>
|
|
<ul>
|
|
<li><a href="https://crates.io/crates/slab">slab</a></li>
|
|
<li><a href="https://crates.io/crates/slotmap">slotmap</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-2025-0049: Vulnerability in scratchpad</title><id>https://rustsec.org/advisories/RUSTSEC-2025-0049.html</id><updated>2025-08-14T12:00:00+00:00</updated><category term="memory-corruption"/><link href="https://rustsec.org/advisories/RUSTSEC-2025-0049.html" rel="alternate" type="text/html" title="RUSTSEC-2025-0049: Vulnerability in scratchpad"/><published>2025-08-14T12:00:00+00:00</published><summary xml:lang="en">User-defined implementations of the safe trait scratchpad::Tracking can cause heap buffer overflows</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/scratchpad/RUSTSEC-2025-0049.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/scratchpad/RUSTSEC-2025-0049.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2025-0049">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2025-0049
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>User-defined implementations of the safe trait scratchpad::Tracking can cause heap buffer overflows</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2025-08-14">
|
|
August 14, 2025
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2025-08-14">
|
|
August 14, 2025
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/scratchpad.html">scratchpad</a>
|
|
(<a href="https://crates.io/crates/scratchpad">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/memory-safety.html">#memory-safety</a>
|
|
|
|
<a href="/keywords/buffer-overflow.html">#buffer-overflow</a>
|
|
|
|
<a href="/keywords/raw-pointer.html">#raw-pointer</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/okready/scratchpad/issues/2">
|
|
https://github.com/okready/scratchpad/issues/2
|
|
</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>scratchpad::Tracking::get</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#60;=1.3.1</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
<dt><code>scratchpad::Tracking::set</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#60;=1.3.1</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The <code>get</code> and <code>set</code> methods of the public trait <code>scratchpad::Tracking</code> interact with unsafe code regions in the crate, and they influence the computation of addresses returned as raw pointers. However, the trait itself is not marked as unsafe, meaning users may provide custom implementations under the assumption that the crate upholds all safety guarantees.</p>
|
|
<p>This becomes problematic because even safe implementations of <code>get</code> and <code>set</code>-written without using any unsafe code-can still result in ill-formed raw pointers. These pointers may later be dereferenced within safe APIs of the crate (e.g., <code>marker::MarkerBack::allocate_slice_copy</code>), potentially leading to arbitrary memory access or heap buffer overflows.</p>
|
|
<p>According to the <a href="https://github.com/okready/scratchpad/commit/957dee1a3902f48600b06910e8e0b1d5ee7dab83">penultimate commit</a>, the crate is in maintenance mode awaiting a cleanup that will reduce the area of unsafe code. Note that the last commits to the repository are from 4 years ago.</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-2025-0048: tsify-next is unmaintained</title><id>https://rustsec.org/advisories/RUSTSEC-2025-0048.html</id><updated>2025-08-13T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2025-0048.html" rel="alternate" type="text/html" title="RUSTSEC-2025-0048: tsify-next is unmaintained"/><published>2025-08-13T12:00:00+00:00</published><summary xml:lang="en">tsify-next is unmaintained, use tsify instead</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/tsify-next/RUSTSEC-2025-0048.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/tsify-next/RUSTSEC-2025-0048.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2025-0048">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2025-0048
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>tsify-next is unmaintained, use tsify instead</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2025-07-29">
|
|
July 29, 2025
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2025-08-13">
|
|
August 13, 2025
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/tsify-next.html">tsify-next</a>
|
|
(<a href="https://crates.io/crates/tsify-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/siefkenj/tsify/pull/56">
|
|
https://github.com/siefkenj/tsify/pull/56
|
|
</a>
|
|
</li>
|
|
|
|
|
|
<li>
|
|
<a href="https://github.com/siefkenj/tsify/issues/57">
|
|
https://github.com/siefkenj/tsify/issues/57
|
|
</a>
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
no patched versions
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The <code>tsify-next</code> crate is not maintained any more; use <a href="https://crates.io/crates/tsify"><code>tsify</code></a> 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-2025-0047: Vulnerability in slab</title><id>https://rustsec.org/advisories/RUSTSEC-2025-0047.html</id><updated>2025-08-12T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2025-0047.html" rel="alternate" type="text/html" title="RUSTSEC-2025-0047: Vulnerability in slab"/><published>2025-08-12T12:00:00+00:00</published><summary xml:lang="en">Out-of-bounds access in `get_disjoint_mut` due to incorrect bounds check</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/slab/RUSTSEC-2025-0047.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/slab/RUSTSEC-2025-0047.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2025-0047">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2025-0047
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Out-of-bounds access in <code>get_disjoint_mut</code> due to incorrect bounds check</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2025-08-12">
|
|
August 12, 2025
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2025-08-12">
|
|
August 12, 2025
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/slab.html">slab</a>
|
|
(<a href="https://crates.io/crates/slab">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
Vulnerability
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
<dt id="keywords">Keywords</dt>
|
|
<dd>
|
|
|
|
<a href="/keywords/memory-exposure.html">#memory-exposure</a>
|
|
|
|
<a href="/keywords/bounds-check.html">#bounds-check</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-55159">CVE-2025-55159</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-qx2v-8332-m4fv">GHSA-qx2v-8332-m4fv</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/tokio-rs/slab/security/advisories/GHSA-qx2v-8332-m4fv">
|
|
https://github.com/tokio-rs/slab/security/advisories/GHSA-qx2v-8332-m4fv
|
|
</a>
|
|
</li>
|
|
|
|
|
|
<li>
|
|
<a href="https://github.com/tokio-rs/slab/pull/152">
|
|
https://github.com/tokio-rs/slab/pull/152
|
|
</a>
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&#62;=0.4.11</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="unaffected">Unaffected</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#60;0.4.10</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt>Affected Functions</dt>
|
|
<dd>Version</dd>
|
|
|
|
<dt><code>slab::Slab::get_disjoint_mut</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>=0.4.10</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<h2>Impact</h2>
|
|
<p>The <code>get_disjoint_mut</code> method in slab v0.4.10 incorrectly checked if indices were within the slab's capacity instead of its length, allowing access to uninitialized memory. This could lead to undefined behavior or potential crashes.</p>
|
|
<h2>Patches</h2>
|
|
<p>This has been fixed in slab v0.4.11.</p>
|
|
<h2>Workarounds</h2>
|
|
<p>Avoid using <code>get_disjoint_mut</code> with indices that might be beyond the slab's actual length, or upgrade to v0.4.11 or later.</p>
|
|
<h2>References</h2>
|
|
<ul>
|
|
<li><a href="https://github.com/tokio-rs/slab/pull/152">https://github.com/tokio-rs/slab/pull/152</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></feed> |