From 0fa4580f447513aef204262a5ae48faeeba64371 Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 27 Jan 2026 22:28:51 +0000 Subject: [PATCH] Update gh-pages --- advisories/RUSTSEC-2025-0144.html | 265 +++++++++++++++++++++++ advisories/index.html | 19 ++ categories/crypto-failure.html | 19 ++ feed.xml | 344 ++++++++++++++++++------------ js/index.js | 4 +- packages/index.html | 6 + packages/ml-dsa.html | 90 ++++++++ packages/ml-dsa.json | 75 +++++++ 8 files changed, 684 insertions(+), 138 deletions(-) create mode 100644 advisories/RUSTSEC-2025-0144.html create mode 100644 packages/ml-dsa.html create mode 100644 packages/ml-dsa.json diff --git a/advisories/RUSTSEC-2025-0144.html b/advisories/RUSTSEC-2025-0144.html new file mode 100644 index 000000000..4d0457cf6 --- /dev/null +++ b/advisories/RUSTSEC-2025-0144.html @@ -0,0 +1,265 @@ + + + + + + + +RUSTSEC-2025-0144: ml-dsa: Timing side-channel in ML-DSA decomposition › RustSec Advisory Database + + + + + + + + + +
+
+

+ + + +
+ +
+ +
+
+ + + History ⋅ + Edit ⋅ + JSON (OSV) + + + +
+

+ + RUSTSEC-2025-0144 + +

+

Timing side-channel in ML-DSA decomposition

+
+
+ + + +
+
Reported
+
+ +
+ +
Issued
+
+ + +
+ +
Package
+
+ + + ml-dsa + (crates.io) + + +
+ +
Type
+
+ + Vulnerability + +
+ + +
Categories
+
+ +
+ + + + + +
Aliases
+
+ +
+ + + +
References
+
+ +
+ + + + + +
CVSS Score
+
6.4 + MEDIUM +
+ +
CVSS Details
+
+
+ +
Attack Vector
+
Adjacent
+ +
Attack Complexity
+
High
+ +
Privileges Required
+
Low
+ +
User Interaction
+
None
+ +
Scope
+
Unchanged
+ +
Confidentiality Impact
+
High
+ +
Integrity Impact
+
High
+ +
Availability Impact
+
None
+ +
+
+ +
CVSS Vector
+ + +
CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
+ + + + +
Patched
+
+ +
    + +
  • >=0.1.0-rc.3
  • + +
+ +
+ + + + + +
+ + + + +

Description

+

Summary

+

A timing side-channel was discovered in the Decompose algorithm which is used during ML-DSA signing to generate hints for the signature.

+

Details

+

The analysis was performed using a constant-time analyzer that examines compiled assembly code for instructions with data-dependent timing behavior. The analyzer flags:

+
    +
  • UDIV/SDIV instructions: Hardware division instructions have early termination optimizations where execution time depends on operand values.
  • +
+

The 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:

+
    +
  • (&w - &cs2).low_bits() where cs2 is derived from secret key component s2
  • +
  • Hint::new() calls high_bits() on values derived from secret key component t0
  • +
+

Original Code:

+
fn decompose<TwoGamma2: Unsigned>(self) -> (Elem, Elem) {
+    // ...
+    let mut r1 = r_plus - r0;
+    r1.0 /= TwoGamma2::U32;  // Variable-time division on secret-derived data
+    (r1, r0)
+}
+
+

Impact

+

The 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.

+

Mitigation

+

Integer division was replaced with a constant-time Barrett reduction.

+ + +

Advisory available under CC-BY-4.0 + license. + + + + + Source: https://github.com/RustCrypto/signatures/security/advisories/GHSA-hcp2-x6j4-29j7 + + +

+
+
diff --git a/advisories/index.html b/advisories/index.html index 957ea039f..4813e955c 100644 --- a/advisories/index.html +++ b/advisories/index.html @@ -100,6 +100,25 @@

Wasmtime segfault or unused out-of-sandbox load with f64.copysign operator on x86-64

+ + +
  • + + + +

    + + MEDIUM + + + RUSTSEC-2025-0144: Vulnerability in ml-dsa + +

    +

    Timing side-channel in ML-DSA decomposition

    +
    +
  • diff --git a/categories/crypto-failure.html b/categories/crypto-failure.html index 72e876d1e..16e52f5b7 100644 --- a/categories/crypto-failure.html +++ b/categories/crypto-failure.html @@ -66,6 +66,25 @@