mirror of
https://github.com/rustsec/advisory-db.git
synced 2026-11-30 16:34:33 -06:00
1986 lines
65 KiB
XML
1986 lines
65 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-05-13T12:00:00+00:00</updated><author><name>RustSec</name></author><icon>https://rustsec.org/favicon.ico</icon><link href="https://rustsec.org/feed.xml" rel="self" type="application/atom+xml"/><link href="https://rustsec.org/" rel="alternate" type="text/html"/><subtitle xml:lang="en">Security advisories filed against Rust crates</subtitle><entry><title>RUSTSEC-2026-0129: Unsoundness in dahl-salso</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0129.html</id><updated>2026-05-13T12:00:00+00:00</updated><category term="memory-corruption"/><link href="https://rustsec.org/advisories/RUSTSEC-2026-0129.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0129: Unsoundness in dahl-salso"/><published>2026-05-13T12:00:00+00:00</published><summary xml:lang="en">Buffer overflow in `Clusterings::from_i32_column_major_order()`</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/dahl-salso/RUSTSEC-2026-0129.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/dahl-salso/RUSTSEC-2026-0129.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0129">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0129
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Buffer overflow in <code>Clusterings::from_i32_column_major_order()</code></p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-05-02">
|
|
May 2, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-05-13">
|
|
May 13, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/dahl-salso.html">dahl-salso</a>
|
|
|
|
(<a href="https://crates.io/crates/dahl-salso">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/out-of-bounds.html">#out-of-bounds</a>
|
|
|
|
<a href="/keywords/buffer-overflow.html">#buffer-overflow</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/dbdahl/rust-dahl-salso/issues/1">
|
|
https://github.com/dbdahl/rust-dahl-salso/issues/1
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&#62;=0.6.8</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The <code>from_i32_column_major_order</code> method can create inconsistent internal
|
|
state. When <code>labels</code> length and <code>n_items</code> mismatch, <code>n_clusterings</code> becomes
|
|
<code>labels.len() / n_items</code> (truncated), but subsequent calls to <code>label()</code> use
|
|
indices that exceed the internal data bounds, causing a buffer overflow.</p>
|
|
<p>For example, <code>Clusterings::from_i32_column_major_order(&amp;[1,2,3,4,5], 3)</code>
|
|
creates clusterings with <code>n_clusterings = 5/3 = 1</code>. Then
|
|
<code>clusterings.label(1, 0)</code> accesses index <code>1*3 = 3</code>, but only 3 elements
|
|
exist (indices 0,1,2), causing out-of-bounds access.</p>
|
|
<p>This can be triggered through safe public APIs —
|
|
<code>from_i32_column_major_order()</code> and <code>label()</code> — with no <code>unsafe</code> required
|
|
from the caller.</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-0124: Vulnerability in libcrux-chacha20poly1305</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0124.html</id><updated>2026-05-13T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2026-0124.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0124: Vulnerability in libcrux-chacha20poly1305"/><published>2026-05-13T12:00:00+00:00</published><summary xml:lang="en">Potential Panic on Overlong Ciphertext Buffer</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/libcrux-chacha20poly1305/RUSTSEC-2026-0124.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/libcrux-chacha20poly1305/RUSTSEC-2026-0124.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0124">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0124
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Potential Panic on Overlong Ciphertext Buffer</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-03-29">
|
|
March 29, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-05-13">
|
|
May 13, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/libcrux-chacha20poly1305.html">libcrux-chacha20poly1305</a>
|
|
|
|
(<a href="https://crates.io/crates/libcrux-chacha20poly1305">crates.io</a>)
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
Vulnerability
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/cryspen/libcrux/pull/1386">
|
|
https://github.com/cryspen/libcrux/pull/1386
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="cvss_score">CVSS Score</dt>
|
|
<dd>8.2 <span class="tag high">
|
|
HIGH
|
|
</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>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>None</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>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:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N">CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N</a></dd>
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&#62;=0.0.8</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt>Affected Functions</dt>
|
|
<dd>Version</dd>
|
|
|
|
<dt><code>libcrux_chacha20poly1305::encrypt</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#60;0.0.8</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
<dt><code>libcrux_chacha20poly1305::xchacha20_poly1305::encrypt</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#60;0.0.8</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>An application that passes in a ciphertext buffer of length greater
|
|
than <code>ptxt.len() + TAG_LEN</code> to <code>libcrux_chacha20poly1305::encrypt</code> or
|
|
<code>libcrux_chacha20poly1305::xchacha20_poly1305::encrypt</code> would
|
|
experience a panic.</p>
|
|
<h2>Impact</h2>
|
|
<p>An application where the length of the ciphertext buffer is under
|
|
attacker control could be made to crash.</p>
|
|
<h2>Mitigation</h2>
|
|
<p>The fix makes it so that <code>libcrux_chacha20poly1305::encrypt</code> and
|
|
<code>libcrux_chacha20poly1305::xchacha20_poly1305::encrypt</code> no longer
|
|
panic in this case, but instead write out the ciphertext and tag into
|
|
the first <code>ptxt.len() + TAG_LEN</code> bytes of the provided buffer.</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-0128: Unsoundness in emap</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0128.html</id><updated>2026-05-13T12:00:00+00:00</updated><category term="memory-corruption"/><link href="https://rustsec.org/advisories/RUSTSEC-2026-0128.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0128: Unsoundness in emap"/><published>2026-05-13T12:00:00+00:00</published><summary xml:lang="en">Double-free and use-after-free in `Keys::next()`</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/emap/RUSTSEC-2026-0128.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/emap/RUSTSEC-2026-0128.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0128">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0128
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Double-free and use-after-free in <code>Keys::next()</code></p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-05-02">
|
|
May 2, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-05-13">
|
|
May 13, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/emap.html">emap</a>
|
|
|
|
(<a href="https://crates.io/crates/emap">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/double-free.html">#double-free</a>
|
|
|
|
<a href="/keywords/use-after-free.html">#use-after-free</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/yegor256/emap/issues/168">
|
|
https://github.com/yegor256/emap/issues/168
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
no patched versions
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p><code>Keys::next()</code> uses <code>ptr::read</code> to move out the <code>Option&lt;V&gt;</code> by value, which
|
|
drops the contained <code>V</code> when <code>V</code> is non-Copy (e.g. <code>String</code>). This leaves a
|
|
dangling value in the map's storage slot. Subsequent <code>get()</code> operations on
|
|
that key return a dangling reference to already-freed memory.</p>
|
|
<p>This can be triggered through safe public APIs — <code>Map::keys()</code>,
|
|
<code>Keys::next()</code>, and <code>Map::get()</code> — with no <code>unsafe</code> required from the
|
|
caller. Under Miri, accessing the freed slot produces &quot;Undefined Behavior:
|
|
pointer not dereferenceable: alloc has been freed, so this pointer is
|
|
dangling&quot;.</p>
|
|
|
|
|
|
<p id="license" class="license">Advisory available under <a href="https://spdx.org/licenses/CC0-1.0.html">CC0-1.0</a>
|
|
license.
|
|
|
|
|
|
</p>
|
|
</article></content></entry><entry><title>RUSTSEC-2026-0131: Unsoundness in bitchomp</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0131.html</id><updated>2026-05-13T12:00:00+00:00</updated><category term="memory-corruption"/><link href="https://rustsec.org/advisories/RUSTSEC-2026-0131.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0131: Unsoundness in bitchomp"/><published>2026-05-13T12:00:00+00:00</published><summary xml:lang="en">Double-free in `Chomp::inner()`</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/bitchomp/RUSTSEC-2026-0131.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/bitchomp/RUSTSEC-2026-0131.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0131">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0131
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Double-free in <code>Chomp::inner()</code></p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-05-02">
|
|
May 2, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-05-13">
|
|
May 13, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/bitchomp.html">bitchomp</a>
|
|
|
|
(<a href="https://crates.io/crates/bitchomp">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/double-free.html">#double-free</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/KingPEPSALT/bitchomp/issues/5">
|
|
https://github.com/KingPEPSALT/bitchomp/issues/5
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
no patched versions
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p><code>Chomp::inner()</code> uses <code>std::ptr::read_unaligned</code> to move out the value from a
|
|
raw pointer. If the original value is an owned type (e.g. <code>Box</code>), calling
|
|
<code>inner()</code> moves out the ownership, but the original variable will still be
|
|
dropped at the end of its scope. This causes the same heap memory to be freed
|
|
twice, resulting in a double-free and undefined behavior.</p>
|
|
<p>This can be triggered through safe public APIs — <code>Chomp::new()</code> and
|
|
<code>Chomp::inner()</code> — with no <code>unsafe</code> required from the caller.</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-0132: Unsoundness in ssdeep</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0132.html</id><updated>2026-05-13T12:00:00+00:00</updated><category term="memory-corruption"/><link href="https://rustsec.org/advisories/RUSTSEC-2026-0132.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0132: Unsoundness in ssdeep"/><published>2026-05-13T12:00:00+00:00</published><summary xml:lang="en">Potential out-of-bounds write via public `Context` fields</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/ssdeep/RUSTSEC-2026-0132.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/ssdeep/RUSTSEC-2026-0132.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0132">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0132
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Potential out-of-bounds write via public <code>Context</code> fields</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-05-02">
|
|
May 2, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-05-13">
|
|
May 13, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/ssdeep.html">ssdeep</a>
|
|
|
|
(<a href="https://crates.io/crates/ssdeep">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/out-of-bounds.html">#out-of-bounds</a>
|
|
|
|
<a href="/keywords/encapsulation.html">#encapsulation</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/rustysec/fuzzyhash-rs/issues/14">
|
|
https://github.com/rustysec/fuzzyhash-rs/issues/14
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
no patched versions
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The <code>Context</code> struct has all fields public (<code>pub d_len</code>, <code>pub digest</code>, etc.).
|
|
External code can directly modify <code>d_len</code> to a value exceeding the <code>digest</code>
|
|
vector length. When <code>reset()</code> is subsequently called,
|
|
<code>self.digest[self.d_len as usize] = 0</code> indexes out of bounds, causing an
|
|
out-of-bounds write.</p>
|
|
<p>This can be triggered through safe code — modifying public <code>Context</code> fields
|
|
and then calling <code>reset()</code> — with no <code>unsafe</code> required.</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-0130: Unsoundness in caja</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0130.html</id><updated>2026-05-13T12:00:00+00:00</updated><category term="memory-corruption"/><link href="https://rustsec.org/advisories/RUSTSEC-2026-0130.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0130: Unsoundness in caja"/><published>2026-05-13T12:00:00+00:00</published><summary xml:lang="en">Out-of-bounds read/write in `Index` and `IndexMut` implementations</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/caja/RUSTSEC-2026-0130.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/caja/RUSTSEC-2026-0130.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0130">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0130
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Out-of-bounds read/write in <code>Index</code> and <code>IndexMut</code> implementations</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-05-02">
|
|
May 2, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-05-13">
|
|
May 13, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/caja.html">caja</a>
|
|
|
|
(<a href="https://crates.io/crates/caja">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/out-of-bounds.html">#out-of-bounds</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/EmanuelGCC/Caja/issues/1">
|
|
https://github.com/EmanuelGCC/Caja/issues/1
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&#62;=0.3.0</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The <code>Index</code> and <code>IndexMut</code> implementations for <code>Caja</code> use unchecked pointer
|
|
arithmetic without bounds validation. Creating a <code>Caja</code> with a small key and
|
|
then accessing an out-of-range index causes out-of-bounds reads or writes
|
|
beyond the allocated memory.</p>
|
|
<p>This can be triggered through safe public APIs — the <code>[]</code> indexing operator
|
|
on a <code>Caja</code> with an out-of-range index — with no <code>unsafe</code> required from the
|
|
caller.</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-0133: Unsoundness in auto_vec</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0133.html</id><updated>2026-05-13T12:00:00+00:00</updated><category term="memory-corruption"/><link href="https://rustsec.org/advisories/RUSTSEC-2026-0133.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0133: Unsoundness in auto_vec"/><published>2026-05-13T12:00:00+00:00</published><summary xml:lang="en">Invalid pointer arithmetic in `iter()` and `iter_mut()`</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/auto_vec/RUSTSEC-2026-0133.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/auto_vec/RUSTSEC-2026-0133.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0133">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0133
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Invalid pointer arithmetic in <code>iter()</code> and <code>iter_mut()</code></p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-05-02">
|
|
May 2, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-05-13">
|
|
May 13, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/auto_vec.html">auto_vec</a>
|
|
|
|
(<a href="https://crates.io/crates/auto_vec">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/out-of-bounds.html">#out-of-bounds</a>
|
|
|
|
<a href="/keywords/pointer-arithmetic.html">#pointer-arithmetic</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/lluvz/AutoVec/issues/1">
|
|
https://github.com/lluvz/AutoVec/issues/1
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
no patched versions
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The <code>iter()</code> and <code>iter_mut()</code> APIs compute
|
|
<code>current = (&amp;children[0] as *const *const RawAutoChild).sub(1)</code>, which
|
|
performs pointer subtraction going before the start of the allocation. This
|
|
is undefined behavior per Rust's pointer arithmetic rules.</p>
|
|
<p>This can be triggered through safe public APIs — <code>iter()</code> and <code>iter_mut()</code>
|
|
— with no <code>unsafe</code> required from the caller.</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-0126: Security notice about libcrux-ml-dsa</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0126.html</id><updated>2026-05-13T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2026-0126.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0126: Security notice about libcrux-ml-dsa"/><published>2026-05-13T12:00:00+00:00</published><summary xml:lang="en">AVX2 Implementation Did Not Fully Reduce Intermediate Values</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/libcrux-ml-dsa/RUSTSEC-2026-0126.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/libcrux-ml-dsa/RUSTSEC-2026-0126.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0126">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0126
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>AVX2 Implementation Did Not Fully Reduce Intermediate Values</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-04-27">
|
|
April 27, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-05-13">
|
|
May 13, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/libcrux-ml-dsa.html">libcrux-ml-dsa</a>
|
|
|
|
(<a href="https://crates.io/crates/libcrux-ml-dsa">crates.io</a>)
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
<span class="tag info">INFO</span>
|
|
Notice
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/cryspen/libcrux/pull/1395">
|
|
https://github.com/cryspen/libcrux/pull/1395
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&#62;=0.0.9</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt>Affected Architectures</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>x86_64</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The AVX2 implementation of ML-DSA did not fully reduce intermediate
|
|
inputs to the inverse NTT, which leads to a testable difference in
|
|
panic behaviour of internal functions compared to the portable
|
|
implementation.</p>
|
|
<h2>Impact</h2>
|
|
<p>We are not aware of inputs to the public key generation, signing or
|
|
verification APIs that trigger a panic in the AVX2 implementation
|
|
because the intermediate values were not fully reduced.</p>
|
|
<h2>Mitigation</h2>
|
|
<p>From version <code>0.0.9</code> intermediate values on AVX2 platforms are fully
|
|
reduced in alignment with the portable implementation.</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-0125: Vulnerability in libcrux-ml-dsa</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0125.html</id><updated>2026-05-13T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2026-0125.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0125: Vulnerability in libcrux-ml-dsa"/><published>2026-05-13T12:00:00+00:00</published><summary xml:lang="en">Signature Verification on AVX2 Platforms Mishandles Edge Case</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/libcrux-ml-dsa/RUSTSEC-2026-0125.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/libcrux-ml-dsa/RUSTSEC-2026-0125.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0125">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0125
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Signature Verification on AVX2 Platforms Mishandles Edge Case</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-05-05">
|
|
May 5, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-05-13">
|
|
May 13, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/libcrux-ml-dsa.html">libcrux-ml-dsa</a>
|
|
|
|
(<a href="https://crates.io/crates/libcrux-ml-dsa">crates.io</a>)
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
Vulnerability
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/cryspen/libcrux/pull/1398">
|
|
https://github.com/cryspen/libcrux/pull/1398
|
|
</a>
|
|
</li>
|
|
|
|
|
|
<li>
|
|
<a href="https://github.com/C2SP/wycheproof/pull/234">
|
|
https://github.com/C2SP/wycheproof/pull/234
|
|
</a>
|
|
</li>
|
|
|
|
<li>
|
|
<a href="https://github.com/tink-crypto/tink-go/pull/48">
|
|
https://github.com/tink-crypto/tink-go/pull/48
|
|
</a>
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="cvss_score">CVSS Score</dt>
|
|
<dd>8.2 <span class="tag high">
|
|
HIGH
|
|
</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>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>None</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>None</dd>
|
|
|
|
<dt>Integrity Impact to the Vulnerable System</dt>
|
|
<dd>High</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:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N">CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N</a></dd>
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&#62;=0.0.9</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt>Affected Architectures</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>x86_64</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The AVX2 implementation of ML-DSA verification incorrectly implemented
|
|
the <code>use_hint</code> function, mishandling an edge case that should lead to
|
|
signature rejection.</p>
|
|
<h2>Impact</h2>
|
|
<p>An attacker could make the ML-DSA verifier accept a crafted invalid
|
|
signature under a maliciously generated verification key, if the AVX2
|
|
implementation is used.</p>
|
|
<h2>Mitigation</h2>
|
|
<p>From version <code>0.0.9</code> the edge case is handled correctly and invalid
|
|
signatures are rejected.</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-0127: Unsoundness in accessor</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0127.html</id><updated>2026-05-13T12:00:00+00:00</updated><category term="memory-corruption"/><link href="https://rustsec.org/advisories/RUSTSEC-2026-0127.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0127: Unsoundness in accessor"/><published>2026-05-13T12:00:00+00:00</published><summary xml:lang="en">Integer overflow in `array::ReadWrite::new()` leading to potential memory corruption</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/accessor/RUSTSEC-2026-0127.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/accessor/RUSTSEC-2026-0127.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0127">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0127
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Integer overflow in <code>array::ReadWrite::new()</code> leading to potential memory corruption</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-05-02">
|
|
May 2, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-05-13">
|
|
May 13, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/accessor.html">accessor</a>
|
|
|
|
(<a href="https://crates.io/crates/accessor">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/integer-overflow.html">#integer-overflow</a>
|
|
|
|
<a href="/keywords/out-of-bounds.html">#out-of-bounds</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/toku-sa-n/accessor/issues/49">
|
|
https://github.com/toku-sa-n/accessor/issues/49
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
no patched versions
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>In <code>array::ReadWrite::new()</code> (line 83 of <code>accessor/src/array.rs</code>),
|
|
<code>let bytes = mem::size_of::&lt;T&gt;() * len</code> can overflow <code>usize</code> when <code>len</code> is
|
|
very large. In release mode, this silently wraps, potentially making
|
|
<code>bytes = 0</code>. The mapper then maps with 0 bytes, and subsequent accesses
|
|
(e.g. <code>read_volatile_at</code>) lead to undefined behavior or memory corruption.</p>
|
|
<p>Note: <code>array::ReadWrite::new()</code> itself is <code>unsafe</code>, so direct triggering
|
|
requires an <code>unsafe</code> block. However, the integer overflow violates the
|
|
implicit safety contract expected by callers and can lead to memory
|
|
corruption downstream.</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-0123: Unsoundness in rustdx</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0123.html</id><updated>2026-05-12T12:00:00+00:00</updated><category term="memory-corruption"/><link href="https://rustsec.org/advisories/RUSTSEC-2026-0123.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0123: Unsoundness in rustdx"/><published>2026-05-12T12:00:00+00:00</published><summary xml:lang="en">Out-of-bounds read in `bytes_helper` public safe functions</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/rustdx/RUSTSEC-2026-0123.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/rustdx/RUSTSEC-2026-0123.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0123">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0123
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Out-of-bounds read in <code>bytes_helper</code> public safe functions</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-05-02">
|
|
May 2, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-05-12">
|
|
May 12, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/rustdx.html">rustdx</a>
|
|
|
|
(<a href="https://crates.io/crates/rustdx">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/out-of-bounds.html">#out-of-bounds</a>
|
|
|
|
<a href="/keywords/buffer-overflow.html">#buffer-overflow</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/zjp-CN/rustdx/issues/38">
|
|
https://github.com/zjp-CN/rustdx/issues/38
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&#62;=0.4.4</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The <code>bytes_helper</code> module contains multiple public functions
|
|
(<code>into_arr4()</code>, <code>into_arr2()</code>, <code>u8_from_le_bytes()</code>) that use
|
|
<code>slice.get_unchecked(pos..pos + N)</code> without verifying that
|
|
<code>pos + N &lt;= slice.len()</code>. These are public safe API functions, allowing any
|
|
caller to trigger undefined behavior by passing invalid positions.</p>
|
|
<p>For example, calling <code>into_arr4(&amp;data, 10)</code> where <code>data</code> is a 3-byte slice
|
|
causes an out-of-bounds access since position 10 exceeds the slice length.</p>
|
|
|
|
|
|
<p id="license" class="license">Advisory available under <a href="https://spdx.org/licenses/CC0-1.0.html">CC0-1.0</a>
|
|
license.
|
|
|
|
|
|
</p>
|
|
</article></content></entry><entry><title>RUSTSEC-2026-0122: Unsoundness in rkyv</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0122.html</id><updated>2026-05-11T12:00:00+00:00</updated><category term="code-execution"/><category term="memory-corruption"/><link href="https://rustsec.org/advisories/RUSTSEC-2026-0122.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0122: Unsoundness in rkyv"/><published>2026-05-11T12:00:00+00:00</published><summary xml:lang="en">Potential use-after-free due to lack of panic safety in `InlineVec::clear` and `SerVec::clear`</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/rkyv/RUSTSEC-2026-0122.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/rkyv/RUSTSEC-2026-0122.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0122">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0122
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Potential use-after-free due to lack of panic safety in <code>InlineVec::clear</code> and <code>SerVec::clear</code></p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-04-23">
|
|
April 23, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-05-11">
|
|
May 11, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/rkyv.html">rkyv</a>
|
|
|
|
(<a href="https://crates.io/crates/rkyv">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/code-execution.html">code-execution</a></li>
|
|
|
|
<li><a href="/categories/memory-corruption.html">memory-corruption</a></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="keywords">Keywords</dt>
|
|
<dd>
|
|
|
|
<a href="/keywords/panic-safety.html">#panic-safety</a>
|
|
|
|
<a href="/keywords/memory-safety.html">#memory-safety</a>
|
|
|
|
<a href="/keywords/use-after-free.html">#use-after-free</a>
|
|
|
|
<a href="/keywords/double-free.html">#double-free</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/rkyv/rkyv/commit/5828cf5c27b664eb4432c4a93d4769e12e5e42fb">
|
|
https://github.com/rkyv/rkyv/commit/5828cf5c27b664eb4432c4a93d4769e12e5e42fb
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&#62;=0.8.16</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="unaffected">Unaffected</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#60;0.8.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p><code>InlineVec::clear()</code> and <code>SerVec::clear()</code> in <code>rkyv</code> were not panic-safe.
|
|
Both functions iterate over their elements and call <code>drop_in_place</code> on each,
|
|
updating <code>self.len</code> only <em>after</em> the loop. If an element's <code>Drop</code> implementation
|
|
panics during the loop, <code>self.len</code> is left at its original value.</p>
|
|
<p>A subsequent invocation of <code>clear()</code> on the same container then re-visits the
|
|
already-freed elements:</p>
|
|
<ul>
|
|
<li><code>InlineVec::clear()</code> is called again from <code>InlineVec</code>'s own <code>Drop</code>
|
|
implementation when the value is later dropped.</li>
|
|
<li><code>SerVec::clear()</code> is called again by <code>SerVec::with_capacity()</code> after the
|
|
user closure returns.</li>
|
|
</ul>
|
|
<h2>Impact</h2>
|
|
<ul>
|
|
<li><strong>CWE-415 (Double Free):</strong> heap corruption when the element type is one that
|
|
owns memory, such as <code>Box&lt;T&gt;</code> or <code>Vec&lt;T&gt;</code></li>
|
|
<li><strong>CWE-416 (Use-After-Free):</strong> memory corruption when an element is accessed
|
|
following a caught panic</li>
|
|
</ul>
|
|
<p>Both types of undefined behavior can be invoked in safe Rust, but only if
|
|
unwinding panics are enabled and <code>std::panic::catch_unwind</code> is used.</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-0121: Vulnerability in steamworks</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0121.html</id><updated>2026-05-12T12:00:00+00:00</updated><category term="denial-of-service"/><link href="https://rustsec.org/advisories/RUSTSEC-2026-0121.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0121: Vulnerability in steamworks"/><published>2026-05-06T12:00:00+00:00</published><summary xml:lang="en">Denial of service in Steamworks game clients/servers using P2P authentication</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/steamworks/RUSTSEC-2026-0121.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/steamworks/RUSTSEC-2026-0121.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0121">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0121
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Denial of service in Steamworks game clients/servers using P2P authentication</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-05-05">
|
|
May 5, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-05-06">
|
|
May 6, 2026
|
|
</time>
|
|
|
|
<time datetime="2026-05-12">
|
|
(last modified: May 12, 2026)
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/steamworks.html">steamworks</a>
|
|
|
|
(<a href="https://crates.io/crates/steamworks">crates.io</a>)
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
Vulnerability
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="categories">Categories</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><a href="/categories/denial-of-service.html">denial-of-service</a></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="keywords">Keywords</dt>
|
|
<dd>
|
|
|
|
<a href="/keywords/panic.html">#panic</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-g588-cjg3-6g78">GHSA-g588-cjg3-6g78</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/Noxime/steamworks-rs/issues/321">
|
|
https://github.com/Noxime/steamworks-rs/issues/321
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&#62;=0.13.1</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt>Affected Functions</dt>
|
|
<dd>Version</dd>
|
|
|
|
<dt><code>steamworks::Client::process_callbacks</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#60;0.13.1</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
<dt><code>steamworks::Client::register_callback</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#60;0.13.1</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
<dt><code>steamworks::Server::begin_authentication_session</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#60;0.13.1</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
<dt><code>steamworks::User::begin_authentication_session</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#60;0.13.1</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
<dt><code>steamworks::ValidateAuthTicketResponse::from_raw</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#60;0.13.1</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>Processing the raw <code>ValidateAuthTicketResponse_t</code> callback data panics when the <code>m_eAuthSessionResponse</code> field is <code>k_EAuthSessionResponseAuthTicketNetworkIdentityFailure</code>. This can lead to denial of service in game clients and servers using the <code>begin_authentication_session</code> API to authenticate players if a malicious game client sends an authentication ticket with a network identity that does not match that of the verifier.</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> |