mirror of
https://github.com/rustsec/advisory-db.git
synced 2026-11-30 10:14:32 -06:00
3398 lines
113 KiB
XML
3398 lines
113 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-08-11T12:00:00+00:00</updated><author><name>RustSec</name></author><icon>https://rustsec.org/favicon.ico</icon><link href="https://rustsec.org/feed.xml" rel="self" type="application/atom+xml"/><link href="https://rustsec.org/" rel="alternate" type="text/html"/><subtitle xml:lang="en">Security advisories filed against Rust crates</subtitle><entry><title>RUSTSEC-2025-0168: Vulnerability in zip</title><id>https://rustsec.org/advisories/RUSTSEC-2025-0168.html</id><updated>2026-08-11T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2025-0168.html" rel="alternate" type="text/html" title="RUSTSEC-2025-0168: Vulnerability in zip"/><published>2026-08-11T12:00:00+00:00</published><summary xml:lang="en">Incorrect path canonicalization during Archive Extraction Leading to Arbitrary File Write</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/zip/RUSTSEC-2025-0168.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/zip/RUSTSEC-2025-0168.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2025-0168">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2025-0168
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Incorrect path canonicalization during Archive Extraction Leading to Arbitrary File Write</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2025-03-16">
|
|
March 16, 2025
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-08-11">
|
|
August 11, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/zip.html">zip</a>
|
|
|
|
(<a href="https://crates.io/crates/zip">crates.io</a>)
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
Vulnerability
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
<dt id="keywords">Keywords</dt>
|
|
<dd>
|
|
|
|
<a href="/keywords/file-overwrite.html">#file-overwrite</a>
|
|
|
|
<a href="/keywords/symlink.html">#symlink</a>
|
|
|
|
<a href="/keywords/path-traversal.html">#path-traversal</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-29787">CVE-2025-29787</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-94vh-gphv-8pm8">GHSA-94vh-gphv-8pm8</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/zip-rs/zip2/security/advisories/GHSA-94vh-gphv-8pm8">
|
|
https://github.com/zip-rs/zip2/security/advisories/GHSA-94vh-gphv-8pm8
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="cvss_score">CVSS Score</dt>
|
|
<dd>7.3 <span class="tag high">
|
|
HIGH
|
|
</span></dd>
|
|
|
|
<dt id="cvss_details">CVSS Details</dt>
|
|
<dd>
|
|
<dl>
|
|
|
|
<dt>Attack Complexity</dt>
|
|
<dd>High</dd>
|
|
|
|
<dt>Attack Requirements</dt>
|
|
<dd>None</dd>
|
|
|
|
<dt>Attack Vector</dt>
|
|
<dd>Network</dd>
|
|
|
|
<dt>Privileges Required</dt>
|
|
<dd>Low</dd>
|
|
|
|
<dt>Availability Impact to the Subsequent System</dt>
|
|
<dd>High</dd>
|
|
|
|
<dt>Confidentiality Impact to the Subsequent System</dt>
|
|
<dd>High</dd>
|
|
|
|
<dt>Integrity Impact to the Subsequent System</dt>
|
|
<dd>High</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>Low</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:H/AT:N/PR:L/UI:N/VC:L/VI:H/VA:N/SC:H/SI:H/SA:H">CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:H/VA:N/SC:H/SI:H/SA:H</a></dd>
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&#62;=2.3.0</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="unaffected">Unaffected</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#60;1.3.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt>Affected Functions</dt>
|
|
<dd>Version</dd>
|
|
|
|
<dt><code>zip::read::ZipArchive::extract</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#60;2.3.0, &#62;=1.3.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
<dt><code>zip::unstable::stream::ZipStreamReader::extract</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#60;2.3.0, &#62;=1.3.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>In the archive extraction routine of affected versions of the zip crate, symbolic links earlier in the archive are allowed to be used for later files in the archive without validation of the final canonicalized path, allowing maliciously crafted archives to overwrite arbitrary files in the file system when extracted.</p>
|
|
<p>For more details, see the GitHub-hosted security advisory: <a href="https://github.com/zip-rs/zip2/security/advisories/GHSA-94vh-gphv-8pm8">https://github.com/zip-rs/zip2/security/advisories/GHSA-94vh-gphv-8pm8</a></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/zip-rs/zip2/security/advisories/GHSA-94vh-gphv-8pm8">https://github.com/zip-rs/zip2/security/advisories/GHSA-94vh-gphv-8pm8</a>
|
|
|
|
|
|
</p>
|
|
</article></content></entry><entry><title>RUSTSEC-2025-0169: Unsoundness in stainless_ffmpeg</title><id>https://rustsec.org/advisories/RUSTSEC-2025-0169.html</id><updated>2026-08-11T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2025-0169.html" rel="alternate" type="text/html" title="RUSTSEC-2025-0169: Unsoundness in stainless_ffmpeg"/><published>2026-08-11T12:00:00+00:00</published><summary xml:lang="en">`FormatContext` stream accessors can cause undefined behavior from safe code</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/stainless_ffmpeg/RUSTSEC-2025-0169.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/stainless_ffmpeg/RUSTSEC-2025-0169.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2025-0169">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2025-0169
|
|
|
|
</h1>
|
|
<span class="subtitle"><p><code>FormatContext</code> stream accessors can cause undefined behavior from safe code</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2025-04-24">
|
|
April 24, 2025
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-08-11">
|
|
August 11, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/stainless_ffmpeg.html">stainless_ffmpeg</a>
|
|
|
|
(<a href="https://crates.io/crates/stainless_ffmpeg">crates.io</a>)
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
<span class="tag info">INFO</span>
|
|
Unsound
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/nomalab/stainless-ffmpeg/issues/63">
|
|
https://github.com/nomalab/stainless-ffmpeg/issues/63
|
|
</a>
|
|
</li>
|
|
|
|
|
|
<li>
|
|
<a href="https://github.com/nomalab/stainless-ffmpeg/pull/64">
|
|
https://github.com/nomalab/stainless-ffmpeg/pull/64
|
|
</a>
|
|
</li>
|
|
|
|
<li>
|
|
<a href="https://github.com/nomalab/stainless-ffmpeg/commit/a649e8cb4e7c9859279d1dc85051df5e7a4932f7">
|
|
https://github.com/nomalab/stainless-ffmpeg/commit/a649e8cb4e7c9859279d1dc85051df5e7a4932f7
|
|
</a>
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&#62;=0.6.0</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt>Affected Functions</dt>
|
|
<dd>Version</dd>
|
|
|
|
<dt><code>stainless_ffmpeg::format_context::FormatContext::get_codec_id</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#60;0.6.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
<dt><code>stainless_ffmpeg::format_context::FormatContext::get_stream</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#60;0.6.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
<dt><code>stainless_ffmpeg::format_context::FormatContext::get_stream_type</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#60;0.6.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
<dt><code>stainless_ffmpeg::format_context::FormatContext::get_stream_type_name</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#60;0.6.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>Affected versions of <code>stainless_ffmpeg</code> exposed several safe public methods on <code>FormatContext</code> that accepted a <code>stream_index</code> parameter and used it in unsafe pointer operations without checking whether the index was valid. These methods performed pointer arithmetic and dereferenced the resulting stream pointer. Safe callers could pass a negative or out-of-bounds <code>stream_index</code>, which could cause out-of-bounds pointer access and undefined behavior from safe Rust code.</p>
|
|
<p>The issue was fixed in version <code>0.6.0</code> by marking the affected stream accessor methods as <code>unsafe</code> and documenting that callers must ensure <code>stream_index</code> is a valid stream index.</p>
|
|
|
|
|
|
<p id="license" class="license">Advisory available under <a href="https://spdx.org/licenses/CC0-1.0.html">CC0-1.0</a>
|
|
license.
|
|
|
|
|
|
</p>
|
|
</article></content></entry><entry><title>RUSTSEC-2025-0167: Unsoundness in bitmaps</title><id>https://rustsec.org/advisories/RUSTSEC-2025-0167.html</id><updated>2026-08-10T12:00:00+00:00</updated><category term="memory-corruption"/><link href="https://rustsec.org/advisories/RUSTSEC-2025-0167.html" rel="alternate" type="text/html" title="RUSTSEC-2025-0167: Unsoundness in bitmaps"/><published>2026-08-10T12:00:00+00:00</published><summary xml:lang="en">`Bitmap::try_from(&amp;[u8])` can create invalid values</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/bitmaps/RUSTSEC-2025-0167.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/bitmaps/RUSTSEC-2025-0167.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2025-0167">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2025-0167
|
|
|
|
</h1>
|
|
<span class="subtitle"><p><code>Bitmap::try_from(&amp;[u8])</code> can create invalid values</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2025-12-25">
|
|
December 25, 2025
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-08-10">
|
|
August 10, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/bitmaps.html">bitmaps</a>
|
|
|
|
(<a href="https://crates.io/crates/bitmaps">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="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/bodil/bitmaps/issues/35">
|
|
https://github.com/bodil/bitmaps/issues/35
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
no patched versions
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="unaffected">Unaffected</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#60;3.2.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The <code>TryFrom&lt;&amp;[u8]&gt;</code> implementation for <code>Bitmap&lt;SIZE&gt;</code> copies the input bytes
|
|
into an uninitialized backing store and calls <code>assume_init()</code> without
|
|
validating that the bytes form a valid value of the backing store type. For
|
|
<code>SIZE = 1</code> the backing store is a <code>bool</code>, so any input byte other than <code>0x00</code>
|
|
or <code>0x01</code> produces an invalid value, which is immediate undefined behavior.</p>
|
|
<p>The <code>AsMut&lt;[u8]&gt;</code> implementation has the same problem, as it allows safe code
|
|
to write invalid bit patterns into the backing store through the returned slice.</p>
|
|
<p>No fixed version is available, as the crate is unmaintained; its GitHub
|
|
repository was archived by the owner on 2026-05-03.</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-0247: bitmaps is unmaintained</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0247.html</id><updated>2026-08-10T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2026-0247.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0247: bitmaps is unmaintained"/><published>2026-08-10T12:00:00+00:00</published><summary xml:lang="en">bitmaps is unmaintained</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/bitmaps/RUSTSEC-2026-0247.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/bitmaps/RUSTSEC-2026-0247.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0247">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0247
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>bitmaps is unmaintained</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-05-03">
|
|
May 3, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-08-10">
|
|
August 10, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/bitmaps.html">bitmaps</a>
|
|
|
|
(<a href="https://crates.io/crates/bitmaps">crates.io</a>)
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
<span class="tag info">INFO</span>
|
|
Unmaintained
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/bodil/bitmaps">
|
|
https://github.com/bodil/bitmaps
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
no patched versions
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The bitmaps crate is unmaintained; all versions are affected. The GitHub
|
|
repository was archived by the owner on 2026-05-03.</p>
|
|
<p>Recommended alternatives:</p>
|
|
<ul>
|
|
<li><a href="https://crates.io/crates/fixedbitset">fixedbitset</a></li>
|
|
<li><a href="https://crates.io/crates/bitvec">bitvec</a></li>
|
|
</ul>
|
|
|
|
|
|
<p id="license" class="license">Advisory available under <a href="https://spdx.org/licenses/CC0-1.0.html">CC0-1.0</a>
|
|
license.
|
|
|
|
|
|
</p>
|
|
</article></content></entry><entry><title>RUSTSEC-2023-0126: Unsoundness in im</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0126.html</id><updated>2026-08-10T12:00:00+00:00</updated><category term="memory-corruption"/><link href="https://rustsec.org/advisories/RUSTSEC-2023-0126.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0126: Unsoundness in im"/><published>2026-08-10T12:00:00+00:00</published><summary xml:lang="en">Aliasing violation in `OrdSet` insertion</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/im/RUSTSEC-2023-0126.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/im/RUSTSEC-2023-0126.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2023-0126">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2023-0126
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Aliasing violation in <code>OrdSet</code> insertion</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2023-02-04">
|
|
February 4, 2023
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-08-10">
|
|
August 10, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/im.html">im</a>
|
|
|
|
(<a href="https://crates.io/crates/im">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="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/bodil/im-rs/issues/207">
|
|
https://github.com/bodil/im-rs/issues/207
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
no patched versions
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>Inserting into an <code>im::OrdSet</code> (for example by collecting an iterator into one) can violate
|
|
Rust's aliasing rules: Miri reports a stacked borrows violation in
|
|
<code>sized_chunks::Chunk::force_copy()</code>, which is called during insertion, where a shared borrow
|
|
is invalidated by a unique borrow before the read through it completes.
|
|
This is undefined behavior, reachable from safe code.</p>
|
|
<p>No fixed version is available, as the crate is unmaintained; its GitHub
|
|
repository was archived by the owner on 2026-05-03.</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-0248: im is unmaintained</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0248.html</id><updated>2026-08-10T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2026-0248.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0248: im is unmaintained"/><published>2026-08-10T12:00:00+00:00</published><summary xml:lang="en">im is unmaintained</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/im/RUSTSEC-2026-0248.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/im/RUSTSEC-2026-0248.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0248">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0248
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>im is unmaintained</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-05-03">
|
|
May 3, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-08-10">
|
|
August 10, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/im.html">im</a>
|
|
|
|
(<a href="https://crates.io/crates/im">crates.io</a>)
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
<span class="tag info">INFO</span>
|
|
Unmaintained
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/bodil/im-rs">
|
|
https://github.com/bodil/im-rs
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
no patched versions
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The im crate is unmaintained; all versions are affected. The GitHub
|
|
repository was archived by the owner on 2026-05-03.</p>
|
|
<p>Recommended alternative:</p>
|
|
<ul>
|
|
<li><a href="https://crates.io/crates/imbl">imbl</a> is a maintained fork of this crate</li>
|
|
</ul>
|
|
|
|
|
|
<p id="license" class="license">Advisory available under <a href="https://spdx.org/licenses/CC0-1.0.html">CC0-1.0</a>
|
|
license.
|
|
|
|
|
|
</p>
|
|
</article></content></entry><entry><title>RUSTSEC-2026-0249: smartstring is unmaintained</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0249.html</id><updated>2026-08-10T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2026-0249.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0249: smartstring is unmaintained"/><published>2026-08-10T12:00:00+00:00</published><summary xml:lang="en">smartstring is unmaintained</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/smartstring/RUSTSEC-2026-0249.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/smartstring/RUSTSEC-2026-0249.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0249">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0249
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>smartstring is unmaintained</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-05-03">
|
|
May 3, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-08-10">
|
|
August 10, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/smartstring.html">smartstring</a>
|
|
|
|
(<a href="https://crates.io/crates/smartstring">crates.io</a>)
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
<span class="tag info">INFO</span>
|
|
Unmaintained
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/bodil/smartstring">
|
|
https://github.com/bodil/smartstring
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
no patched versions
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The smartstring crate is unmaintained; all versions are affected. The
|
|
GitHub repository was archived by the owner on 2026-05-03.</p>
|
|
<p>Recommended alternatives:</p>
|
|
<ul>
|
|
<li><a href="https://crates.io/crates/compact_str">compact_str</a></li>
|
|
<li><a href="https://crates.io/crates/smol_str">smol_str</a></li>
|
|
</ul>
|
|
|
|
|
|
<p id="license" class="license">Advisory available under <a href="https://spdx.org/licenses/CC0-1.0.html">CC0-1.0</a>
|
|
license.
|
|
|
|
|
|
</p>
|
|
</article></content></entry><entry><title>RUSTSEC-2026-0250: im-rc is unmaintained</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0250.html</id><updated>2026-08-10T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2026-0250.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0250: im-rc is unmaintained"/><published>2026-08-10T12:00:00+00:00</published><summary xml:lang="en">im-rc is unmaintained</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/im-rc/RUSTSEC-2026-0250.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/im-rc/RUSTSEC-2026-0250.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0250">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0250
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>im-rc is unmaintained</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-05-03">
|
|
May 3, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-08-10">
|
|
August 10, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/im-rc.html">im-rc</a>
|
|
|
|
(<a href="https://crates.io/crates/im-rc">crates.io</a>)
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
<span class="tag info">INFO</span>
|
|
Unmaintained
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/bodil/im-rs">
|
|
https://github.com/bodil/im-rs
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
no patched versions
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The im-rc crate is unmaintained; all versions are affected. The GitHub
|
|
repository was archived by the owner on 2026-05-03.</p>
|
|
<p><a href="https://crates.io/crates/imbl">imbl</a> is a maintained fork of the im crate,
|
|
but we're not aware of maintained alternative to im-rc at this time.</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-0251: sized-chunks is unmaintained</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0251.html</id><updated>2026-08-10T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2026-0251.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0251: sized-chunks is unmaintained"/><published>2026-08-10T12:00:00+00:00</published><summary xml:lang="en">sized-chunks is unmaintained</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/sized-chunks/RUSTSEC-2026-0251.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/sized-chunks/RUSTSEC-2026-0251.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0251">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0251
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>sized-chunks is unmaintained</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-05-03">
|
|
May 3, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-08-10">
|
|
August 10, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/sized-chunks.html">sized-chunks</a>
|
|
|
|
(<a href="https://crates.io/crates/sized-chunks">crates.io</a>)
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
<span class="tag info">INFO</span>
|
|
Unmaintained
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/bodil/sized-chunks">
|
|
https://github.com/bodil/sized-chunks
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
no patched versions
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The sized-chunks crate is unmaintained; all versions are affected. The
|
|
GitHub repository was archived by the owner on 2026-05-03.</p>
|
|
<p>Recommended alternative:</p>
|
|
<ul>
|
|
<li><a href="https://crates.io/crates/imbl-sized-chunks">imbl-sized-chunks</a>, a popular fork of this crate</li>
|
|
</ul>
|
|
|
|
|
|
<p id="license" class="license">Advisory available under <a href="https://spdx.org/licenses/CC0-1.0.html">CC0-1.0</a>
|
|
license.
|
|
|
|
|
|
</p>
|
|
</article></content></entry><entry><title>RUSTSEC-2026-0245: Vulnerability in sevenz-rust</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0245.html</id><updated>2026-08-10T12:00:00+00:00</updated><category term="file-disclosure"/><link href="https://rustsec.org/advisories/RUSTSEC-2026-0245.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0245: Vulnerability in sevenz-rust"/><published>2026-08-10T12:00:00+00:00</published><summary xml:lang="en">Relative/Absolute Path Traversal (CWE-23/CWE-36) in `decompress_impl` that enables an arbitrary file write.</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/sevenz-rust/RUSTSEC-2026-0245.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/sevenz-rust/RUSTSEC-2026-0245.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0245">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0245
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Relative/Absolute Path Traversal (CWE-23/CWE-36) in <code>decompress_impl</code> that enables an arbitrary file write.</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-08-06">
|
|
August 6, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-08-10">
|
|
August 10, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/sevenz-rust.html">sevenz-rust</a>
|
|
|
|
(<a href="https://crates.io/crates/sevenz-rust">crates.io</a>)
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
Vulnerability
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="categories">Categories</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><a href="/categories/file-disclosure.html">file-disclosure</a></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="cvss_score">CVSS Score</dt>
|
|
<dd>8.3 <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>None</dd>
|
|
|
|
<dt>Attack Vector</dt>
|
|
<dd>Local</dd>
|
|
|
|
<dt>Privileges Required</dt>
|
|
<dd>None</dd>
|
|
|
|
<dt>Availability Impact to the Subsequent System</dt>
|
|
<dd>High</dd>
|
|
|
|
<dt>Confidentiality Impact to the Subsequent System</dt>
|
|
<dd>High</dd>
|
|
|
|
<dt>Integrity Impact to the Subsequent System</dt>
|
|
<dd>High</dd>
|
|
|
|
<dt>User Interaction</dt>
|
|
<dd>Active</dd>
|
|
|
|
<dt>Availability Impact to the Vulnerable System</dt>
|
|
<dd>Low</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:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:L/SC:H/SI:H/SA:H">CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:L/SC:H/SI:H/SA:H</a></dd>
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
no patched versions
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<h2>Summary</h2>
|
|
<p>All versions of <code>sevenz-rust</code> fail to validate file paths when extracting in <code>decompress_impl</code> (the underlying function used in the exposed decompress api functions).</p>
|
|
<p>This oversight allows a maliciously crafted archive to extract outside the extraction directory, from both relative paths such as <code>../../../...</code> or absolute paths like <code>C:\\...</code> or <code>/etc/...</code>, which could lead to file disclosure or remote command execution in combination with other flaws or social engineering.</p>
|
|
<h2>Details</h2>
|
|
<p>The following line numbers will be referencing the latest version v0.6.1. The specific point of failure is at <code>de_funcs.rs::101</code> inside <code>decompress_impl</code>.</p>
|
|
<pre><code class="language-rust">seven.for_each_entries(|entry, reader| {
|
|
let dest_path = dest.join(entry.name());
|
|
extract_fn(entry, reader, &amp;dest_path)
|
|
})?;
|
|
</code></pre>
|
|
<p>When the function iterates through each entry, it blindly joins the entry name with the output directory before passing the path into <code>extract_fn</code>, <code>default_entry_extract_fn</code> unless specified otherwise by user. This allows for relative path traversal from simple path concatenation and absolute path traversal due to <a href="https://doc.rust-lang.org/std/path/struct.Path.html#method.join">std::path::join</a>'s edge case where if the &quot;[passed] path is absolute, it replaces the current path.&quot;</p>
|
|
<p><code>default_entry_extract_fn</code> also fails to validate if the entry it is given has a safe extraction path before it writes to disk at <code>de_funcs.rs::135</code>.</p>
|
|
<h2>Status</h2>
|
|
<p>The project has been abandoned and the repository has been deleted, so no upstream fix is expected. Users should migrate away from the library in favor of a modern up-to-date 7z library such as <code>sevenz-rust2</code>.</p>
|
|
|
|
|
|
<p id="license" class="license">Advisory available under <a href="https://spdx.org/licenses/CC0-1.0.html">CC0-1.0</a>
|
|
license.
|
|
|
|
|
|
</p>
|
|
</article></content></entry><entry><title>RUSTSEC-2026-0246: sevenz-rust is unmaintained</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0246.html</id><updated>2026-08-10T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2026-0246.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0246: sevenz-rust is unmaintained"/><published>2026-08-10T12:00:00+00:00</published><summary xml:lang="en">`sevenz-rust` is unmaintained</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/sevenz-rust/RUSTSEC-2026-0246.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/sevenz-rust/RUSTSEC-2026-0246.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0246">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0246
|
|
|
|
</h1>
|
|
<span class="subtitle"><p><code>sevenz-rust</code> is unmaintained</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-08-06">
|
|
August 6, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-08-10">
|
|
August 10, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/sevenz-rust.html">sevenz-rust</a>
|
|
|
|
(<a href="https://crates.io/crates/sevenz-rust">crates.io</a>)
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
<span class="tag info">INFO</span>
|
|
Unmaintained
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
no patched versions
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The <code>sevenz-rust</code> repository has been deleted and the crate is no longer actively maintained. Users should migrate away from the library in favor of a modern up-to-date 7z library such as <code>sevenz-rust2</code>.</p>
|
|
|
|
|
|
<p id="license" class="license">Advisory available under <a href="https://spdx.org/licenses/CC0-1.0.html">CC0-1.0</a>
|
|
license.
|
|
|
|
|
|
</p>
|
|
</article></content></entry><entry><title>RUSTSEC-2026-0237: nostr-relay-builder is unmaintained</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0237.html</id><updated>2026-08-09T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2026-0237.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0237: nostr-relay-builder is unmaintained"/><published>2026-08-09T12:00:00+00:00</published><summary xml:lang="en">`nostr-relay-builder` is unmaintained</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/nostr-relay-builder/RUSTSEC-2026-0237.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/nostr-relay-builder/RUSTSEC-2026-0237.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0237">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0237
|
|
|
|
</h1>
|
|
<span class="subtitle"><p><code>nostr-relay-builder</code> is unmaintained</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-08-03">
|
|
August 3, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-08-09">
|
|
August 9, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/nostr-relay-builder.html">nostr-relay-builder</a>
|
|
|
|
(<a href="https://crates.io/crates/nostr-relay-builder">crates.io</a>)
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
<span class="tag info">INFO</span>
|
|
Unmaintained
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
|
|
<li>
|
|
<a href="https://github.com/nostrdevkit/nostr/issues/1415">
|
|
https://github.com/nostrdevkit/nostr/issues/1415
|
|
</a>
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
no patched versions
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The <code>nostr-relay-builder</code> crate is no longer actively maintained as a standalone crate.</p>
|
|
<p>Its functionality has been incorporated into <a href="https://crates.io/crates/nostr-sdk"><code>nostr-sdk</code></a> starting with version <code>0.45.0</code>.</p>
|
|
<p>Users should migrate to <a href="https://crates.io/crates/nostr-sdk"><code>nostr-sdk</code></a>.</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-0238: Vulnerability in dcrypt-algorithms</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0238.html</id><updated>2026-08-09T12:00:00+00:00</updated><category term="crypto-failure"/><link href="https://rustsec.org/advisories/RUSTSEC-2026-0238.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0238: Vulnerability in dcrypt-algorithms"/><published>2026-08-09T12:00:00+00:00</published><summary xml:lang="en">Low-level GCM ignores the operation nonce</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/dcrypt-algorithms/RUSTSEC-2026-0238.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/dcrypt-algorithms/RUSTSEC-2026-0238.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0238">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0238
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Low-level GCM ignores the operation nonce</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-08-09">
|
|
August 9, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-08-09">
|
|
August 9, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/dcrypt-algorithms.html">dcrypt-algorithms</a>
|
|
|
|
(<a href="https://crates.io/crates/dcrypt-algorithms">crates.io</a>)
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
Vulnerability
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="categories">Categories</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><a href="/categories/crypto-failure.html">crypto-failure</a></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="keywords">Keywords</dt>
|
|
<dd>
|
|
|
|
<a href="/keywords/aes-gcm.html">#aes-gcm</a>
|
|
|
|
<a href="/keywords/nonce-reuse.html">#nonce-reuse</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-h9f2-fgp8-vc4h">GHSA-h9f2-fgp8-vc4h</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/ioi-foundation/dcrypt/security/advisories/GHSA-h9f2-fgp8-vc4h">
|
|
https://github.com/ioi-foundation/dcrypt/security/advisories/GHSA-h9f2-fgp8-vc4h
|
|
</a>
|
|
</li>
|
|
|
|
|
|
<li>
|
|
<a href="https://github.com/ioi-foundation/dcrypt/commit/c99cc86f0ee353010cd202cbcd2c310371b0bbb8">
|
|
https://github.com/ioi-foundation/dcrypt/commit/c99cc86f0ee353010cd202cbcd2c310371b0bbb8
|
|
</a>
|
|
</li>
|
|
|
|
<li>
|
|
<a href="https://github.com/ioi-foundation/dcrypt/releases/tag/v2.0.0">
|
|
https://github.com/ioi-foundation/dcrypt/releases/tag/v2.0.0
|
|
</a>
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&#62;=2.0.0</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>In all published versions of <code>dcrypt-algorithms</code> before 2.0.0, the low-level
|
|
<code>Gcm</code> builder required an operation nonce but derived <code>J0</code> from the nonce
|
|
captured by the original <code>Gcm</code> constructor. Multiple operations could therefore
|
|
silently reuse a nonce even when callers supplied distinct values, compromising
|
|
confidentiality and authenticity under an affected key.</p>
|
|
<p>Version 2.0.0 makes <code>Gcm</code> key-only and passes the operation nonce through IV
|
|
derivation, encryption, and decryption. It also corrects non-96-bit IV
|
|
processing, rejects tags shorter than 96 bits, and enforces counter limits.
|
|
Applications must upgrade, identify affected keys, rotate them, and re-encrypt
|
|
affected data; updating the implementation cannot restore security after nonce
|
|
reuse.</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-0239: Vulnerability in dcrypt-symmetric</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0239.html</id><updated>2026-08-09T12:00:00+00:00</updated><category term="crypto-failure"/><category term="denial-of-service"/><link href="https://rustsec.org/advisories/RUSTSEC-2026-0239.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0239: Vulnerability in dcrypt-symmetric"/><published>2026-08-09T12:00:00+00:00</published><summary xml:lang="en">Streaming AEAD does not authenticate stream structure</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/dcrypt-symmetric/RUSTSEC-2026-0239.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/dcrypt-symmetric/RUSTSEC-2026-0239.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0239">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0239
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Streaming AEAD does not authenticate stream structure</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-08-09">
|
|
August 9, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-08-09">
|
|
August 9, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/dcrypt-symmetric.html">dcrypt-symmetric</a>
|
|
|
|
(<a href="https://crates.io/crates/dcrypt-symmetric">crates.io</a>)
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
Vulnerability
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="categories">Categories</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><a href="/categories/crypto-failure.html">crypto-failure</a></li>
|
|
|
|
<li><a href="/categories/denial-of-service.html">denial-of-service</a></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="keywords">Keywords</dt>
|
|
<dd>
|
|
|
|
<a href="/keywords/aead.html">#aead</a>
|
|
|
|
<a href="/keywords/reordering.html">#reordering</a>
|
|
|
|
<a href="/keywords/replay.html">#replay</a>
|
|
|
|
<a href="/keywords/streaming.html">#streaming</a>
|
|
|
|
<a href="/keywords/truncation.html">#truncation</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-8cwp-4826-jg9f">GHSA-8cwp-4826-jg9f</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/ioi-foundation/dcrypt/security/advisories/GHSA-8cwp-4826-jg9f">
|
|
https://github.com/ioi-foundation/dcrypt/security/advisories/GHSA-8cwp-4826-jg9f
|
|
</a>
|
|
</li>
|
|
|
|
|
|
<li>
|
|
<a href="https://github.com/ioi-foundation/dcrypt/commit/c99cc86f0ee353010cd202cbcd2c310371b0bbb8">
|
|
https://github.com/ioi-foundation/dcrypt/commit/c99cc86f0ee353010cd202cbcd2c310371b0bbb8
|
|
</a>
|
|
</li>
|
|
|
|
<li>
|
|
<a href="https://github.com/ioi-foundation/dcrypt/releases/tag/v2.0.0">
|
|
https://github.com/ioi-foundation/dcrypt/releases/tag/v2.0.0
|
|
</a>
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&#62;=2.0.0</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>In all published versions of <code>dcrypt-symmetric</code> before 2.0.0, version-1 GCM and
|
|
ChaCha20-Poly1305 streams used unauthenticated terminator, counter, and length
|
|
fields. Decryptors trusted transmitted counters, allocated from unbounded
|
|
lengths, and discarded plaintext that did not fit a caller's single read
|
|
buffer. An attacker could obtain successful truncated EOF, omit, replay, or
|
|
reorder frames within a stream, or request an allocation approaching 4 GiB.</p>
|
|
<p>Version 2.0.0 introduces the <code>DCRSTRM2</code> format, which authenticates its version,
|
|
algorithm, random stream identifier, base nonce, strict sequence, bounded
|
|
lengths, final flag, and caller AAD. It enforces authenticated finality and
|
|
physical EOF, bounds frames to 16 KiB before allocation, retains partial-read
|
|
plaintext, and rejects legacy version-1 input. Existing version-1 ciphertext
|
|
cannot retrospectively prove completeness or ordering and must be migrated only
|
|
through an application-specific, explicitly trusted process.</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-0240: Vulnerability in dcrypt-sign</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0240.html</id><updated>2026-08-09T12:00:00+00:00</updated><category term="crypto-failure"/><link href="https://rustsec.org/advisories/RUSTSEC-2026-0240.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0240: Vulnerability in dcrypt-sign"/><published>2026-08-09T12:00:00+00:00</published><summary xml:lang="en">Ed25519 identity public keys permit universal signature forgery</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/dcrypt-sign/RUSTSEC-2026-0240.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/dcrypt-sign/RUSTSEC-2026-0240.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0240">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0240
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Ed25519 identity public keys permit universal signature forgery</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-08-09">
|
|
August 9, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-08-09">
|
|
August 9, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/dcrypt-sign.html">dcrypt-sign</a>
|
|
|
|
(<a href="https://crates.io/crates/dcrypt-sign">crates.io</a>)
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
Vulnerability
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="categories">Categories</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><a href="/categories/crypto-failure.html">crypto-failure</a></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="keywords">Keywords</dt>
|
|
<dd>
|
|
|
|
<a href="/keywords/ed25519.html">#ed25519</a>
|
|
|
|
<a href="/keywords/identity-key.html">#identity-key</a>
|
|
|
|
<a href="/keywords/signature-forgery.html">#signature-forgery</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-7j32-2mpw-c784">GHSA-7j32-2mpw-c784</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/ioi-foundation/dcrypt/security/advisories/GHSA-7j32-2mpw-c784">
|
|
https://github.com/ioi-foundation/dcrypt/security/advisories/GHSA-7j32-2mpw-c784
|
|
</a>
|
|
</li>
|
|
|
|
|
|
<li>
|
|
<a href="https://github.com/ioi-foundation/dcrypt/commit/c99cc86f0ee353010cd202cbcd2c310371b0bbb8">
|
|
https://github.com/ioi-foundation/dcrypt/commit/c99cc86f0ee353010cd202cbcd2c310371b0bbb8
|
|
</a>
|
|
</li>
|
|
|
|
<li>
|
|
<a href="https://github.com/ioi-foundation/dcrypt/releases/tag/v2.0.0">
|
|
https://github.com/ioi-foundation/dcrypt/releases/tag/v2.0.0
|
|
</a>
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&#62;=2.0.0</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>All published versions of <code>dcrypt-sign</code> before 2.0.0 accepted the Edwards
|
|
identity as an Ed25519 public key. A signature with <code>R = B</code> and <code>S = 1</code> then
|
|
verified for every message because the challenge term multiplied the identity.
|
|
The implementation also admitted other noncanonical or small-order inputs.
|
|
Consumers that accepted externally supplied dcrypt Ed25519 keys may therefore
|
|
have accepted forged authorizations.</p>
|
|
<p>Version 2.0.0 replaces the custom arithmetic with <code>ed25519-dalek</code>, uses strict
|
|
verification, and rejects noncanonical, small-order, and non-torsion-free public
|
|
keys and <code>R</code> values, as well as noncanonical <code>S &gt;= L</code>. No wrapper around the
|
|
affected verifier is recommended as a complete workaround. Upgrade to 2.0.0 or
|
|
later, audit registered keys and trust stores, and review historical actions
|
|
authorized with externally supplied keys.</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-0241: nostr-keyring is unmaintained</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0241.html</id><updated>2026-08-09T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2026-0241.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0241: nostr-keyring is unmaintained"/><published>2026-08-09T12:00:00+00:00</published><summary xml:lang="en">`nostr-keyring` is unmaintained</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/nostr-keyring/RUSTSEC-2026-0241.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/nostr-keyring/RUSTSEC-2026-0241.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0241">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0241
|
|
|
|
</h1>
|
|
<span class="subtitle"><p><code>nostr-keyring</code> is unmaintained</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-08-03">
|
|
August 3, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-08-09">
|
|
August 9, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/nostr-keyring.html">nostr-keyring</a>
|
|
|
|
(<a href="https://crates.io/crates/nostr-keyring">crates.io</a>)
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
<span class="tag info">INFO</span>
|
|
Unmaintained
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
|
|
<li>
|
|
<a href="https://github.com/nostrdevkit/nostr/pull/1414">
|
|
https://github.com/nostrdevkit/nostr/pull/1414
|
|
</a>
|
|
</li>
|
|
|
|
<li>
|
|
<a href="https://github.com/nostrdevkit/nostr/issues/1415">
|
|
https://github.com/nostrdevkit/nostr/issues/1415
|
|
</a>
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
no patched versions
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The <code>nostr-keyring</code> crate is no longer actively maintained.</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-0244: Unsoundness in gettext-rs</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0244.html</id><updated>2026-08-09T12:00:00+00:00</updated><category term="memory-corruption"/><category term="thread-safety"/><link href="https://rustsec.org/advisories/RUSTSEC-2026-0244.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0244: Unsoundness in gettext-rs"/><published>2026-08-09T12:00:00+00:00</published><summary xml:lang="en">`setlocale` and `TextDomain::init` are unsound as they access environment with no synchronization</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/gettext-rs/RUSTSEC-2026-0244.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/gettext-rs/RUSTSEC-2026-0244.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0244">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0244
|
|
|
|
</h1>
|
|
<span class="subtitle"><p><code>setlocale</code> and <code>TextDomain::init</code> are unsound as they access environment with no synchronization</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-08-06">
|
|
August 6, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-08-09">
|
|
August 9, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/gettext-rs.html">gettext-rs</a>
|
|
|
|
(<a href="https://crates.io/crates/gettext-rs">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>
|
|
|
|
<li><a href="/categories/thread-safety.html">thread-safety</a></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/gettext-rs/gettext-rs/issues/64">
|
|
https://github.com/gettext-rs/gettext-rs/issues/64
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&#62;=0.8.0</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt>Affected Functions</dt>
|
|
<dd>Version</dd>
|
|
|
|
<dt><code>gettext_rs::TextDomain::init</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#60;0.8.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
<dt><code>gettext_rs::setlocale</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#60;0.8.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p><code>setlocale</code> and <code>TextDomain::init</code> are unsound and may allow safe code to exhibit undefined behavior when called in a multi-threaded program.</p>
|
|
<p>The flaw is fixed in 0.8.0 by marking these functions <code>unsafe</code> and documenting the conditions under which they can be called safely.</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-0242: Vulnerability in dcrypt-api</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0242.html</id><updated>2026-08-09T12:00:00+00:00</updated><category term="memory-corruption"/><category term="thread-safety"/><link href="https://rustsec.org/advisories/RUSTSEC-2026-0242.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0242: Vulnerability in dcrypt-api"/><published>2026-08-09T12:00:00+00:00</published><summary xml:lang="en">Safe ErrorRegistry APIs can cause undefined behavior</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/dcrypt-api/RUSTSEC-2026-0242.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/dcrypt-api/RUSTSEC-2026-0242.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0242">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0242
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Safe ErrorRegistry APIs can cause undefined behavior</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-08-09">
|
|
August 9, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-08-09">
|
|
August 9, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/dcrypt-api.html">dcrypt-api</a>
|
|
|
|
(<a href="https://crates.io/crates/dcrypt-api">crates.io</a>)
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
Vulnerability
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="categories">Categories</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><a href="/categories/memory-corruption.html">memory-corruption</a></li>
|
|
|
|
<li><a href="/categories/thread-safety.html">thread-safety</a></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="keywords">Keywords</dt>
|
|
<dd>
|
|
|
|
<a href="/keywords/safe-code.html">#safe-code</a>
|
|
|
|
<a href="/keywords/type-confusion.html">#type-confusion</a>
|
|
|
|
<a href="/keywords/use-after-free.html">#use-after-free</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-7hc7-h3f2-r4j6">GHSA-7hc7-h3f2-r4j6</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/ioi-foundation/dcrypt/security/advisories/GHSA-7hc7-h3f2-r4j6">
|
|
https://github.com/ioi-foundation/dcrypt/security/advisories/GHSA-7hc7-h3f2-r4j6
|
|
</a>
|
|
</li>
|
|
|
|
|
|
<li>
|
|
<a href="https://github.com/ioi-foundation/dcrypt/commit/c99cc86f0ee353010cd202cbcd2c310371b0bbb8">
|
|
https://github.com/ioi-foundation/dcrypt/commit/c99cc86f0ee353010cd202cbcd2c310371b0bbb8
|
|
</a>
|
|
</li>
|
|
|
|
<li>
|
|
<a href="https://github.com/ioi-foundation/dcrypt/releases/tag/v2.0.0">
|
|
https://github.com/ioi-foundation/dcrypt/releases/tag/v2.0.0
|
|
</a>
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&#62;=2.0.0</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>All published versions of <code>dcrypt-api</code> before 2.0.0 exposed safe
|
|
<code>ErrorRegistry</code> operations that could trigger undefined behavior when the
|
|
default <code>std</code> feature was enabled.</p>
|
|
<p>Stored <code>Box&lt;E&gt;</code> values were erased to raw pointers and later deallocated as
|
|
<code>Box&lt;()&gt;</code>. The <code>get_error&lt;E&gt;</code> operation also performed an unchecked cast to a
|
|
caller-selected type. Finally, concurrent replacement or clearing could free a
|
|
value while another thread cloned it. Ordinary safe Rust could therefore cause
|
|
mismatched deallocation, type confusion, and use-after-free. Crates that
|
|
re-exported this API are affected transitively.</p>
|
|
<p>Version 2.0.0 replaces the raw pointers with owned <code>Box&lt;dyn Any + Send&gt;</code> values
|
|
behind a mutex, performs checked downcasts, and uses a mutation generation so
|
|
concurrent stores and clears win safely. There is no reliable workaround while
|
|
calling the affected registry API. Upgrade to 2.0.0 or later and avoid
|
|
process-global error state where possible.</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-0243: nostr-relay-pool is unmaintained</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0243.html</id><updated>2026-08-09T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2026-0243.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0243: nostr-relay-pool is unmaintained"/><published>2026-08-09T12:00:00+00:00</published><summary xml:lang="en">`nostr-relay-pool` is unmaintained</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/nostr-relay-pool/RUSTSEC-2026-0243.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/nostr-relay-pool/RUSTSEC-2026-0243.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0243">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0243
|
|
|
|
</h1>
|
|
<span class="subtitle"><p><code>nostr-relay-pool</code> is unmaintained</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-08-03">
|
|
August 3, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-08-09">
|
|
August 9, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/nostr-relay-pool.html">nostr-relay-pool</a>
|
|
|
|
(<a href="https://crates.io/crates/nostr-relay-pool">crates.io</a>)
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
<span class="tag info">INFO</span>
|
|
Unmaintained
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
|
|
<li>
|
|
<a href="https://github.com/nostrdevkit/nostr/issues/1415">
|
|
https://github.com/nostrdevkit/nostr/issues/1415
|
|
</a>
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
no patched versions
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The <code>nostr-relay-pool</code> crate is no longer actively maintained as a standalone crate.</p>
|
|
<p>Its functionality has been incorporated into <a href="https://crates.io/crates/nostr-sdk"><code>nostr-sdk</code></a> starting with version <code>0.45.0</code>.</p>
|
|
<p>Users should migrate to <a href="https://crates.io/crates/nostr-sdk"><code>nostr-sdk</code></a>.</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-0236: Vulnerability in viperjs</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0236.html</id><updated>2026-08-06T12:00:00+00:00</updated><category term="denial-of-service"/><link href="https://rustsec.org/advisories/RUSTSEC-2026-0236.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0236: Vulnerability in viperjs"/><published>2026-08-06T12:00:00+00:00</published><summary xml:lang="en">A `BigInt` division panics, and two neighbouring operations answer wrongly in silence</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/viperjs/RUSTSEC-2026-0236.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/viperjs/RUSTSEC-2026-0236.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0236">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0236
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>A <code>BigInt</code> division panics, and two neighbouring operations answer wrongly in silence</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-08-06">
|
|
August 6, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-08-06">
|
|
August 6, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/viperjs.html">viperjs</a>
|
|
|
|
(<a href="https://crates.io/crates/viperjs">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>
|
|
|
|
<a href="/keywords/bigint.html">#bigint</a>
|
|
|
|
<a href="/keywords/untrusted-input.html">#untrusted-input</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-6976-qm5m-7mcj">GHSA-6976-qm5m-7mcj</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/MerlijnW70/viperjs/security/advisories/GHSA-6976-qm5m-7mcj">
|
|
https://github.com/MerlijnW70/viperjs/security/advisories/GHSA-6976-qm5m-7mcj
|
|
</a>
|
|
</li>
|
|
|
|
|
|
<li>
|
|
<a href="https://github.com/MerlijnW70/viperjs/releases/tag/v0.2.2">
|
|
https://github.com/MerlijnW70/viperjs/releases/tag/v0.2.2
|
|
</a>
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="cvss_score">CVSS Score</dt>
|
|
<dd>7.5 <span class="tag high">
|
|
HIGH
|
|
</span></dd>
|
|
|
|
<dt id="cvss_details">CVSS Details</dt>
|
|
<dd>
|
|
<dl>
|
|
|
|
<dt>Attack Vector</dt>
|
|
<dd>Network</dd>
|
|
|
|
<dt>Attack Complexity</dt>
|
|
<dd>Low</dd>
|
|
|
|
<dt>Privileges Required</dt>
|
|
<dd>None</dd>
|
|
|
|
<dt>User Interaction</dt>
|
|
<dd>None</dd>
|
|
|
|
<dt>Scope</dt>
|
|
<dd>Unchanged</dd>
|
|
|
|
<dt>Confidentiality Impact</dt>
|
|
<dd>None</dd>
|
|
|
|
<dt>Integrity Impact</dt>
|
|
<dd>None</dd>
|
|
|
|
<dt>Availability Impact</dt>
|
|
<dd>High</dd>
|
|
|
|
</dl>
|
|
</dd>
|
|
|
|
<dt id="cvss">CVSS Vector</dt>
|
|
|
|
|
|
<dd><a href="https://www.first.org/cvss/calculator/3.1#CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H">CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H</a></dd>
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&#62;=0.2.2</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p><code>viperjs</code> is a JavaScript engine intended to run untrusted script inside a host application, so
|
|
script text is data rather than a trusted caller and a panic reachable from script is a denial of
|
|
service in the embedder's process.</p>
|
|
<p>A divisor whose magnitude lands exactly on the engine's internal limb ceiling reaches an
|
|
out-of-bounds index. On every released version up to and including 0.2.1:</p>
|
|
<pre><code class="language-js">const d = (1n &lt;&lt; 33554399n) * 2n;
|
|
1n / d; // panic: index out of bounds
|
|
</code></pre>
|
|
<p>Two further operations on the same value returned wrong results without raising anything, which
|
|
is the more dangerous half for an embedder that acts on the answer:</p>
|
|
<pre><code class="language-js">d % 7n; // 0n — the true remainder is 1n
|
|
String(d); // &quot;0&quot;
|
|
</code></pre>
|
|
<h2>Cause</h2>
|
|
<p>The left-shift helper reserved one limb for the bits a shift may push past the top of the
|
|
magnitude, measured <em>that</em> width against the size ceiling, and then trimmed the reserved limb away
|
|
again — so a magnitude landing exactly on the ceiling was refused on account of room it does not
|
|
keep. The division treated that refusal as unreachable and discarded it with <code>unwrap_or_default</code>,
|
|
leaving an empty divisor magnitude; the subsequent <code>divisor[n - 1]</code> is then an index of
|
|
<code>usize::MAX</code>.</p>
|
|
<p>The crate is <code>#![forbid(unsafe_code)]</code>, so this is a panic and not memory unsafety.</p>
|
|
<h2>Remediation</h2>
|
|
<p>Upgrade to 0.2.2, in which all three behaviours are fixed: both divisions now produce correct
|
|
results, and <code>String()</code> of a magnitude beyond what the engine can divide raises a <code>RangeError</code>
|
|
rather than producing <code>&quot;0&quot;</code> — ECMA-262 §6.1.4 requires an implementation that imposes a limit to
|
|
throw rather than answer something else.</p>
|
|
<p>There is no workaround short of upgrading; the values are reachable from any script the embedder
|
|
evaluates.</p>
|
|
<p>Reported by <a href="https://github.com/Zniece">@Zniece</a>.</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-0233: Vulnerability in rkyv</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0233.html</id><updated>2026-08-04T12:00:00+00:00</updated><category term="memory-corruption"/><link href="https://rustsec.org/advisories/RUSTSEC-2026-0233.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0233: Vulnerability in rkyv"/><published>2026-08-04T12:00:00+00:00</published><summary xml:lang="en">Crafted archives can cause a use-after-free during deserialization</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-0233.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/rkyv/RUSTSEC-2026-0233.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0233">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0233
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Crafted archives can cause a use-after-free during deserialization</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-05-11">
|
|
May 11, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-08-04">
|
|
August 4, 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>
|
|
|
|
Vulnerability
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="categories">Categories</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><a href="/categories/memory-corruption.html">memory-corruption</a></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="keywords">Keywords</dt>
|
|
<dd>
|
|
|
|
<a href="/keywords/use-after-free.html">#use-after-free</a>
|
|
|
|
<a href="/keywords/validation.html">#validation</a>
|
|
|
|
<a href="/keywords/deserialization.html">#deserialization</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/rkyv/rkyv/issues/666">
|
|
https://github.com/rkyv/rkyv/issues/666
|
|
</a>
|
|
</li>
|
|
|
|
|
|
<li>
|
|
<a href="https://github.com/rkyv/rkyv/commit/3c9d07fbff5949261bef38d00ab160b129bd9d3a">
|
|
https://github.com/rkyv/rkyv/commit/3c9d07fbff5949261bef38d00ab160b129bd9d3a
|
|
</a>
|
|
</li>
|
|
|
|
<li>
|
|
<a href="https://github.com/rkyv/rkyv/commit/107772907c4e839fa67900385f0d4814e7d15e42">
|
|
https://github.com/rkyv/rkyv/commit/107772907c4e839fa67900385f0d4814e7d15e42
|
|
</a>
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&#62;=0.8.17</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="unaffected">Unaffected</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#60;0.8.0-rc.1</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>Insufficient archive range validation could allow a crafted archive to reach
|
|
<code>ArchivedString::deserialize</code> with an invalid pointer. A reported reproducer
|
|
used <code>rkyv::from_bytes</code> to deserialize a struct containing strings, a vector,
|
|
a box, and an optional hash map. AddressSanitizer detected a heap use-after-free
|
|
during string deserialization.</p>
|
|
<p>The flaw could be triggered through the safe checked deserialization API when
|
|
processing malicious archive bytes. Version 0.8.17 rejects the malformed
|
|
archive during validation. Users who process untrusted archives should upgrade
|
|
to 0.8.17 or later.</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-0235: Vulnerability in rkyv</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0235.html</id><updated>2026-08-04T12:00:00+00:00</updated><category term="memory-exposure"/><link href="https://rustsec.org/advisories/RUSTSEC-2026-0235.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0235: Vulnerability in rkyv"/><published>2026-08-04T12:00:00+00:00</published><summary xml:lang="en">Insufficient archive validation can cause out-of-bounds reads in archives containing Rc/Arc</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-0235.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/rkyv/RUSTSEC-2026-0235.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0235">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0235
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Insufficient archive validation can cause out-of-bounds reads in archives containing Rc/Arc</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-05-13">
|
|
May 13, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-08-04">
|
|
August 4, 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>
|
|
|
|
Vulnerability
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="categories">Categories</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><a href="/categories/memory-exposure.html">memory-exposure</a></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="keywords">Keywords</dt>
|
|
<dd>
|
|
|
|
<a href="/keywords/out-of-bounds-read.html">#out-of-bounds-read</a>
|
|
|
|
<a href="/keywords/validation.html">#validation</a>
|
|
|
|
<a href="/keywords/shared-pointer.html">#shared-pointer</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/rkyv/rkyv/issues/670">
|
|
https://github.com/rkyv/rkyv/issues/670
|
|
</a>
|
|
</li>
|
|
|
|
|
|
<li>
|
|
<a href="https://github.com/rkyv/rkyv/commit/3c9d07fbff5949261bef38d00ab160b129bd9d3a">
|
|
https://github.com/rkyv/rkyv/commit/3c9d07fbff5949261bef38d00ab160b129bd9d3a
|
|
</a>
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&#62;=0.8.17</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="unaffected">Unaffected</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#60;0.7.0-pre.2</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>Shared pointer validation keyed already-validated pointees by their address and
|
|
type, but did not include pointer metadata. For unsized pointees, an archive
|
|
could therefore contain multiple <code>Rc</code>, <code>Arc</code>, or weak pointers that shared a
|
|
data address but used different metadata, such as different slice lengths.</p>
|
|
<p>Once the first pointer had been validated, later pointers to the same address
|
|
skipped pointee validation. The safe checked <code>rkyv::access</code> API could
|
|
consequently return a slice with a forged length, allowing safe indexing to
|
|
read out of bounds. The same validation bypass was reachable through checked
|
|
deserialization with <code>rkyv::from_bytes</code>.</p>
|
|
<p>Version 0.8.17 includes pointer metadata in shared pointer validation and
|
|
rejects conflicting metadata. The 0.7 series is also affected but is no
|
|
longer supported by upstream. Users who process untrusted archives should upgrade
|
|
to 0.8.17 or later.</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-0234: Vulnerability in rkyv</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0234.html</id><updated>2026-08-04T12:00:00+00:00</updated><category term="memory-exposure"/><category term="denial-of-service"/><link href="https://rustsec.org/advisories/RUSTSEC-2026-0234.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0234: Vulnerability in rkyv"/><published>2026-08-04T12:00:00+00:00</published><summary xml:lang="en">Insufficient archive validation can cause out-of-bounds reads in archives containing hash tables</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-0234.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/rkyv/RUSTSEC-2026-0234.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0234">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0234
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Insufficient archive validation can cause out-of-bounds reads in archives containing hash tables</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-05-11">
|
|
May 11, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-08-04">
|
|
August 4, 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>
|
|
|
|
Vulnerability
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="categories">Categories</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><a href="/categories/memory-exposure.html">memory-exposure</a></li>
|
|
|
|
<li><a href="/categories/denial-of-service.html">denial-of-service</a></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="keywords">Keywords</dt>
|
|
<dd>
|
|
|
|
<a href="/keywords/out-of-bounds-read.html">#out-of-bounds-read</a>
|
|
|
|
<a href="/keywords/validation.html">#validation</a>
|
|
|
|
<a href="/keywords/hashmap.html">#hashmap</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/rkyv/rkyv/issues/663">
|
|
https://github.com/rkyv/rkyv/issues/663
|
|
</a>
|
|
</li>
|
|
|
|
|
|
<li>
|
|
<a href="https://github.com/rkyv/rkyv/issues/664">
|
|
https://github.com/rkyv/rkyv/issues/664
|
|
</a>
|
|
</li>
|
|
|
|
<li>
|
|
<a href="https://github.com/rkyv/rkyv/issues/665">
|
|
https://github.com/rkyv/rkyv/issues/665
|
|
</a>
|
|
</li>
|
|
|
|
<li>
|
|
<a href="https://github.com/rkyv/rkyv/issues/669">
|
|
https://github.com/rkyv/rkyv/issues/669
|
|
</a>
|
|
</li>
|
|
|
|
<li>
|
|
<a href="https://github.com/rkyv/rkyv/commit/3c9d07fbff5949261bef38d00ab160b129bd9d3a">
|
|
https://github.com/rkyv/rkyv/commit/3c9d07fbff5949261bef38d00ab160b129bd9d3a
|
|
</a>
|
|
</li>
|
|
|
|
<li>
|
|
<a href="https://github.com/rkyv/rkyv/commit/57086e1c7f417d0360c7045905db3b3d8e30f866">
|
|
https://github.com/rkyv/rkyv/commit/57086e1c7f417d0360c7045905db3b3d8e30f866
|
|
</a>
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&#62;=0.8.17</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="unaffected">Unaffected</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#60;0.8.0-rc.1</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The archive validator could accept certain malformed relative pointers and
|
|
invalid <code>ArchivedHashTable</code> states. In particular, the hash table verifier did
|
|
not ensure that the number of occupied buckets matched the table's declared
|
|
length.</p>
|
|
<p>A crafted archive could pass the checks performed by the safe <code>rkyv::access</code>
|
|
and <code>rkyv::from_bytes</code> APIs and then cause an out-of-bounds read in later
|
|
validation, lookup, or deserialization. Depending on the input, this could
|
|
perform scalar or SIMD reads outside the archive buffer or crash the process.</p>
|
|
<p>Version 0.8.17 strengthens archive range validation and rejects hash tables
|
|
whose number of occupied buckets does not match their declared length. Users
|
|
who process untrusted archives should upgrade to 0.8.17 or later.</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> |