mirror of
https://github.com/rustsec/advisory-db.git
synced 2026-11-30 10:24:32 -06:00
1740 lines
59 KiB
XML
1740 lines
59 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>2026-01-27T12: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-0143: Vulnerability in capnp</title><id>https://rustsec.org/advisories/RUSTSEC-2025-0143.html</id><updated>2026-01-27T12:00:00+00:00</updated><category term="memory-corruption"/><link href="https://rustsec.org/advisories/RUSTSEC-2025-0143.html" rel="alternate" type="text/html" title="RUSTSEC-2025-0143: Vulnerability in capnp"/><published>2026-01-27T12:00:00+00:00</published><summary xml:lang="en">Unsound APIs of public `constant::Reader` and `StructSchema`</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/capnp/RUSTSEC-2025-0143.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/capnp/RUSTSEC-2025-0143.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2025-0143">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2025-0143
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Unsound APIs of public <code>constant::Reader</code> and <code>StructSchema</code></p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2025-12-24">
|
|
December 24, 2025
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-01-27">
|
|
January 27, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/capnp.html">capnp</a>
|
|
(<a href="https://crates.io/crates/capnp">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/unsoundness.html">#unsoundness</a>
|
|
|
|
<a href="/keywords/undefined-behavior.html">#undefined-behavior</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/capnproto/capnproto-rust/issues/605">
|
|
https://github.com/capnproto/capnproto-rust/issues/605
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&#62;=0.24.0</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt>Affected Functions</dt>
|
|
<dd>Version</dd>
|
|
|
|
<dt><code>capnp::constant::Reader::get</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#60;0.24.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
<dt><code>capnp::schema::StructSchema::new</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#60;0.24.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The safe API functions <code>constant::Reader::get</code> and <code>StructSchema::new</code> rely on <code>PointerReader::get_root_unchecked</code>, which can cause undefined behavior (UB) by constructing arbitrary words or schemas.</p>
|
|
<h2><code>Reader::get</code></h2>
|
|
<pre><code class="language-rust">pub fn get(&amp;self) -&gt; Result&lt;&lt;T as Owned&gt;::Reader&lt;'static&gt;&gt; {
|
|
// ...
|
|
// UNSAFE: access `words` without validation
|
|
}
|
|
</code></pre>
|
|
<h2><code>StructSchema::new</code></h2>
|
|
<pre><code class="language-rust">pub fn new(builder: RawBrandedStructSchema) -&gt; StructSchema {
|
|
// ...
|
|
// UNSAFE: access encoded nodes without validation
|
|
}
|
|
</code></pre>
|
|
<p>This vulnerability allows safe Rust code to trigger UB, which violates Rust's safety guarantees.</p>
|
|
<p>The issue is resolved in version <code>0.24.0</code> by making constructor functions unsafe and mark the fields of struct as visible only in the 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-2026-0006: Vulnerability in wasmtime</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0006.html</id><updated>2026-01-27T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2026-0006.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0006: Vulnerability in wasmtime"/><published>2026-01-27T12:00:00+00:00</published><summary xml:lang="en">Wasmtime segfault or unused out-of-sandbox load with `f64.copysign` operator on x86-64</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/wasmtime/RUSTSEC-2026-0006.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/wasmtime/RUSTSEC-2026-0006.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0006">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0006
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Wasmtime segfault or unused out-of-sandbox load with <code>f64.copysign</code> operator on x86-64</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-01-26">
|
|
January 26, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-01-27">
|
|
January 27, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/wasmtime.html">wasmtime</a>
|
|
(<a href="https://crates.io/crates/wasmtime">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
Vulnerability
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-24116">CVE-2026-24116</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-vc8c-j3xm-xj73">
|
|
https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-vc8c-j3xm-xj73
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="cvss_score">CVSS Score</dt>
|
|
<dd>4.1 <span class="tag medium">
|
|
MEDIUM
|
|
</span></dd>
|
|
|
|
<dt id="cvss_details">CVSS Details</dt>
|
|
<dd>
|
|
<dl>
|
|
|
|
<dt>Attack Complexity</dt>
|
|
<dd>Low</dd>
|
|
|
|
<dt>Attack Requirements</dt>
|
|
<dd>Present</dd>
|
|
|
|
<dt>Attack Vector</dt>
|
|
<dd>Local</dd>
|
|
|
|
<dt>Privileges Required</dt>
|
|
<dd>Low</dd>
|
|
|
|
<dt>Availability Impact to the Subsequent System</dt>
|
|
<dd>None</dd>
|
|
|
|
<dt>Confidentiality Impact to the Subsequent System</dt>
|
|
<dd>None</dd>
|
|
|
|
<dt>Integrity Impact to the Subsequent System</dt>
|
|
<dd>None</dd>
|
|
|
|
<dt>User Interaction</dt>
|
|
<dd>Active</dd>
|
|
|
|
<dt>Availability Impact to the Vulnerable System</dt>
|
|
<dd>High</dd>
|
|
|
|
<dt>Confidentiality Impact to the Vulnerable System</dt>
|
|
<dd>None</dd>
|
|
|
|
<dt>Integrity Impact to the Vulnerable System</dt>
|
|
<dd>None</dd>
|
|
|
|
</dl>
|
|
</dd>
|
|
|
|
<dt id="cvss">CVSS Vector</dt>
|
|
|
|
|
|
<dd><a href="https://www.first.org/cvss/calculator/3.1#CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N">CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N</a></dd>
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&#62;=41.0.1</code></li>
|
|
|
|
<li><code>&#62;=40.0.3, &#60;41.0.0</code></li>
|
|
|
|
<li><code>&#62;=36.0.5, &#60;37.0.0</code></li>
|
|
|
|
<li><code>&#60;29.0.0</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>This is an entry in the RustSec database for the Wasmtime security advisory
|
|
located at
|
|
https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-vc8c-j3xm-xj73
|
|
For more information see the GitHub-hosted security advisory.</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-0144: Vulnerability in ml-dsa</title><id>https://rustsec.org/advisories/RUSTSEC-2025-0144.html</id><updated>2026-01-27T12:00:00+00:00</updated><category term="crypto-failure"/><link href="https://rustsec.org/advisories/RUSTSEC-2025-0144.html" rel="alternate" type="text/html" title="RUSTSEC-2025-0144: Vulnerability in ml-dsa"/><published>2026-01-27T12:00:00+00:00</published><summary xml:lang="en">Timing side-channel in ML-DSA decomposition</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/ml-dsa/RUSTSEC-2025-0144.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/ml-dsa/RUSTSEC-2025-0144.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2025-0144">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2025-0144
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Timing side-channel in ML-DSA decomposition</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2025-12-12">
|
|
December 12, 2025
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-01-27">
|
|
January 27, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/ml-dsa.html">ml-dsa</a>
|
|
(<a href="https://crates.io/crates/ml-dsa">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://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-22705">CVE-2026-22705</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-hcp2-x6j4-29j7">GHSA-hcp2-x6j4-29j7</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/RustCrypto/signatures/security/advisories/GHSA-hcp2-x6j4-29j7">
|
|
https://github.com/RustCrypto/signatures/security/advisories/GHSA-hcp2-x6j4-29j7
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="cvss_score">CVSS Score</dt>
|
|
<dd>6.4 <span class="tag medium">
|
|
MEDIUM
|
|
</span></dd>
|
|
|
|
<dt id="cvss_details">CVSS Details</dt>
|
|
<dd>
|
|
<dl>
|
|
|
|
<dt>Attack Vector</dt>
|
|
<dd>Adjacent</dd>
|
|
|
|
<dt>Attack Complexity</dt>
|
|
<dd>High</dd>
|
|
|
|
<dt>Privileges Required</dt>
|
|
<dd>Low</dd>
|
|
|
|
<dt>User Interaction</dt>
|
|
<dd>None</dd>
|
|
|
|
<dt>Scope</dt>
|
|
<dd>Unchanged</dd>
|
|
|
|
<dt>Confidentiality Impact</dt>
|
|
<dd>High</dd>
|
|
|
|
<dt>Integrity Impact</dt>
|
|
<dd>High</dd>
|
|
|
|
<dt>Availability Impact</dt>
|
|
<dd>None</dd>
|
|
|
|
</dl>
|
|
</dd>
|
|
|
|
<dt id="cvss">CVSS Vector</dt>
|
|
|
|
|
|
<dd><a href="https://www.first.org/cvss/calculator/3.1#CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N">CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N</a></dd>
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&#62;=0.1.0-rc.3</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<h3>Summary</h3>
|
|
<p>A timing side-channel was discovered in the Decompose algorithm which is used during ML-DSA signing to generate hints for the signature.</p>
|
|
<h3>Details</h3>
|
|
<p>The analysis was performed using a constant-time analyzer that examines compiled assembly code for instructions with data-dependent timing behavior. The analyzer flags:</p>
|
|
<ul>
|
|
<li><strong>UDIV/SDIV instructions</strong>: Hardware division instructions have early termination optimizations where execution time depends on operand values.</li>
|
|
</ul>
|
|
<p>The <code>decompose</code> function used a hardware division instruction to compute <code>r1.0 / TwoGamma2::U32</code>. This function is called during signing through <code>high_bits()</code> and <code>low_bits()</code>, which process values derived from secret key components:</p>
|
|
<ul>
|
|
<li><code>(&amp;w - &amp;cs2).low_bits()</code> where <code>cs2</code> is derived from secret key component <code>s2</code></li>
|
|
<li><code>Hint::new()</code> calls <code>high_bits()</code> on values derived from secret key component <code>t0</code></li>
|
|
</ul>
|
|
<p><strong>Original Code</strong>:</p>
|
|
<pre><code class="language-rust">fn decompose&lt;TwoGamma2: Unsigned&gt;(self) -&gt; (Elem, Elem) {
|
|
// ...
|
|
let mut r1 = r_plus - r0;
|
|
r1.0 /= TwoGamma2::U32; // Variable-time division on secret-derived data
|
|
(r1, r0)
|
|
}
|
|
</code></pre>
|
|
<h3>Impact</h3>
|
|
<p>The dividend (<code>r1.0</code>) is derived from secret key material. An attacker with precise timing measurements could extract information about the signing key by observing timing variations in the division operation.</p>
|
|
<h3>Mitigation</h3>
|
|
<p>Integer division was replaced with a constant-time Barrett reduction.</p>
|
|
|
|
|
|
<p id="license" class="license">Advisory available under <a href="https://spdx.org/licenses/CC-BY-4.0.html">CC-BY-4.0</a>
|
|
license.
|
|
|
|
|
|
|
|
|
|
Source: <a href="https://github.com/RustCrypto/signatures/security/advisories/GHSA-hcp2-x6j4-29j7">https://github.com/RustCrypto/signatures/security/advisories/GHSA-hcp2-x6j4-29j7</a>
|
|
|
|
|
|
</p>
|
|
</article></content></entry><entry><title>RUSTSEC-2026-0005: Unsoundness in oneshot</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0005.html</id><updated>2026-01-27T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2026-0005.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0005: Unsoundness in oneshot"/><published>2026-01-26T12:00:00+00:00</published><summary xml:lang="en">Potential use-after-free in `oneshot` when used asynchronously</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/oneshot/RUSTSEC-2026-0005.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/oneshot/RUSTSEC-2026-0005.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0005">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0005
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Potential use-after-free in <code>oneshot</code> when used asynchronously</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-01-25">
|
|
January 25, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-01-26">
|
|
January 26, 2026
|
|
</time>
|
|
|
|
<time datetime="2026-01-27">
|
|
(last modified: January 27, 2026)
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/oneshot.html">oneshot</a>
|
|
(<a href="https://crates.io/crates/oneshot">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/memory-safety.html">#memory-safety</a>
|
|
|
|
<a href="/keywords/use-after-free.html">#use-after-free</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-rvr2-r3pv-5m4p">GHSA-rvr2-r3pv-5m4p</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/faern/oneshot/issues/73">
|
|
https://github.com/faern/oneshot/issues/73
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&#62;=0.1.12</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="unaffected">Unaffected</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#60;=0.1.1</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>There is a race condition that can lead to a use-after-free if a <code>oneshot::Receiver</code> is polled but then dropped instead of polled to completion. This could happen if the receiver future was cancelled while receiving, for example by being wrapped in a timeout future or similar.</p>
|
|
<p>When the <code>Receiver</code> is polled (<code>Future::poll</code>) it writes a waker to the channel and sets it to the <code>RECEIVING</code> state. If the <code>Receiver</code> was then dropped (instead of polled to completion), the <code>Drop</code> implementation on <code>Receiver</code> unconditionally swapped the channel state to <code>DISCONNECTED</code> and only after doing so it read back its waker from the heap allocation and dropped it. The problem is that the <code>DISCONNECTED</code> state could be observed by the <code>Sender</code>, which would lead to it deallocating the channel heap memory. If the <code>Sender</code> manage to free the channel before the <code>Receiver</code> managed to proceed to dropping the waker, then the <code>Receiver</code> would read from the freed channel memory (use-after-free).</p>
|
|
<p>The fix was submitted in https://github.com/faern/oneshot/pull/74 and published as part of <code>oneshot</code> version <code>0.1.12</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-2026-0004: Vulnerability in triton-vm</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0004.html</id><updated>2026-01-23T12:00:00+00:00</updated><category term="crypto-failure"/><link href="https://rustsec.org/advisories/RUSTSEC-2026-0004.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0004: Vulnerability in triton-vm"/><published>2026-01-21T12:00:00+00:00</published><summary xml:lang="en">Triton VM Soundness Vulnerability due to Improper Sampling of Randomness</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/triton-vm/RUSTSEC-2026-0004.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/triton-vm/RUSTSEC-2026-0004.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0004">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0004
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Triton VM Soundness Vulnerability due to Improper Sampling of Randomness</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-01-21">
|
|
January 21, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-01-21">
|
|
January 21, 2026
|
|
</time>
|
|
|
|
<time datetime="2026-01-23">
|
|
(last modified: January 23, 2026)
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/triton-vm.html">triton-vm</a>
|
|
(<a href="https://crates.io/crates/triton-vm">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="keywords">Keywords</dt>
|
|
<dd>
|
|
|
|
<a href="/keywords/proof-system.html">#proof-system</a>
|
|
|
|
<a href="/keywords/unsound.html">#unsound</a>
|
|
|
|
<a href="/keywords/fiat-shamir.html">#fiat-shamir</a>
|
|
|
|
<a href="/keywords/fri.html">#fri</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-rjr4-v43m-pxq6">GHSA-rjr4-v43m-pxq6</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&#62;=2.0.0</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="unaffected">Unaffected</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#60;0.41.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt>Affected Functions</dt>
|
|
<dd>Version</dd>
|
|
|
|
<dt><code>triton_vm::verify</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#60;2.0.0, &#62;=0.41.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>In affected versions of Triton VM, the verifier failed to correctly sample randomness in the FRI sub-protocol.</p>
|
|
<p>Malicious provers can exploit this to craft proofs for arbitrary statements that this verifier accepts as valid, undermining soundness.</p>
|
|
<p>Protocols that rely on proofs and the supplied verifier of the affected versions of Triton VM are completely broken. Protocols implementing their own verifier might be unaffected.</p>
|
|
<p>The flaw was corrected in commit 3a045d63, where the relevant randomness is sampled correctly.</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-2021-0155: Vulnerability in lucet-runtime</title><id>https://rustsec.org/advisories/RUSTSEC-2021-0155.html</id><updated>2026-01-17T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2021-0155.html" rel="alternate" type="text/html" title="RUSTSEC-2021-0155: Vulnerability in lucet-runtime"/><published>2026-01-17T12:00:00+00:00</published><summary xml:lang="en">Use After Free in lucet-runtime</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/lucet-runtime/RUSTSEC-2021-0155.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/lucet-runtime/RUSTSEC-2021-0155.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2021-0155">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2021-0155
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Use After Free in lucet-runtime</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2021-11-30">
|
|
November 30, 2021
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-01-17">
|
|
January 17, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/lucet-runtime.html">lucet-runtime</a>
|
|
(<a href="https://crates.io/crates/lucet-runtime">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
Vulnerability
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
<dt id="keywords">Keywords</dt>
|
|
<dd>
|
|
|
|
<a href="/keywords/use-after-free.html">#use-after-free</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-43790">CVE-2021-43790</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-hf79-8hjp-rrvq">GHSA-hf79-8hjp-rrvq</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/bytecodealliance/lucet/security/advisories/GHSA-hf79-8hjp-rrvq">
|
|
https://github.com/bytecodealliance/lucet/security/advisories/GHSA-hf79-8hjp-rrvq
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="cvss_score">CVSS Score</dt>
|
|
<dd>8.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>High</dd>
|
|
|
|
<dt>Privileges Required</dt>
|
|
<dd>Low</dd>
|
|
|
|
<dt>User Interaction</dt>
|
|
<dd>None</dd>
|
|
|
|
<dt>Scope</dt>
|
|
<dd>Changed</dd>
|
|
|
|
<dt>Confidentiality Impact</dt>
|
|
<dd>High</dd>
|
|
|
|
<dt>Integrity Impact</dt>
|
|
<dd>High</dd>
|
|
|
|
<dt>Availability Impact</dt>
|
|
<dd>High</dd>
|
|
|
|
</dl>
|
|
</dd>
|
|
|
|
<dt id="cvss">CVSS Vector</dt>
|
|
|
|
|
|
<dd><a href="https://www.first.org/cvss/calculator/3.1#CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H">CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H</a></dd>
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
no patched versions
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>There is a bug in the main branch of Lucet's lucet-runtime
|
|
that allows a use-after-free in an Instance object that could
|
|
result in memory corruption, data race, or other related
|
|
issues. This bug was introduced early in the development
|
|
of Lucet and is present in all releases. As a result of
|
|
this bug, and dependent on the memory backing for the
|
|
Instance objects, it is possible to trigger a
|
|
use-after-free when the Instance is dropped.</p>
|
|
<h2>Patches</h2>
|
|
<p>Users should upgrade to the main branch of the Lucet
|
|
repository. Lucet does not provide versioned releases on
|
|
crates.io.</p>
|
|
<h2>Workarounds</h2>
|
|
<p>There is no way to remediate this vulnerability without
|
|
upgrading.</p>
|
|
<h2>Description</h2>
|
|
<p>Lucet uses a &quot;pool&quot; allocator for new WebAssembly
|
|
instances that are created. This pool allocator manages
|
|
everything from the linear memory of the wasm instance,
|
|
the runtime stack for async switching, as well as the
|
|
memory behind the Instance itself. Instances are referred
|
|
to via an InstanceHandle type which will, on drop,
|
|
release the memory backing the Instance back to the pool.</p>
|
|
<p>When an Instance is dropped, the fields of the Instance
|
|
are destructed top-to-bottom, however when the alloc:
|
|
Alloc field is destructed, the memory backing the
|
|
Instance is released back to the pool before the
|
|
destructors of the remaining fields are run. If another
|
|
thread allocates the same memory from the pool while
|
|
these destructors are still running, a race condition
|
|
occurs that can lead to use-after-free errors.</p>
|
|
<p>The bug was corrected by changing how the InstanceHandle
|
|
destructor operates to ensure that the memory backing an
|
|
Instance is only returned to the pool once the Instance
|
|
has been completely destroyed.</p>
|
|
|
|
|
|
<p id="license" class="license">Advisory available under <a href="https://spdx.org/licenses/CC-BY-4.0.html">CC-BY-4.0</a>
|
|
license.
|
|
|
|
|
|
|
|
|
|
Source: <a href="https://github.com/bytecodealliance/lucet/security/advisories/GHSA-hf79-8hjp-rrvq">https://github.com/bytecodealliance/lucet/security/advisories/GHSA-hf79-8hjp-rrvq</a>
|
|
|
|
|
|
</p>
|
|
</article></content></entry><entry><title>RUSTSEC-2026-0003: Vulnerability in cmov</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0003.html</id><updated>2026-01-15T12:00:00+00:00</updated><category term="crypto-failure"/><link href="https://rustsec.org/advisories/RUSTSEC-2026-0003.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0003: Vulnerability in cmov"/><published>2026-01-15T12:00:00+00:00</published><summary xml:lang="en">Non-constant-time code generation on ARM32 targets</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/cmov/RUSTSEC-2026-0003.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/cmov/RUSTSEC-2026-0003.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0003">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0003
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Non-constant-time code generation on ARM32 targets</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-01-14">
|
|
January 14, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-01-15">
|
|
January 15, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/cmov.html">cmov</a>
|
|
(<a href="https://crates.io/crates/cmov">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://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-23519">CVE-2026-23519</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-2gqc-6j2q-83qp">GHSA-2gqc-6j2q-83qp</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/RustCrypto/utils/security/advisories/GHSA-2gqc-6j2q-83qp">
|
|
https://github.com/RustCrypto/utils/security/advisories/GHSA-2gqc-6j2q-83qp
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="cvss_score">CVSS Score</dt>
|
|
<dd>8.9 <span class="tag high">
|
|
HIGH
|
|
</span></dd>
|
|
|
|
<dt id="cvss_details">CVSS Details</dt>
|
|
<dd>
|
|
<dl>
|
|
|
|
<dt>Attack Complexity</dt>
|
|
<dd>High</dd>
|
|
|
|
<dt>Attack Requirements</dt>
|
|
<dd>None</dd>
|
|
|
|
<dt>Attack Vector</dt>
|
|
<dd>Network</dd>
|
|
|
|
<dt>Privileges Required</dt>
|
|
<dd>None</dd>
|
|
|
|
<dt>Availability Impact to the Subsequent System</dt>
|
|
<dd>None</dd>
|
|
|
|
<dt>Confidentiality Impact to the Subsequent System</dt>
|
|
<dd>High</dd>
|
|
|
|
<dt>Integrity Impact to the Subsequent System</dt>
|
|
<dd>None</dd>
|
|
|
|
<dt>User Interaction</dt>
|
|
<dd>None</dd>
|
|
|
|
<dt>Availability Impact to the Vulnerable System</dt>
|
|
<dd>None</dd>
|
|
|
|
<dt>Confidentiality Impact to the Vulnerable System</dt>
|
|
<dd>High</dd>
|
|
|
|
<dt>Integrity Impact to the Vulnerable System</dt>
|
|
<dd>None</dd>
|
|
|
|
</dl>
|
|
</dd>
|
|
|
|
<dt id="cvss">CVSS Vector</dt>
|
|
|
|
|
|
<dd><a href="https://www.first.org/cvss/calculator/3.1#CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N">CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N</a></dd>
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&#62;=0.4.4</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<h2>Summary</h2>
|
|
<p>While the <code>cmov</code> crate has a special backend for <code>aarch64</code> which uses special
|
|
CSEL instructions, on 32-bit ARM it uses a portable pure Rust fallback
|
|
implementation. This implementation uses a combination of bitwise arithmetic
|
|
and <code>core::hint::black_box</code> to attempt to coerce constant-time code generation
|
|
out of the optimizer, but the implementation in v0.4.3 and earlier failed to
|
|
do this on 32-bit ARM targets.</p>
|
|
<h2>Impact</h2>
|
|
<p>Branch instructions inserted by the LLVM optimizer on 32-bit targets can be
|
|
leveraged using various microarchitectural sidechannels like cache timing
|
|
attacks to learn secret information that <code>cmov</code> is designed to protect.</p>
|
|
<h2>Details</h2>
|
|
<p>The following assembly was emitted when using <code>Cmov::cmovnz</code>, a function which
|
|
implements a conditional move when a provided value is non-zero:</p>
|
|
<pre><code class="language-asm"> bne .LBB0_2
|
|
mvns r3, r3
|
|
</code></pre>
|
|
<p>This includes a branch instruction <code>bne</code>: Branch if Not Equal.</p>
|
|
<h2>PoC</h2>
|
|
<p>The following code reproduces the issue:</p>
|
|
<pre><code class="language-rust">#![no_std]
|
|
use cmov::Cmov;
|
|
|
|
#[inline(never)]
|
|
pub fn test_ct_cmov(a: &amp;mut u8, b: u8, c: u8) {
|
|
a.cmovnz(&amp;b, c);
|
|
}
|
|
</code></pre>
|
|
<h2>Resolution</h2>
|
|
<p><code>cmov</code> v0.4.4 includes a portable <code>black_box</code>-based tactical mitigation for the
|
|
issue which coerced the compiler into producing the expected codegen, and
|
|
additionally v0.4.5 added an <code>asm!</code> reimplementation of the problematic mask
|
|
generation function for ARM32 targets which should guarantee that particular
|
|
function never contains a branch on such targets.</p>
|
|
|
|
|
|
<p id="license" class="license">Advisory available under <a href="https://spdx.org/licenses/CC-BY-4.0.html">CC-BY-4.0</a>
|
|
license.
|
|
|
|
|
|
|
|
|
|
Source: <a href="https://github.com/RustCrypto/utils/security/advisories/GHSA-2gqc-6j2q-83qp">https://github.com/RustCrypto/utils/security/advisories/GHSA-2gqc-6j2q-83qp</a>
|
|
|
|
|
|
</p>
|
|
</article></content></entry><entry><title>RUSTSEC-2025-0142: Vulnerability in mnl</title><id>https://rustsec.org/advisories/RUSTSEC-2025-0142.html</id><updated>2026-01-10T12:00:00+00:00</updated><category term="memory-corruption"/><link href="https://rustsec.org/advisories/RUSTSEC-2025-0142.html" rel="alternate" type="text/html" title="RUSTSEC-2025-0142: Vulnerability in mnl"/><published>2026-01-09T12:00:00+00:00</published><summary xml:lang="en">Segmentation fault and invalid memory read in `mnl::cb_run`</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/mnl/RUSTSEC-2025-0142.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/mnl/RUSTSEC-2025-0142.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2025-0142">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2025-0142
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Segmentation fault and invalid memory read in <code>mnl::cb_run</code></p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2025-10-18">
|
|
October 18, 2025
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-01-09">
|
|
January 9, 2026
|
|
</time>
|
|
|
|
<time datetime="2026-01-10">
|
|
(last modified: January 10, 2026)
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/mnl.html">mnl</a>
|
|
(<a href="https://crates.io/crates/mnl">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="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-585q-cm62-757j">GHSA-585q-cm62-757j</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/mullvad/mnl-rs/issues/15">
|
|
https://github.com/mullvad/mnl-rs/issues/15
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
no patched versions
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The function <code>mnl::cb_run</code> is marked as safe but exhibits unsound behavior when processing malformed Netlink message buffers.</p>
|
|
<p>Passing a crafted byte slice to <code>mnl::cb_run</code> can trigger memory violations. The function does not sufficiently validate the input buffer structure before processing, leading to out-of-bounds reads.</p>
|
|
<p>This vulnerability allows an attacker to cause a Denial of Service (segmentation fault) or potentially read unmapped memory by providing a malformed Netlink message.</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-0141: bincode is unmaintained</title><id>https://rustsec.org/advisories/RUSTSEC-2025-0141.html</id><updated>2026-01-16T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2025-0141.html" rel="alternate" type="text/html" title="RUSTSEC-2025-0141: bincode is unmaintained"/><published>2026-01-07T12:00:00+00:00</published><summary xml:lang="en">Bincode 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/bincode/RUSTSEC-2025-0141.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/bincode/RUSTSEC-2025-0141.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2025-0141">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2025-0141
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Bincode is unmaintained</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2025-12-16">
|
|
December 16, 2025
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-01-07">
|
|
January 7, 2026
|
|
</time>
|
|
|
|
<time datetime="2026-01-16">
|
|
(last modified: January 16, 2026)
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/bincode.html">bincode</a>
|
|
(<a href="https://crates.io/crates/bincode">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://git.sr.ht/~stygianentity/bincode/tree/v3.0/item/README.md">
|
|
https://git.sr.ht/~stygianentity/bincode/tree/v3.0/item/README.md
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
no patched versions
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>Due to a doxxing and harassment incident, the bincode team has taken the decision to cease development permanently.</p>
|
|
<p>The team considers version 1.3.3 a complete version of bincode that is not in need of any updates.</p>
|
|
<h2>Alternatives to consider</h2>
|
|
<ul>
|
|
<li><a href="https://crates.io/crates/wincode">wincode</a></li>
|
|
<li><a href="https://crates.io/crates/postcard">postcard</a></li>
|
|
<li><a href="https://crates.io/crates/bitcode">bitcode</a></li>
|
|
<li><a href="https://crates.io/crates/rkyv">rkyv</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-2026-0002: Unsoundness in lru</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0002.html</id><updated>2026-01-08T12:00:00+00:00</updated><category term="memory-corruption"/><link href="https://rustsec.org/advisories/RUSTSEC-2026-0002.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0002: Unsoundness in lru"/><published>2026-01-07T12:00:00+00:00</published><summary xml:lang="en">`IterMut` violates Stacked Borrows by invalidating internal pointer</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/lru/RUSTSEC-2026-0002.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/lru/RUSTSEC-2026-0002.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0002">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0002
|
|
|
|
</h1>
|
|
<span class="subtitle"><p><code>IterMut</code> violates Stacked Borrows by invalidating internal pointer</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-01-07">
|
|
January 7, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-01-07">
|
|
January 7, 2026
|
|
</time>
|
|
|
|
<time datetime="2026-01-08">
|
|
(last modified: January 8, 2026)
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/lru.html">lru</a>
|
|
(<a href="https://crates.io/crates/lru">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
<span class="tag info">INFO</span>
|
|
Unsound
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="categories">Categories</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><a href="/categories/memory-corruption.html">memory-corruption</a></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="keywords">Keywords</dt>
|
|
<dd>
|
|
|
|
<a href="/keywords/stacked-borrows.html">#stacked-borrows</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-rhfx-m35p-ff5j">GHSA-rhfx-m35p-ff5j</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/jeromefroe/lru-rs/pull/224">
|
|
https://github.com/jeromefroe/lru-rs/pull/224
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&#62;=0.16.3</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="unaffected">Unaffected</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#60;0.9.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>Affected versions of this crate contain a soundness issue in the <code>IterMut</code>
|
|
iterator implementation. The <code>IterMut::next</code> and <code>IterMut::next_back</code>
|
|
methods temporarily create an exclusive reference to the key when
|
|
dereferencing the internal node pointer.</p>
|
|
<p>This invalidates the shared pointer held by the internal <code>HashMap</code>,
|
|
violating Stacked Borrows rules.</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> |