Update gh-pages

This commit is contained in:
github-actions
2026-01-27 22:28:51 +00:00
parent 7b579a9dd2
commit 0fa4580f44
8 changed files with 684 additions and 138 deletions
+265
View File
@@ -0,0 +1,265 @@
<!DOCTYPE html>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="utf-8">
<meta name="author" content="Rust Project Developers">
<meta name="description" content="Security advisory database for Rust crates published through https://crates.io">
<title>RUSTSEC-2025-0144: ml-dsa: Timing side-channel in ML-DSA decomposition › RustSec Advisory Database</title>
<link href="//fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,300italic,400italic" rel="stylesheet">
<link href="/css/basic.css" rel="stylesheet">
<link href="/css/highlight.css" rel="stylesheet">
<link href="/css/index.css" rel="stylesheet">
<script src="/js/index.js" defer></script>
<script src="/js/search.js" defer></script>
<header>
<div class="header-top">
<h1><a href="/"><img class="logo-image" src="/img/rustsec-logo.svg" /></a></h1>
<div class="search">
<form onsubmit="return searchform();">
<input type="search" id="search-term"
placeholder="Look up package or ID..." required
size="20">
</form>
</div>
</div>
<nav>
<div>
<a href="/">About</a>
<a href="/advisories/">Advisories</a>
<a href="/contributing.html">Report Vulnerabilities</a>
</div>
<div>
<a href="https://rust-lang.zulipchat.com/login/#narrow/stream/146229-wg-secure-code/" title="Zulip" aria-label="Zulip"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" style="height:1em;fill:currentColor"><path d="M473.09 122.97c0 22.69-10.19 42.85-25.72 55.08L296.61 312.69c-2.8 2.4-6.44-1.47-4.42-4.7l55.3-110.72c1.55-3.1-.46-6.91-3.64-6.91H129.36c-33.22 0-60.4-30.32-60.4-67.37 0-37.06 27.18-67.37 60.4-67.37h283.33c33.22-.02 60.4 30.3 60.4 67.35zM129.36 506.05h283.33c33.22 0 60.4-30.32 60.4-67.37 0-37.06-27.18-67.37-60.4-67.37H198.2c-3.18 0-5.19-3.81-3.64-6.91l55.3-110.72c2.02-3.23-1.62-7.1-4.42-4.7L94.68 383.6c-15.53 12.22-25.72 32.39-25.72 55.08 0 37.05 27.18 67.37 60.4 67.37zm522.5-124.15l124.78-179.6v-1.56H663.52v-48.98h190.09v34.21L731.55 363.24v1.56h124.01v48.98h-203.7V381.9zm338.98-230.14V302.6c0 45.09 17.1 68.03 47.43 68.03 31.1 0 48.2-21.77 48.2-68.03V151.76h59.09V298.7c0 80.86-40.82 119.34-109.24 119.34-66.09 0-104.96-36.54-104.96-120.12V151.76h59.48zm244.91 0h59.48v212.25h104.18v49.76h-163.66V151.76zm297 0v262.01h-59.48V151.76h59.48zm90.18 3.5c18.27-3.11 43.93-5.44 80.08-5.44 36.54 0 62.59 7 80.08 20.99 16.72 13.22 27.99 34.99 27.99 60.64 0 25.66-8.55 47.43-24.1 62.2-20.21 19.05-50.15 27.6-85.13 27.6-7.77 0-14.77-.39-20.21-1.17v93.69h-58.7V155.26zm58.7 118.96c5.05 1.17 11.27 1.55 19.83 1.55 31.49 0 50.92-15.94 50.92-42.76 0-24.1-16.72-38.49-46.26-38.49-12.05 0-20.21 1.17-24.49 2.33v77.37z"/></svg></a>
<a href="https://twitter.com/RustSec/" title="Twitter" aria-label="Twitter"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" style="height:1em;fill:currentColor"><path d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"/></svg></a>
<a href="https://github.com/RustSec/" title="GitHub" aria-label="GitHub"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512" style="height:1em;fill:currentColor"><path d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"/></svg></a>
<a href="/feed.xml" title="Atom Feed" aria-label="Atom Feed"><svg xmlns="http://www.w3.org/2000/svg" style="height:1em" viewBox="0 0 8 8">
<style type="text/css">
.button {stroke: none; fill: currentColor;}
.symbol {stroke: none; fill-opacity: 0;}
</style>
<rect class="button" width="8" height="8" rx="1.5" />
<circle class="symbol" cx="2" cy="6" r="1" />
<path class="symbol" d="m 1,4 a 3,3 0 0 1 3,3 h 1 a 4,4 0 0 0 -4,-4 z" />
<path class="symbol" d="m 1,2 a 5,5 0 0 1 5,5 h 1 a 6,6 0 0 0 -6,-6 z" />
</svg></a>
</div>
</nav>
</header>
<main class="advisory">
<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>
</main>
+19
View File
@@ -100,6 +100,25 @@
<span><p>Wasmtime segfault or unused out-of-sandbox load with <code>f64.copysign</code> operator on x86-64</p>
</span>
</li>
<li>
<time datetime="2026-01-27">
January 27, 2026
</time>
<h3>
<span class="tag medium">MEDIUM</span>
<a href="/advisories/RUSTSEC-2025-0144.html">
RUSTSEC-2025-0144: Vulnerability in ml-dsa
</a>
</h3>
<span><p>Timing side-channel in ML-DSA decomposition</p>
</span>
</li>
<li>
+19
View File
@@ -66,6 +66,25 @@
<ul>
<li>
<time datetime="2026-01-27">
January 27, 2026
</time>
<h3>
<span class="tag medium">MEDIUM</span>
<a href="/advisories/RUSTSEC-2025-0144.html">
RUSTSEC-2025-0144: Vulnerability in ml-dsa
</a>
</h3>
<span><p>Timing side-channel in ML-DSA decomposition</p>
</span>
</li>
<li>
<time datetime="2026-01-21">
January 21, 2026
+208 -136
View File
@@ -352,6 +352,214 @@ For more information see the GitHub-hosted security advisory.&lt;/p&gt;
license.
&lt;/p&gt;
&lt;/article&gt;</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"> &lt;article&gt;
&lt;span class=&quot;floating-menu&quot;&gt;
&lt;a href=&quot;https://github.com/RustSec/advisory-db/commits/main/crates/ml-dsa/RUSTSEC-2025-0144.md&quot;&gt;History&lt;/a&gt; ⋅
&lt;a href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/ml-dsa/RUSTSEC-2025-0144.md&quot;&gt;Edit&lt;/a&gt; ⋅
&lt;a href=&quot;https://api.osv.dev/v1/vulns/RUSTSEC-2025-0144&quot;&gt;JSON (OSV)&lt;/a&gt;
&lt;/span&gt;
&lt;header&gt;
&lt;h1&gt;
RUSTSEC-2025-0144
&lt;/h1&gt;
&lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;Timing side-channel in ML-DSA decomposition&lt;/p&gt;
&lt;/span&gt;
&lt;/header&gt;
&lt;dl&gt;
&lt;dt id=&quot;reported&quot;&gt;Reported&lt;/dt&gt;
&lt;dd&gt;
&lt;time datetime=&quot;2025-12-12&quot;&gt;
December 12, 2025
&lt;/time&gt;
&lt;/dd&gt;
&lt;dt id=&quot;issued&quot;&gt;Issued&lt;/dt&gt;
&lt;dd&gt;
&lt;time datetime=&quot;2026-01-27&quot;&gt;
January 27, 2026
&lt;/time&gt;
&lt;/dd&gt;
&lt;dt id=&quot;package&quot;&gt;Package&lt;/dt&gt;
&lt;dd&gt;
&lt;a href=&quot;/packages/ml-dsa.html&quot;&gt;ml-dsa&lt;/a&gt;
(&lt;a href=&quot;https://crates.io/crates/ml-dsa&quot;&gt;crates.io&lt;/a&gt;)
&lt;/dd&gt;
&lt;dt id=&quot;type&quot;&gt;Type&lt;/dt&gt;
&lt;dd&gt;
Vulnerability
&lt;/dd&gt;
&lt;dt id=&quot;categories&quot;&gt;Categories&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;/categories/crypto-failure.html&quot;&gt;crypto-failure&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt id=&quot;aliases&quot;&gt;Aliases&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href=&quot;https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-22705&quot;&gt;CVE-2026-22705&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&quot;https://github.com/advisories/GHSA-hcp2-x6j4-29j7&quot;&gt;GHSA-hcp2-x6j4-29j7&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt id=&quot;details&quot;&gt;References&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href=&quot;https://github.com/RustCrypto/signatures/security/advisories/GHSA-hcp2-x6j4-29j7&quot;&gt;
https://github.com/RustCrypto/signatures/security/advisories/GHSA-hcp2-x6j4-29j7
&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt id=&quot;cvss_score&quot;&gt;CVSS Score&lt;/dt&gt;
&lt;dd&gt;6.4 &lt;span class=&quot;tag medium&quot;&gt;
MEDIUM
&lt;/span&gt;&lt;/dd&gt;
&lt;dt id=&quot;cvss_details&quot;&gt;CVSS Details&lt;/dt&gt;
&lt;dd&gt;
&lt;dl&gt;
&lt;dt&gt;Attack Vector&lt;/dt&gt;
&lt;dd&gt;Adjacent&lt;/dd&gt;
&lt;dt&gt;Attack Complexity&lt;/dt&gt;
&lt;dd&gt;High&lt;/dd&gt;
&lt;dt&gt;Privileges Required&lt;/dt&gt;
&lt;dd&gt;Low&lt;/dd&gt;
&lt;dt&gt;User Interaction&lt;/dt&gt;
&lt;dd&gt;None&lt;/dd&gt;
&lt;dt&gt;Scope&lt;/dt&gt;
&lt;dd&gt;Unchanged&lt;/dd&gt;
&lt;dt&gt;Confidentiality Impact&lt;/dt&gt;
&lt;dd&gt;High&lt;/dd&gt;
&lt;dt&gt;Integrity Impact&lt;/dt&gt;
&lt;dd&gt;High&lt;/dd&gt;
&lt;dt&gt;Availability Impact&lt;/dt&gt;
&lt;dd&gt;None&lt;/dd&gt;
&lt;/dl&gt;
&lt;/dd&gt;
&lt;dt id=&quot;cvss&quot;&gt;CVSS Vector&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;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&quot;&gt;CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N&lt;/a&gt;&lt;/dd&gt;
&lt;dt id=&quot;patched&quot;&gt;Patched&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;#62;=0.1.0-rc.3&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;h3 id=&quot;description&quot;&gt;Description&lt;/h3&gt;
&lt;h3&gt;Summary&lt;/h3&gt;
&lt;p&gt;A timing side-channel was discovered in the Decompose algorithm which is used during ML-DSA signing to generate hints for the signature.&lt;/p&gt;
&lt;h3&gt;Details&lt;/h3&gt;
&lt;p&gt;The analysis was performed using a constant-time analyzer that examines compiled assembly code for instructions with data-dependent timing behavior. The analyzer flags:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;UDIV/SDIV instructions&lt;/strong&gt;: Hardware division instructions have early termination optimizations where execution time depends on operand values.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The &lt;code&gt;decompose&lt;/code&gt; function used a hardware division instruction to compute &lt;code&gt;r1.0 / TwoGamma2::U32&lt;/code&gt;. This function is called during signing through &lt;code&gt;high_bits()&lt;/code&gt; and &lt;code&gt;low_bits()&lt;/code&gt;, which process values derived from secret key components:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;(&amp;amp;w - &amp;amp;cs2).low_bits()&lt;/code&gt; where &lt;code&gt;cs2&lt;/code&gt; is derived from secret key component &lt;code&gt;s2&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;Hint::new()&lt;/code&gt; calls &lt;code&gt;high_bits()&lt;/code&gt; on values derived from secret key component &lt;code&gt;t0&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Original Code&lt;/strong&gt;:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-rust&quot;&gt;fn decompose&amp;lt;TwoGamma2: Unsigned&amp;gt;(self) -&amp;gt; (Elem, Elem) {
// ...
let mut r1 = r_plus - r0;
r1.0 /= TwoGamma2::U32; // Variable-time division on secret-derived data
(r1, r0)
}
&lt;/code&gt;&lt;/pre&gt;
&lt;h3&gt;Impact&lt;/h3&gt;
&lt;p&gt;The dividend (&lt;code&gt;r1.0&lt;/code&gt;) 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.&lt;/p&gt;
&lt;h3&gt;Mitigation&lt;/h3&gt;
&lt;p&gt;Integer division was replaced with a constant-time Barrett reduction.&lt;/p&gt;
&lt;p id=&quot;license&quot; class=&quot;license&quot;&gt;Advisory available under &lt;a href=&quot;https://spdx.org/licenses/CC-BY-4.0.html&quot;&gt;CC-BY-4.0&lt;/a&gt;
license.
Source: &lt;a href=&quot;https://github.com/RustCrypto/signatures/security/advisories/GHSA-hcp2-x6j4-29j7&quot;&gt;https://github.com/RustCrypto/signatures/security/advisories/GHSA-hcp2-x6j4-29j7&lt;/a&gt;
&lt;/p&gt;
&lt;/article&gt;</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"> &lt;article&gt;
@@ -1528,141 +1736,5 @@ violating Stacked Borrows rules.&lt;/p&gt;
license.
&lt;/p&gt;
&lt;/article&gt;</content></entry><entry><title>RUSTSEC-2026-0001: Vulnerability in rkyv</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0001.html</id><updated>2026-01-06T12:00:00+00:00</updated><category term="memory-corruption"/><link href="https://rustsec.org/advisories/RUSTSEC-2026-0001.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0001: Vulnerability in rkyv"/><published>2026-01-05T12:00:00+00:00</published><summary xml:lang="en">Potential Undefined Behaviors in `Arc&amp;lt;T&amp;gt;`/`Rc&amp;lt;T&amp;gt;` impls of `from_value` on OOM</summary><content xml:lang="en" type="html"> &lt;article&gt;
&lt;span class=&quot;floating-menu&quot;&gt;
&lt;a href=&quot;https://github.com/RustSec/advisory-db/commits/main/crates/rkyv/RUSTSEC-2026-0001.md&quot;&gt;History&lt;/a&gt; ⋅
&lt;a href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/rkyv/RUSTSEC-2026-0001.md&quot;&gt;Edit&lt;/a&gt; ⋅
&lt;a href=&quot;https://api.osv.dev/v1/vulns/RUSTSEC-2026-0001&quot;&gt;JSON (OSV)&lt;/a&gt;
&lt;/span&gt;
&lt;header&gt;
&lt;h1&gt;
RUSTSEC-2026-0001
&lt;/h1&gt;
&lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;Potential Undefined Behaviors in &lt;code&gt;Arc&amp;lt;T&amp;gt;&lt;/code&gt;/&lt;code&gt;Rc&amp;lt;T&amp;gt;&lt;/code&gt; impls of &lt;code&gt;from_value&lt;/code&gt; on OOM&lt;/p&gt;
&lt;/span&gt;
&lt;/header&gt;
&lt;dl&gt;
&lt;dt id=&quot;reported&quot;&gt;Reported&lt;/dt&gt;
&lt;dd&gt;
&lt;time datetime=&quot;2026-01-05&quot;&gt;
January 5, 2026
&lt;/time&gt;
&lt;/dd&gt;
&lt;dt id=&quot;issued&quot;&gt;Issued&lt;/dt&gt;
&lt;dd&gt;
&lt;time datetime=&quot;2026-01-05&quot;&gt;
January 5, 2026
&lt;/time&gt;
&lt;time datetime=&quot;2026-01-06&quot;&gt;
(last modified: January 6, 2026)
&lt;/time&gt;
&lt;/dd&gt;
&lt;dt id=&quot;package&quot;&gt;Package&lt;/dt&gt;
&lt;dd&gt;
&lt;a href=&quot;/packages/rkyv.html&quot;&gt;rkyv&lt;/a&gt;
(&lt;a href=&quot;https://crates.io/crates/rkyv&quot;&gt;crates.io&lt;/a&gt;)
&lt;/dd&gt;
&lt;dt id=&quot;type&quot;&gt;Type&lt;/dt&gt;
&lt;dd&gt;
Vulnerability
&lt;/dd&gt;
&lt;dt id=&quot;categories&quot;&gt;Categories&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;/categories/memory-corruption.html&quot;&gt;memory-corruption&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt id=&quot;keywords&quot;&gt;Keywords&lt;/dt&gt;
&lt;dd&gt;
&lt;a href=&quot;/keywords/oom.html&quot;&gt;#oom&lt;/a&gt;
&lt;a href=&quot;/keywords/undefined-behavior.html&quot;&gt;#undefined-behavior&lt;/a&gt;
&lt;/dd&gt;
&lt;dt id=&quot;details&quot;&gt;References&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href=&quot;https://github.com/rkyv/rkyv/issues/644&quot;&gt;
https://github.com/rkyv/rkyv/issues/644
&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt id=&quot;patched&quot;&gt;Patched&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;#62;=0.7.46, &amp;#60;0.8.0&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&amp;#62;=0.8.13&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;h3 id=&quot;description&quot;&gt;Description&lt;/h3&gt;
&lt;p&gt;The &lt;code&gt;SharedPointer::alloc&lt;/code&gt; implementation for &lt;code&gt;sync::Arc&amp;lt;T&amp;gt;&lt;/code&gt; and &lt;code&gt;rc::Rc&amp;lt;T&amp;gt;&lt;/code&gt; in &lt;code&gt;rkyv/src/impls/alloc/rc/atomic.rs&lt;/code&gt; (and &lt;code&gt;rc.rs&lt;/code&gt;) does not check if the allocator returns a null pointer on OOM (Out of Memory).&lt;/p&gt;
&lt;p&gt;This null pointer can flow through to &lt;code&gt;SharedPointer::from_value&lt;/code&gt;, which calls &lt;code&gt;Box::from_raw(ptr)&lt;/code&gt; with the null pointer. This triggers undefined behavior when utilizing safe deserialization APIs (such as &lt;code&gt;rkyv::from_bytes&lt;/code&gt; or &lt;code&gt;rkyv::deserialize_using&lt;/code&gt;) if an OOM condition occurs during the allocation of the shared pointer.&lt;/p&gt;
&lt;p&gt;The issue is reachable through safe code and violates Rust&apos;s safety guarantees.&lt;/p&gt;
&lt;p id=&quot;license&quot; class=&quot;license&quot;&gt;Advisory available under &lt;a href=&quot;https://spdx.org/licenses/CC0-1.0.html&quot;&gt;CC0-1.0&lt;/a&gt;
license.
&lt;/p&gt;
&lt;/article&gt;</content></entry></feed>
+2 -2
View File
File diff suppressed because one or more lines are too long
+6
View File
@@ -2208,6 +2208,12 @@
</li>
<li><a href="/packages/ml-dsa.html">ml-dsa</a>
(1)
</li>
<li><a href="/packages/mmap.html">mmap</a>
(1)
+90
View File
@@ -0,0 +1,90 @@
<!DOCTYPE html>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="utf-8">
<meta name="author" content="Rust Project Developers">
<meta name="description" content="Security advisory database for Rust crates published through https://crates.io">
<title>Advisories for package &#39;ml-dsa&#39; › RustSec Advisory Database</title>
<link href="//fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,300italic,400italic" rel="stylesheet">
<link href="/css/basic.css" rel="stylesheet">
<link href="/css/highlight.css" rel="stylesheet">
<link href="/css/index.css" rel="stylesheet">
<script src="/js/index.js" defer></script>
<script src="/js/search.js" defer></script>
<header>
<div class="header-top">
<h1><a href="/"><img class="logo-image" src="/img/rustsec-logo.svg" /></a></h1>
<div class="search">
<form onsubmit="return searchform();">
<input type="search" id="search-term"
placeholder="Look up package or ID..." required
size="20">
</form>
</div>
</div>
<nav>
<div>
<a href="/">About</a>
<a href="/advisories/">Advisories</a>
<a href="/contributing.html">Report Vulnerabilities</a>
</div>
<div>
<a href="https://rust-lang.zulipchat.com/login/#narrow/stream/146229-wg-secure-code/" title="Zulip" aria-label="Zulip"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" style="height:1em;fill:currentColor"><path d="M473.09 122.97c0 22.69-10.19 42.85-25.72 55.08L296.61 312.69c-2.8 2.4-6.44-1.47-4.42-4.7l55.3-110.72c1.55-3.1-.46-6.91-3.64-6.91H129.36c-33.22 0-60.4-30.32-60.4-67.37 0-37.06 27.18-67.37 60.4-67.37h283.33c33.22-.02 60.4 30.3 60.4 67.35zM129.36 506.05h283.33c33.22 0 60.4-30.32 60.4-67.37 0-37.06-27.18-67.37-60.4-67.37H198.2c-3.18 0-5.19-3.81-3.64-6.91l55.3-110.72c2.02-3.23-1.62-7.1-4.42-4.7L94.68 383.6c-15.53 12.22-25.72 32.39-25.72 55.08 0 37.05 27.18 67.37 60.4 67.37zm522.5-124.15l124.78-179.6v-1.56H663.52v-48.98h190.09v34.21L731.55 363.24v1.56h124.01v48.98h-203.7V381.9zm338.98-230.14V302.6c0 45.09 17.1 68.03 47.43 68.03 31.1 0 48.2-21.77 48.2-68.03V151.76h59.09V298.7c0 80.86-40.82 119.34-109.24 119.34-66.09 0-104.96-36.54-104.96-120.12V151.76h59.48zm244.91 0h59.48v212.25h104.18v49.76h-163.66V151.76zm297 0v262.01h-59.48V151.76h59.48zm90.18 3.5c18.27-3.11 43.93-5.44 80.08-5.44 36.54 0 62.59 7 80.08 20.99 16.72 13.22 27.99 34.99 27.99 60.64 0 25.66-8.55 47.43-24.1 62.2-20.21 19.05-50.15 27.6-85.13 27.6-7.77 0-14.77-.39-20.21-1.17v93.69h-58.7V155.26zm58.7 118.96c5.05 1.17 11.27 1.55 19.83 1.55 31.49 0 50.92-15.94 50.92-42.76 0-24.1-16.72-38.49-46.26-38.49-12.05 0-20.21 1.17-24.49 2.33v77.37z"/></svg></a>
<a href="https://twitter.com/RustSec/" title="Twitter" aria-label="Twitter"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" style="height:1em;fill:currentColor"><path d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"/></svg></a>
<a href="https://github.com/RustSec/" title="GitHub" aria-label="GitHub"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512" style="height:1em;fill:currentColor"><path d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"/></svg></a>
<a href="/feed.xml" title="Atom Feed" aria-label="Atom Feed"><svg xmlns="http://www.w3.org/2000/svg" style="height:1em" viewBox="0 0 8 8">
<style type="text/css">
.button {stroke: none; fill: currentColor;}
.symbol {stroke: none; fill-opacity: 0;}
</style>
<rect class="button" width="8" height="8" rx="1.5" />
<circle class="symbol" cx="2" cy="6" r="1" />
<path class="symbol" d="m 1,4 a 3,3 0 0 1 3,3 h 1 a 4,4 0 0 0 -4,-4 z" />
<path class="symbol" d="m 1,2 a 5,5 0 0 1 5,5 h 1 a 6,6 0 0 0 -6,-6 z" />
</svg></a>
</div>
</nav>
</header>
<main class="advisories">
<article>
<header>
<span class="floating-menu">
<a href="/categories/">Categories</a> ⋅
<a href="/keywords/">Keywords</a> ⋅
<a href="/packages/">Packages</a>
</span>
<h1>Advisories for package &#39;ml-dsa&#39;</h1>
</header>
<ul>
<li>
<time datetime="2026-01-27">
January 27, 2026
</time>
<h3>
<span class="tag medium">MEDIUM</span>
<a href="/advisories/RUSTSEC-2025-0144.html">
RUSTSEC-2025-0144: Vulnerability in ml-dsa
</a>
</h3>
<span><p>Timing side-channel in ML-DSA decomposition</p>
</span>
</li>
</ul>
</article>
</main>
+75
View File
@@ -0,0 +1,75 @@
[
{
"id": "RUSTSEC-2025-0144",
"modified": "2026-01-27T22:28:37Z",
"published": "2025-12-12T12:00:00Z",
"aliases": [
"CVE-2026-22705",
"GHSA-hcp2-x6j4-29j7"
],
"related": [],
"summary": "Timing side-channel in ML-DSA decomposition",
"details": "### Summary\n\nA timing side-channel was discovered in the Decompose algorithm which is used during ML-DSA signing to generate hints for the signature.\n\n### Details\n\nThe analysis was performed using a constant-time analyzer that examines compiled assembly code for instructions with data-dependent timing behavior. The analyzer flags:\n\n- **UDIV/SDIV instructions**: Hardware division instructions have early termination optimizations where execution time depends on operand values.\n\nThe `decompose` function used a hardware division instruction to compute `r1.0 / TwoGamma2::U32`. This function is called during signing through `high_bits()` and `low_bits()`, which process values derived from secret key components:\n\n- `(&w - &cs2).low_bits()` where `cs2` is derived from secret key component `s2`\n- `Hint::new()` calls `high_bits()` on values derived from secret key component `t0`\n\n**Original Code**:\n```rust\nfn decompose<TwoGamma2: Unsigned>(self) -> (Elem, Elem) {\n // ...\n let mut r1 = r_plus - r0;\n r1.0 /= TwoGamma2::U32; // Variable-time division on secret-derived data\n (r1, r0)\n}\n```\n\n### Impact\n\nThe dividend (`r1.0`) 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.\n\n### Mitigation\n\nInteger division was replaced with a constant-time Barrett reduction.",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N"
}
],
"affected": [
{
"package": {
"ecosystem": "crates.io",
"name": "ml-dsa",
"purl": "pkg:cargo/ml-dsa"
},
"ecosystem_specific": {
"affects": {
"arch": [],
"os": [],
"functions": []
},
"affected_functions": null
},
"database_specific": {
"categories": [
"crypto-failure"
],
"cvss": "CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N",
"informational": null
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0.0.0-0"
},
{
"fixed": "0.1.0-rc.3"
}
]
}
],
"versions": []
}
],
"references": [
{
"type": "PACKAGE",
"url": "https://crates.io/crates/ml-dsa"
},
{
"type": "ADVISORY",
"url": "https://rustsec.org/advisories/RUSTSEC-2025-0144.html"
},
{
"type": "ADVISORY",
"url": "https://github.com/RustCrypto/signatures/security/advisories/GHSA-hcp2-x6j4-29j7"
}
],
"database_specific": {
"license": "CC-BY-4.0"
}
}
]