mirror of
https://github.com/rustsec/advisory-db.git
synced 2026-11-30 15:34:31 -06:00
1682 lines
56 KiB
XML
1682 lines
56 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-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-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><entry><title>RUSTSEC-2026-0119: Vulnerability in hickory-proto</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0119.html</id><updated>2026-05-07T12:00:00+00:00</updated><category term="denial-of-service"/><link href="https://rustsec.org/advisories/RUSTSEC-2026-0119.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0119: Vulnerability in hickory-proto"/><published>2026-05-01T12:00:00+00:00</published><summary xml:lang="en">CPU exhaustion during message encoding due to O(n²) name compression</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/hickory-proto/RUSTSEC-2026-0119.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/hickory-proto/RUSTSEC-2026-0119.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0119">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0119
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>CPU exhaustion during message encoding due to O(n²) name compression</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-05-01">
|
|
May 1, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-05-01">
|
|
May 1, 2026
|
|
</time>
|
|
|
|
<time datetime="2026-05-07">
|
|
(last modified: May 7, 2026)
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/hickory-proto.html">hickory-proto</a>
|
|
|
|
(<a href="https://crates.io/crates/hickory-proto">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/dns.html">#dns</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-q2qq-hmj6-3wpp">GHSA-q2qq-hmj6-3wpp</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/hickory-dns/hickory-dns/security/advisories/GHSA-q2qq-hmj6-3wpp">
|
|
https://github.com/hickory-dns/hickory-dns/security/advisories/GHSA-q2qq-hmj6-3wpp
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="related">Related</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-8508">CVE-2024-8508</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&#62;=0.26.1</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="unaffected">Unaffected</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#60;0.3.1</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>During message encoding, <code>hickory-proto</code>'s <code>BinEncoder</code> stores pointers to
|
|
labels that are candidates for name compression in a <code>Vec&lt;(usize, Vec&lt;u8&gt;)&gt;</code>.
|
|
The name compression logic then searches for matches with a linear scan.</p>
|
|
<p>A malicious message with many records can both introduce many candidate labels,
|
|
and invoke this linear scan many times. This can amplify CPU exhaustion in DoS
|
|
attacks.</p>
|
|
<p>This is similar to
|
|
<a href="https://www.nlnetlabs.nl/downloads/unbound/CVE-2024-8508.txt">CVE-2024-8508</a>.</p>
|
|
<p>We recommend all affected users update to <code>hickory-proto</code> 0.26.1 for the fix.</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/hickory-dns/hickory-dns/security/advisories/GHSA-q2qq-hmj6-3wpp">https://github.com/hickory-dns/hickory-dns/security/advisories/GHSA-q2qq-hmj6-3wpp</a>
|
|
|
|
|
|
</p>
|
|
</article></content></entry><entry><title>RUSTSEC-2026-0118: Vulnerability in hickory-proto</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0118.html</id><updated>2026-05-07T12:00:00+00:00</updated><category term="denial-of-service"/><link href="https://rustsec.org/advisories/RUSTSEC-2026-0118.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0118: Vulnerability in hickory-proto"/><published>2026-05-01T12:00:00+00:00</published><summary xml:lang="en">NSEC3 closest-encloser proof validation enters unbounded loop on cross-zone responses</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/hickory-proto/RUSTSEC-2026-0118.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/hickory-proto/RUSTSEC-2026-0118.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0118">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0118
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>NSEC3 closest-encloser proof validation enters unbounded loop on cross-zone responses</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-05-01">
|
|
May 1, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-05-01">
|
|
May 1, 2026
|
|
</time>
|
|
|
|
<time datetime="2026-05-07">
|
|
(last modified: May 7, 2026)
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/hickory-proto.html">hickory-proto</a>
|
|
|
|
(<a href="https://crates.io/crates/hickory-proto">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/dns.html">#dns</a>
|
|
|
|
<a href="/keywords/dnssec.html">#dnssec</a>
|
|
|
|
<a href="/keywords/nsec3.html">#nsec3</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-3v94-mw7p-v465">GHSA-3v94-mw7p-v465</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/hickory-dns/hickory-dns/security/advisories/GHSA-3v94-mw7p-v465">
|
|
https://github.com/hickory-dns/hickory-dns/security/advisories/GHSA-3v94-mw7p-v465
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
no patched versions
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="unaffected">Unaffected</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#60;0.25.0-alpha.3</code></li>
|
|
|
|
<li><code>&#62;=0.26.0-beta.1</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The NSEC3 closest-encloser proof validation in <code>hickory-proto</code>'s
|
|
<code>DnssecDnsHandle</code> walks from the QNAME up to the SOA owner name, building a
|
|
list of candidate encloser names. The iterator used assumes the
|
|
QNAME is a descendant of the SOA owner, terminating only when the current
|
|
candidate equals the SOA name. When the SOA in a response's authority section
|
|
is not an ancestor of the QNAME, the loop stalls at the DNS root and never
|
|
terminates, repeatedly calling <code>Name::base_name()</code> and pushing newly allocated
|
|
<code>Name</code> and hashed-name entries into the candidate <code>Vec</code>.</p>
|
|
<p>The bug is reachable by any caller of <code>DnssecDnsHandle</code> — including the
|
|
resolver, recursor, and client — when built with the <code>dnssec-ring</code> or
|
|
<code>dnssec-aws-lc-rs</code> feature and configured to perform DNSSEC validation. It is
|
|
triggered while validating a NoData or NXDomain response whose authority
|
|
section contains an SOA record from a zone other than an ancestor of the
|
|
QNAME, on a code path that requires NSEC3 closest-encloser proof. In practice
|
|
this can be reached through an insecure CNAME chain that crosses zone
|
|
boundaries into a DNSSEC-signed zone returning NoData, but the minimum
|
|
condition is just a mismatched SOA owner on a response requiring NSEC3
|
|
validation.</p>
|
|
<p>A <code>debug_assert_ne!(name, Name::root())</code> guards the loop body, so debug builds
|
|
abort with a panic on the first iteration past the root. Release builds
|
|
compile the assertion out and run the loop unbounded, allocating until the
|
|
process exhausts available memory (OOM). A reachable upstream attacker who
|
|
can return such a response can therefore crash a debug-built validator or
|
|
exhaust memory on a release-built one.</p>
|
|
<p>The affected code was migrated from <code>hickory-proto</code> to <code>hickory-net</code> as part of
|
|
the 0.26.0 release. The <code>hickory-proto</code> 0.26.x release no longer offers
|
|
<code>DnssecDnsHandle</code> and so we recommend all affected users update to <code>hickory-net</code>
|
|
0.26.1 when the implementation of that type is required.</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/hickory-dns/hickory-dns/security/advisories/GHSA-3v94-mw7p-v465">https://github.com/hickory-dns/hickory-dns/security/advisories/GHSA-3v94-mw7p-v465</a>
|
|
|
|
|
|
</p>
|
|
</article></content></entry></feed> |