mirror of
https://github.com/rustsec/advisory-db.git
synced 2026-11-30 10:24:32 -06:00
1758 lines
60 KiB
XML
1758 lines
60 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-06-03T12: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-0155: exploration contained malicious code</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0155.html</id><updated>2026-06-03T12:00:00+00:00</updated><category term="malicious"/><link href="https://rustsec.org/advisories/RUSTSEC-2026-0155.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0155: exploration contained malicious code"/><published>2026-06-03T12:00:00+00:00</published><summary xml:lang="en">`exploration` was removed from crates.io for malicious code</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/exploration/RUSTSEC-2026-0155.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/exploration/RUSTSEC-2026-0155.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0155">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0155
|
|
|
|
</h1>
|
|
<span class="subtitle"><p><code>exploration</code> was removed from crates.io for malicious code</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-06-02">
|
|
June 2, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-06-03">
|
|
June 3, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/exploration.html">exploration</a>
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
Vulnerability
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="categories">Categories</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><a href="/categories/malicious.html">malicious</a></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
no patched versions
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>A method within the <code>exploration</code> crate attempted to download and execute a
|
|
payload from a remote site.</p>
|
|
<p>The malicious crate had 1 version published on 2026-06-02, approximately 1 hour
|
|
before removal, and had no evidence of actual usage. This crate had no
|
|
dependencies on crates.io.</p>
|
|
<p>Thanks to Kirill Boychenko from the <a href="https://socket.dev/">Socket Threat Research
|
|
Team</a> for reporting this crate.</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-0153: Vulnerability in russh-cryptovec</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0153.html</id><updated>2026-06-02T12:00:00+00:00</updated><category term="denial-of-service"/><link href="https://rustsec.org/advisories/RUSTSEC-2026-0153.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0153: Vulnerability in russh-cryptovec"/><published>2026-06-02T12:00:00+00:00</published><summary xml:lang="en">Unchecked `CryptoVec` allocation and growth handling</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/russh-cryptovec/RUSTSEC-2026-0153.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/russh-cryptovec/RUSTSEC-2026-0153.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0153">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0153
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Unchecked <code>CryptoVec</code> allocation and growth handling</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-05-15">
|
|
May 15, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-06-02">
|
|
June 2, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/russh-cryptovec.html">russh-cryptovec</a>
|
|
|
|
(<a href="https://crates.io/crates/russh-cryptovec">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="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-46673">CVE-2026-46673</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-g9f8-wqj9-fjw5">GHSA-g9f8-wqj9-fjw5</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/Eugeny/russh/security/advisories/GHSA-g9f8-wqj9-fjw5">
|
|
https://github.com/Eugeny/russh/security/advisories/GHSA-g9f8-wqj9-fjw5
|
|
</a>
|
|
</li>
|
|
|
|
|
|
<li>
|
|
<a href="https://github.com/Eugeny/russh/commit/a2d48a71fe93d18cbd666c8d53d0882f5ce110c4">
|
|
https://github.com/Eugeny/russh/commit/a2d48a71fe93d18cbd666c8d53d0882f5ce110c4
|
|
</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.60.3</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p><code>CryptoVec</code> used unchecked capacity growth, unchecked length arithmetic, and
|
|
unsafe allocation and locking paths. In affected <code>russh</code> releases,
|
|
attacker-controlled input could reach these code paths through buffer resizing
|
|
operations.</p>
|
|
<p>Two affected reachability paths were identified:</p>
|
|
<ul>
|
|
<li>
|
|
<p><strong>Current <code>russh</code> releases (<code>0.60.x</code> before the fix)</strong>
|
|
Local SSH agent peers could provide attacker-controlled frame lengths that
|
|
were used to resize internal buffers before validation in:</p>
|
|
<ul>
|
|
<li><code>AgentClient::read_response</code></li>
|
|
<li><code>agent::server::Connection::run</code></li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><strong>Historical <code>russh</code> releases before <code>0.58.0</code></strong>
|
|
<code>CryptoVec</code> was also used for non-secret transport and compression buffers,
|
|
allowing remote SSH traffic to trigger <code>CryptoVec</code> growth through:</p>
|
|
<ul>
|
|
<li>transport packet reads</li>
|
|
<li>zlib decompression output</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<p>These remote paths were removed in <code>0.58.0</code> when <code>CryptoVec</code> stopped being used
|
|
for those buffers.</p>
|
|
<p>Under constrained memory conditions, historical <code>russh</code> versions prior to
|
|
<code>0.58.0</code> can abort the process when remote compressed payload expansion causes
|
|
allocation failure in <code>CryptoVec</code>. This was reproduced through the compression
|
|
path and resulted in process termination in the Unix allocation/locking
|
|
implementation after null pointer allocation failure.</p>
|
|
<p>For current affected releases, oversized local SSH agent frame lengths could
|
|
trigger untrusted-input-driven buffer growth prior to validation.</p>
|
|
<p>No practical remote code execution, integrity or confidentiality impact has
|
|
been demonstrated.</p>
|
|
<p>Fixed by validating CryptoVec growth operations and rejecting oversized SSH
|
|
agent frame lengths before buffer allocation.</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-0154: Vulnerability in russh</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0154.html</id><updated>2026-06-02T12:00:00+00:00</updated><category term="denial-of-service"/><link href="https://rustsec.org/advisories/RUSTSEC-2026-0154.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0154: Vulnerability in russh"/><published>2026-06-02T12:00:00+00:00</published><summary xml:lang="en">Unbounded 32-bit allocation</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/russh/RUSTSEC-2026-0154.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/russh/RUSTSEC-2026-0154.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0154">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0154
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Unbounded 32-bit allocation</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-05-15">
|
|
May 15, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-06-02">
|
|
June 2, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/russh.html">russh</a>
|
|
|
|
(<a href="https://crates.io/crates/russh">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="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-46673">CVE-2026-46673</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-g9f8-wqj9-fjw5">GHSA-g9f8-wqj9-fjw5</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/Eugeny/russh/security/advisories/GHSA-g9f8-wqj9-fjw5">
|
|
https://github.com/Eugeny/russh/security/advisories/GHSA-g9f8-wqj9-fjw5
|
|
</a>
|
|
</li>
|
|
|
|
|
|
<li>
|
|
<a href="https://github.com/Eugeny/russh/commit/a2d48a71fe93d18cbd666c8d53d0882f5ce110c4">
|
|
https://github.com/Eugeny/russh/commit/a2d48a71fe93d18cbd666c8d53d0882f5ce110c4
|
|
</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.60.3</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>Both the SSH agent server and client accepted peer-controlled frame lengths
|
|
without enforcing a maximum frame size. This could cause large memory
|
|
allocations while parsing a maliciously crafted agent frame.</p>
|
|
<p>A malicious peer could advertise an oversized frame length, causing the client
|
|
or server to attempt a large memory allocation before validating the frame,
|
|
potentially leading to memory exhaustion or process termination.</p>
|
|
<p>This is fixed by enforcing a maximum agent frame size of 256 KiB and
|
|
rejecting oversized frames before buffer allocation.</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-0152: Vulnerability in oneringbuf</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0152.html</id><updated>2026-06-01T12:00:00+00:00</updated><category term="memory-corruption"/><link href="https://rustsec.org/advisories/RUSTSEC-2026-0152.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0152: Vulnerability in oneringbuf"/><published>2026-06-01T12:00:00+00:00</published><summary xml:lang="en">Use-after-free</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/oneringbuf/RUSTSEC-2026-0152.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/oneringbuf/RUSTSEC-2026-0152.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0152">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0152
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Use-after-free</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-05-27">
|
|
May 27, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-06-01">
|
|
June 1, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/oneringbuf.html">oneringbuf</a>
|
|
|
|
(<a href="https://crates.io/crates/oneringbuf">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/safe-code.html">#safe-code</a>
|
|
|
|
<a href="/keywords/clone.html">#clone</a>
|
|
|
|
<a href="/keywords/drop.html">#drop</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/skilvingr/rust-oneringbuf/commit/643a24b30914068416dff9021a069c12c865a316">
|
|
https://github.com/skilvingr/rust-oneringbuf/commit/643a24b30914068416dff9021a069c12c865a316
|
|
</a>
|
|
</li>
|
|
|
|
|
|
<li>
|
|
<a href="https://github.com/skilvingr/rust-oneringbuf/commit/643a24b30914068416dff9021a069c12c865a316">
|
|
https://github.com/skilvingr/rust-oneringbuf/commit/643a24b30914068416dff9021a069c12c865a316
|
|
</a>
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&#62;=0.8.0</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>Affected versions of <code>oneringbuf</code> exposed the obsolete <code>IntoRef::into_ref</code> method through the public <code>IntoRef</code> trait. For heap-backed ring buffers, this method returned a <code>DroppableRef</code> handle.</p>
|
|
<p><code>DroppableRef</code> stored an owning raw pointer created from <code>Box::into_raw</code>. Its <code>Clone</code> implementation copied this raw pointer without incrementing the internal <code>alive_iters</code> counter. Internally, this clone pattern appears to rely on a fixed number of handles being created to match the initial <code>alive_iters</code> value. However, exposing <code>DroppableRef</code> through the public <code>IntoRef::TargetRef</code> associated type allows safe external code to create additional clones beyond that fixed count, breaking the lifetime protocol. <code>Drop</code> later dereferenced the pointer and could free the backing allocation with <code>Box::from_raw</code>.</p>
|
|
<p>Safe code could call <code>IntoRef::into_ref</code> to obtain a <code>DroppableRef</code> and then clone it. Each clone pointed to the same allocation, but the internal <code>alive_iters</code> counter was not increased. As a result, one clone could free the allocation while another clone still existed. Dropping the remaining clone then accessed freed memory, causing a heap-use-after-free.</p>
|
|
<p>The issue was fixed in version 0.8.0 by removing the obsolete <code>into_ref</code> method.</p>
|
|
<h2>Trigger</h2>
|
|
<pre><code class="language-rust">use oneringbuf::{IntoRef, LocalHeapRB};
|
|
|
|
fn main() {
|
|
let rb = LocalHeapRB::&lt;usize&gt;::from(vec![1, 2, 3]);
|
|
|
|
let r = &lt;LocalHeapRB&lt;usize&gt; as IntoRef&gt;::into_ref(rb);
|
|
let r2 = r.clone();
|
|
let r3 = r.clone();
|
|
|
|
drop(r);
|
|
drop(r2);
|
|
drop(r3); // AddressSanitizer: heap-use-after-free
|
|
}
|
|
</code></pre>
|
|
|
|
|
|
<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-0151: Vulnerability in jxl-grid</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0151.html</id><updated>2026-05-29T12:00:00+00:00</updated><category term="memory-corruption"/><link href="https://rustsec.org/advisories/RUSTSEC-2026-0151.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0151: Vulnerability in jxl-grid"/><published>2026-05-29T12:00:00+00:00</published><summary xml:lang="en">Out-of-bounds writes due to integer overflow in jxl-grid on 32-bit platforms</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/jxl-grid/RUSTSEC-2026-0151.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/jxl-grid/RUSTSEC-2026-0151.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0151">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0151
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Out-of-bounds writes due to integer overflow in jxl-grid on 32-bit platforms</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-05-29">
|
|
May 29, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-05-29">
|
|
May 29, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/jxl-grid.html">jxl-grid</a>
|
|
|
|
(<a href="https://crates.io/crates/jxl-grid">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="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-5pmv-rx8r-wmv5">GHSA-5pmv-rx8r-wmv5</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/tirr-c/jxl-oxide/security/advisories/GHSA-5pmv-rx8r-wmv5">
|
|
https://github.com/tirr-c/jxl-oxide/security/advisories/GHSA-5pmv-rx8r-wmv5
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&#62;=0.6.2</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>On 32-bit platforms, decoding a crafted image may lead to out-of-bounds writes due to integer overflow in length calculation. This could allow arbitrary code execution.</p>
|
|
<h3>Details &amp; PoC</h3>
|
|
<p>The test listed below fail under miri with command <code>cargo +nightly miri test --release -p jxl-grid</code></p>
|
|
<p>Or you can use Address Sanitizer, which ignores Rust-specific UB like aliasing but still flags out-of-bounds accesses:</p>
|
|
<p><code>RUSTFLAGS=-Zsanitizer=address cargo +nightly test -Zbuild-std -p jxl-grid --release --target x86_64-unknown-linux-gnu</code></p>
|
|
<p>The following tests should be appended to <code>crates/jxl-grid/src/test/subgrids.rs</code>:</p>
|
|
<pre><code class="language-rust">mod miri_ub {
|
|
use super::*;
|
|
|
|
// `AlignedGrid::with_alloc_tracker` computes `width * height` unchecked. In release, overflow
|
|
// can create a tiny backing buffer for huge logical dimensions.
|
|
#[test]
|
|
fn aligned_grid_dimension_product_overflows() {
|
|
let width = usize::MAX / 2 + 1;
|
|
let mut grid = AlignedGrid::&lt;u8&gt;::with_alloc_tracker(width, 2, None).unwrap();
|
|
let mut subgrid = grid.as_subgrid_mut();
|
|
*subgrid.get_mut(0, 1) = 1;
|
|
std::hint::black_box(grid);
|
|
}
|
|
}
|
|
</code></pre>
|
|
<p>This issue can be reachable through decoding a crafted image in two ways:</p>
|
|
<ol>
|
|
<li>
|
|
<p><strong>Huge actual frame</strong>
|
|
A frame such as <code>65536 x 65536</code> passes the current frame area limit (<code>2^32 &lt;= 2^40</code>) but overflows <code>usize</code> element count on 32-bit. Rendering then allocates too-small <code>AlignedGrid</code>s in modular/VarDCT/filter paths and later writes through mutable subgrids.</p>
|
|
</li>
|
|
<li>
|
|
<p><strong>Huge canvas plus tiny cropped frame</strong>
|
|
This is the more practical “small payload, huge logical output” case. A bitstream-controlled frame crop can be tiny, but if the canvas/default requested region is huge, composition can allocate an output grid sized to the canvas/ROI at crates/jxl-render/src/blend.rs. That is bitstream frame cropping, not API crop. With a 32-bit target and a full requested image region whose area overflows, this can happen through ordinary <code>render_frame()</code>.</p>
|
|
</li>
|
|
</ol>
|
|
|
|
|
|
<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-0150: audiopus_sys is unmaintained</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0150.html</id><updated>2026-05-27T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2026-0150.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0150: audiopus_sys is unmaintained"/><published>2026-05-22T12:00:00+00:00</published><summary xml:lang="en">audiopus_sys 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/audiopus_sys/RUSTSEC-2026-0150.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/audiopus_sys/RUSTSEC-2026-0150.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0150">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0150
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>audiopus_sys is unmaintained</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-05-21">
|
|
May 21, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-05-22">
|
|
May 22, 2026
|
|
</time>
|
|
|
|
<time datetime="2026-05-27">
|
|
(last modified: May 27, 2026)
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/audiopus_sys.html">audiopus_sys</a>
|
|
|
|
(<a href="https://crates.io/crates/audiopus_sys">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/Lakelezz/audiopus_sys/issues/22">
|
|
https://github.com/Lakelezz/audiopus_sys/issues/22
|
|
</a>
|
|
</li>
|
|
|
|
|
|
<li>
|
|
<a href="https://github.com/rustsec/advisory-db/issues/2704">
|
|
https://github.com/rustsec/advisory-db/issues/2704
|
|
</a>
|
|
</li>
|
|
|
|
<li>
|
|
<a href="https://github.com/Lakelezz/audiopus_sys/pull/23">
|
|
https://github.com/Lakelezz/audiopus_sys/pull/23
|
|
</a>
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
no patched versions
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>audiopus_sys is implicitly unmaintained and holds a reference to CMake versions with which CMake 4.0 is not backwards compatible, causing cargo builds to error. An effort to contact the maintainer was made on June 10th, 2025 with no reply. A separate 2025 PR was made (from a different user) addressing the CMake 4.0 issue with no reply. The last commit to audiopus_sys is dated 5 years ago.</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-0149: Vulnerability in wasmtime-wasi</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0149.html</id><updated>2026-05-22T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2026-0149.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0149: Vulnerability in wasmtime-wasi"/><published>2026-05-22T12:00:00+00:00</published><summary xml:lang="en">WASI path_open(TRUNCATE) bypasses `FilePerms::WRITE` host restriction</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/wasmtime-wasi/RUSTSEC-2026-0149.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/wasmtime-wasi/RUSTSEC-2026-0149.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0149">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0149
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>WASI path_open(TRUNCATE) bypasses <code>FilePerms::WRITE</code> host restriction</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-05-21">
|
|
May 21, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-05-22">
|
|
May 22, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/wasmtime-wasi.html">wasmtime-wasi</a>
|
|
|
|
(<a href="https://crates.io/crates/wasmtime-wasi">crates.io</a>)
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
Vulnerability
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-47261">CVE-2026-47261</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-2r75-cxrj-cmph">GHSA-2r75-cxrj-cmph</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-2r75-cxrj-cmph">
|
|
https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-2r75-cxrj-cmph
|
|
</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>High</dd>
|
|
|
|
<dt>Availability Impact</dt>
|
|
<dd>None</dd>
|
|
|
|
</dl>
|
|
</dd>
|
|
|
|
<dt id="cvss">CVSS Vector</dt>
|
|
|
|
|
|
<dd><a href="https://www.first.org/cvss/calculator/3.1#CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N">CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N</a></dd>
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&#62;=24.0.9, &#60;25.0.0</code></li>
|
|
|
|
<li><code>&#62;=36.0.10, &#60;37.0.0</code></li>
|
|
|
|
<li><code>&#62;=44.0.2, &#60;45.0.0</code></li>
|
|
|
|
<li><code>&#62;=45.0.0</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>This is an entry in the RustSec database for the Wasmtime security advisory
|
|
located at
|
|
https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-2r75-cxrj-cmph
|
|
For more information see the GitHub-hosted security advisory.</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-0148: Vulnerability in boxlite</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0148.html</id><updated>2026-05-20T12:00:00+00:00</updated><category term="privilege-escalation"/><category term="file-disclosure"/><link href="https://rustsec.org/advisories/RUSTSEC-2026-0148.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0148: Vulnerability in boxlite"/><published>2026-05-20T12:00:00+00:00</published><summary xml:lang="en">OCI layer symlink escape → arbitrary host write</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/boxlite/RUSTSEC-2026-0148.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/boxlite/RUSTSEC-2026-0148.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0148">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0148
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>OCI layer symlink escape → arbitrary host write</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-05-16">
|
|
May 16, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-05-20">
|
|
May 20, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/boxlite.html">boxlite</a>
|
|
|
|
(<a href="https://crates.io/crates/boxlite">crates.io</a>)
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
Vulnerability
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="categories">Categories</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><a href="/categories/privilege-escalation.html">privilege-escalation</a></li>
|
|
|
|
<li><a href="/categories/file-disclosure.html">file-disclosure</a></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="keywords">Keywords</dt>
|
|
<dd>
|
|
|
|
<a href="/keywords/sandbox.html">#sandbox</a>
|
|
|
|
<a href="/keywords/container.html">#container</a>
|
|
|
|
<a href="/keywords/oci.html">#oci</a>
|
|
|
|
<a href="/keywords/tar.html">#tar</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-2026-46703">CVE-2026-46703</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-f396-4rp4-7v2j">GHSA-f396-4rp4-7v2j</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/boxlite-ai/boxlite/security/advisories/GHSA-f396-4rp4-7v2j">
|
|
https://github.com/boxlite-ai/boxlite/security/advisories/GHSA-f396-4rp4-7v2j
|
|
</a>
|
|
</li>
|
|
|
|
|
|
<li>
|
|
<a href="https://github.com/boxlite-ai/boxlite/pull/429">
|
|
https://github.com/boxlite-ai/boxlite/pull/429
|
|
</a>
|
|
</li>
|
|
|
|
<li>
|
|
<a href="https://github.com/boxlite-ai/boxlite/pull/446">
|
|
https://github.com/boxlite-ai/boxlite/pull/446
|
|
</a>
|
|
</li>
|
|
|
|
<li>
|
|
<a href="https://github.com/boxlite-ai/boxlite/pull/461">
|
|
https://github.com/boxlite-ai/boxlite/pull/461
|
|
</a>
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="cvss_score">CVSS Score</dt>
|
|
<dd>10 <span class="tag critical">
|
|
CRITICAL
|
|
</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>Changed</dd>
|
|
|
|
<dt>Confidentiality Impact</dt>
|
|
<dd>High</dd>
|
|
|
|
<dt>Integrity Impact</dt>
|
|
<dd>High</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:C/C:H/I:H/A:H">CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H</a></dd>
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&#62;=0.9.0</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>Affected versions of <code>boxlite</code> extract OCI image layer tarballs without
|
|
fully containing path resolution to the extraction root. A crafted layer
|
|
containing a symlink whose target is an absolute on-host path (e.g.
|
|
<code>escape -&gt; /tmp</code>) followed by a file entry that resolves through that
|
|
symlink (e.g. <code>escape/&lt;path&gt;/pwned.txt</code>) caused the extractor to write
|
|
the payload to the host filesystem outside the intended rootfs directory.</p>
|
|
<p>The fix in v0.9.0 routes every destructive filesystem operation through a
|
|
<code>SafeRoot</code> handle (<code>openat2(RESOLVE_IN_ROOT)</code> on Linux, lexical fallback
|
|
elsewhere) so that no tar entry can resolve outside the extraction root,
|
|
even with adversarial symlinks placed by earlier entries in the same
|
|
layer.</p>
|
|
<p>This is a container-escape during image extraction, exploitable by any
|
|
user who pulls or loads a malicious OCI image — including via
|
|
<code>SimpleBox(rootfs_path=...)</code> from an untrusted local layout.</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-0147: Vulnerability in boxlite</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0147.html</id><updated>2026-05-20T12:00:00+00:00</updated><category term="privilege-escalation"/><link href="https://rustsec.org/advisories/RUSTSEC-2026-0147.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0147: Vulnerability in boxlite"/><published>2026-05-20T12:00:00+00:00</published><summary xml:lang="en">Read-only volume remount bypass via guest CAP_SYS_ADMIN</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/boxlite/RUSTSEC-2026-0147.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/boxlite/RUSTSEC-2026-0147.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0147">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0147
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Read-only volume remount bypass via guest CAP_SYS_ADMIN</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-05-16">
|
|
May 16, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-05-20">
|
|
May 20, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/boxlite.html">boxlite</a>
|
|
|
|
(<a href="https://crates.io/crates/boxlite">crates.io</a>)
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
Vulnerability
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="categories">Categories</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><a href="/categories/privilege-escalation.html">privilege-escalation</a></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="keywords">Keywords</dt>
|
|
<dd>
|
|
|
|
<a href="/keywords/sandbox.html">#sandbox</a>
|
|
|
|
<a href="/keywords/container.html">#container</a>
|
|
|
|
<a href="/keywords/vm.html">#vm</a>
|
|
|
|
<a href="/keywords/virtiofs.html">#virtiofs</a>
|
|
|
|
<a href="/keywords/mount.html">#mount</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-46695">CVE-2026-46695</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-g6ww-w5j2-r7x3">GHSA-g6ww-w5j2-r7x3</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/boxlite-ai/boxlite/security/advisories/GHSA-g6ww-w5j2-r7x3">
|
|
https://github.com/boxlite-ai/boxlite/security/advisories/GHSA-g6ww-w5j2-r7x3
|
|
</a>
|
|
</li>
|
|
|
|
|
|
<li>
|
|
<a href="https://github.com/boxlite-ai/boxlite/pull/454">
|
|
https://github.com/boxlite-ai/boxlite/pull/454
|
|
</a>
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="cvss_score">CVSS Score</dt>
|
|
<dd>10 <span class="tag critical">
|
|
CRITICAL
|
|
</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>Changed</dd>
|
|
|
|
<dt>Confidentiality Impact</dt>
|
|
<dd>High</dd>
|
|
|
|
<dt>Integrity Impact</dt>
|
|
<dd>High</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:C/C:H/I:H/A:H">CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H</a></dd>
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&#62;=0.9.0</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>Affected versions of <code>boxlite</code> mount host directories shared via virtiofs
|
|
as guest-side read-only by setting <code>MS_RDONLY</code> from the guest. Because the
|
|
default guest capability set included <code>CAP_SYS_ADMIN</code>, untrusted code
|
|
running inside a sandbox could execute <code>mount -o remount,rw &lt;path&gt;</code> to
|
|
re-flag the share as read-write and then write through to the host
|
|
filesystem — fully escaping the read-only contract <code>boxlite</code> advertised
|
|
to callers.</p>
|
|
<p>The fix in v0.9.0 enforces read-only at the hypervisor level via
|
|
<code>krun_add_virtiofs3</code> (so the guest's <code>MS_RDONLY</code> is no longer the
|
|
authoritative gate) and drops <code>CAP_SYS_ADMIN</code> from the default guest
|
|
capability set (matching Docker's defaults).</p>
|
|
<p>This is a sandbox-escape bug: <code>boxlite</code> is a sandboxing runtime, so the
|
|
read-only invariant is part of its security contract. CVSS rated 10.0 by
|
|
the upstream advisory.</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-0162: Unsoundness in vku</title><id>https://rustsec.org/advisories/RUSTSEC-2025-0162.html</id><updated>2026-05-20T12:00:00+00:00</updated><category term="memory-corruption"/><link href="https://rustsec.org/advisories/RUSTSEC-2025-0162.html" rel="alternate" type="text/html" title="RUSTSEC-2025-0162: Unsoundness in vku"/><published>2026-05-20T12:00:00+00:00</published><summary xml:lang="en">`VMABuffer::set_data` may allow out-of-bounds writes 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/vku/RUSTSEC-2025-0162.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/vku/RUSTSEC-2025-0162.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2025-0162">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2025-0162
|
|
|
|
</h1>
|
|
<span class="subtitle"><p><code>VMABuffer::set_data</code> may allow out-of-bounds writes from safe code</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2025-04-23">
|
|
April 23, 2025
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-05-20">
|
|
May 20, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/vku.html">vku</a>
|
|
|
|
(<a href="https://crates.io/crates/vku">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/ArrowMaxGithub/vku/issues/5">
|
|
https://github.com/ArrowMaxGithub/vku/issues/5
|
|
</a>
|
|
</li>
|
|
|
|
|
|
<li>
|
|
<a href="https://github.com/ArrowMaxGithub/vku/commit/ce02c19ec35e5ee84c00ec5005be9d6d44599b5f">
|
|
https://github.com/ArrowMaxGithub/vku/commit/ce02c19ec35e5ee84c00ec5005be9d6d44599b5f
|
|
</a>
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&#62;=0.4.0</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt>Affected Functions</dt>
|
|
<dd>Version</dd>
|
|
|
|
<dt><code>vku::VMABuffer::set_data</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#60;=0.3.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p><code>VMABuffer::set_data</code> was a publicly accessible safe function. It accepted an arbitrary <code>offset</code> and a data slice, then used the offset in unsafe pointer arithmetic before copying the slice into a mapped allocation.</p>
|
|
<p>Affected versions did not check that the requested write range fit within the allocation before calling <code>ptr.add(offset)</code> and <code>copy_from_nonoverlapping</code>. Safe Rust code could therefore trigger an out-of-bounds write by passing an offset outside the mapped allocation.</p>
|
|
<p>This makes the safe API unsound, since callers can trigger undefined behavior without using <code>unsafe</code>.</p>
|
|
<p>Version <code>0.4.0</code> added a bounds check before performing the pointer arithmetic and copy.</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> |