mirror of
https://github.com/rustsec/advisory-db.git
synced 2026-11-30 10:44:32 -06:00
1789 lines
63 KiB
XML
1789 lines
63 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-09-13T12:00:00+00:00</updated><author><name>RustSec</name></author><icon>https://rustsec.org/favicon.ico</icon><link href="https://rustsec.org/feed.xml" rel="self" type="application/atom+xml"/><link href="https://rustsec.org/" rel="alternate" type="text/html"/><subtitle xml:lang="en">Security advisories filed against Rust crates</subtitle><entry><title>RUSTSEC-2026-0283: clear_on_drop is unmaintained</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0283.html</id><updated>2026-09-13T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2026-0283.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0283: clear_on_drop is unmaintained"/><published>2026-09-13T12:00:00+00:00</published><summary xml:lang="en">clear_on_drop 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/clear_on_drop/RUSTSEC-2026-0283.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/clear_on_drop/RUSTSEC-2026-0283.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0283">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0283
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>clear_on_drop is unmaintained</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-09-13">
|
|
September 13, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-09-13">
|
|
September 13, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/clear_on_drop.html">clear_on_drop</a>
|
|
|
|
(<a href="https://crates.io/crates/clear_on_drop">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/cesarb/clear_on_drop/commit/5916d6260acbad8a34290dba137f39963f13f467">
|
|
https://github.com/cesarb/clear_on_drop/commit/5916d6260acbad8a34290dba137f39963f13f467
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
no patched versions
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>This crate is no longer maintained. Use the <a href="https://crates.io/crates/zeroize">zeroize</a> crate instead.</p>
|
|
<ul>
|
|
<li>Instead of <code>ClearOnDrop</code>, use <code>Zeroizing</code></li>
|
|
<li>Instead of <code>clear_stack</code>, use <code>zeroize_stack</code></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-0282: Vulnerability in aligned_box</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0282.html</id><updated>2026-09-09T12:00:00+00:00</updated><category term="memory-corruption"/><link href="https://rustsec.org/advisories/RUSTSEC-2026-0282.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0282: Vulnerability in aligned_box"/><published>2026-09-09T12:00:00+00:00</published><summary xml:lang="en">Double free in `AlignedBox&lt;[T]&gt;::realloc_with_default` when an element&apos;s `Drop` panics</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/aligned_box/RUSTSEC-2026-0282.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/aligned_box/RUSTSEC-2026-0282.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0282">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0282
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Double free in <code>AlignedBox&lt;[T]&gt;::realloc_with_default</code> when an element's <code>Drop</code> panics</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-09-09">
|
|
September 9, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-09-09">
|
|
September 9, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/aligned_box.html">aligned_box</a>
|
|
|
|
(<a href="https://crates.io/crates/aligned_box">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/memory-safety.html">#memory-safety</a>
|
|
|
|
<a href="/keywords/double-free.html">#double-free</a>
|
|
|
|
<a href="/keywords/use-after-free.html">#use-after-free</a>
|
|
|
|
<a href="/keywords/panic-safety.html">#panic-safety</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/michaellass/aligned_box/pull/6">
|
|
https://github.com/michaellass/aligned_box/pull/6
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&#62;=0.3.1</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt>Affected Functions</dt>
|
|
<dd>Version</dd>
|
|
|
|
<dt><code>aligned_box::AlignedBox::realloc_with_default</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#60;0.3.1</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>Shrinking an <code>AlignedBox&lt;[T]&gt;</code> takes ownership of the buffer out of
|
|
<code>self.container</code> with <code>ManuallyDrop::take</code>, destroys the elements past the new
|
|
length, and only then commits the new <code>Box</code> back into <code>self.container</code>.
|
|
<code>ManuallyDrop::take</code> moves ownership but not the bits, so until that commit
|
|
<code>self.container</code> still points at the original buffer.</p>
|
|
<p><code>T::drop</code> runs inside the destruction loop and is user code — <code>T</code> carries no
|
|
bound that would exclude a panicking <code>Drop</code>. If it unwinds, the commit is
|
|
skipped and <code>self.container</code> is left pointing at the buffer whose tail has
|
|
already been destroyed. <code>AlignedBox</code>'s own destructor then reconstructs a <code>Box</code>
|
|
from that pointer, drops every element again and deallocates — a double free
|
|
(CWE-415) / use-after-free (CWE-416) reachable from safe Rust.</p>
|
|
<p>Growing the slice destroys nothing and is unaffected, as is
|
|
<code>realloc_with_value</code>, which requires <code>T: Copy</code> and therefore a <code>Drop</code> that
|
|
cannot run.</p>
|
|
<h2>Mitigation</h2>
|
|
<p>Update to 0.3.1.</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-0280: greentic-setup-dev contained malicious code</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0280.html</id><updated>2026-09-07T12:00:00+00:00</updated><category term="malicious"/><link href="https://rustsec.org/advisories/RUSTSEC-2026-0280.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0280: greentic-setup-dev contained malicious code"/><published>2026-09-07T12:00:00+00:00</published><summary xml:lang="en">`greentic-setup-dev` 1.3.34027618345 was removed from crates.io due to containing 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/greentic-setup-dev/RUSTSEC-2026-0280.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/greentic-setup-dev/RUSTSEC-2026-0280.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0280">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0280
|
|
|
|
</h1>
|
|
<span class="subtitle"><p><code>greentic-setup-dev</code> 1.3.34027618345 was removed from crates.io due to containing malicious code</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-09-07">
|
|
September 7, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-09-07">
|
|
September 7, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/greentic-setup-dev.html">greentic-setup-dev</a>
|
|
|
|
(<a href="https://crates.io/crates/greentic-setup-dev">crates.io</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>
|
|
|
|
|
|
<dt id="unaffected">Unaffected</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#60;1.3.34027618345</code></li>
|
|
|
|
<li><code>&#62;1.3.34027618345</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>A new version of the <code>greentic-setup-dev</code> crate was published with a variant of
|
|
the PolinRider malware included that would fire when a project depending on
|
|
<code>greentic-setup-dev</code> was opened in Visual Studio Code.</p>
|
|
<p>One malicious version was published on 2026-09-06, approximately 27 hours
|
|
before removal. This crate has no dependencies on crates.io. We have no
|
|
evidence that this crate version was downloaded by any actual users, but
|
|
Greentic users should check their systems nonetheless.</p>
|
|
<p>Thanks to the Research Team at Nextron Systems GmbH for the report.</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-0281: greentic-setup contained malicious code</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0281.html</id><updated>2026-09-07T12:00:00+00:00</updated><category term="malicious"/><link href="https://rustsec.org/advisories/RUSTSEC-2026-0281.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0281: greentic-setup contained malicious code"/><published>2026-09-07T12:00:00+00:00</published><summary xml:lang="en">`greentic-setup` 1.3.1-dev.34027618345 was removed from crates.io due to containing 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/greentic-setup/RUSTSEC-2026-0281.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/greentic-setup/RUSTSEC-2026-0281.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0281">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0281
|
|
|
|
</h1>
|
|
<span class="subtitle"><p><code>greentic-setup</code> 1.3.1-dev.34027618345 was removed from crates.io due to containing malicious code</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-09-07">
|
|
September 7, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-09-07">
|
|
September 7, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/greentic-setup.html">greentic-setup</a>
|
|
|
|
(<a href="https://crates.io/crates/greentic-setup">crates.io</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>
|
|
|
|
|
|
<dt id="unaffected">Unaffected</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#60;1.3.1-dev.34027618345</code></li>
|
|
|
|
<li><code>&#62;1.3.1-dev.34027618345</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>A new version of the <code>greentic-setup</code> crate was published with a variant
|
|
of the PolinRider malware included that would fire when a project
|
|
depending on <code>greentic-setup</code> was opened in Visual Studio Code.</p>
|
|
<p>One malicious version was published on 2026-09-06, approximately 27 hours
|
|
before removal. This crate is depended on by four other crates in the
|
|
Greentic ecosystem, namely <code>greentic-start</code>, <code>greentic-start-dev</code>,
|
|
<code>greentic-operator</code>, and <code>greentic-operator-dev</code>. We have no evidence that this
|
|
crate version was downloaded by any actual users, but Greentic users should
|
|
check their systems nonetheless.</p>
|
|
<p>Thanks to the Research Team at Nextron Systems GmbH for the report.</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-0279: Vulnerability in rojo</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0279.html</id><updated>2026-09-08T12:00:00+00:00</updated><category term="code-execution"/><category term="file-disclosure"/><link href="https://rustsec.org/advisories/RUSTSEC-2026-0279.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0279: Vulnerability in rojo"/><published>2026-09-07T12:00:00+00:00</published><summary xml:lang="en">Rojo development server vulnerable to DNS rebinding, allowing unauthenticated read/write access and local program execution</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/rojo/RUSTSEC-2026-0279.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/rojo/RUSTSEC-2026-0279.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0279">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0279
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Rojo development server vulnerable to DNS rebinding, allowing unauthenticated read/write access and local program execution</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-09-07">
|
|
September 7, 2026
|
|
</time>
|
|
|
|
<time datetime="2026-09-08">
|
|
(last modified: September 8, 2026)
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/rojo.html">rojo</a>
|
|
|
|
(<a href="https://crates.io/crates/rojo">crates.io</a>)
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
Vulnerability
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="categories">Categories</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><a href="/categories/code-execution.html">code-execution</a></li>
|
|
|
|
<li><a href="/categories/file-disclosure.html">file-disclosure</a></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="keywords">Keywords</dt>
|
|
<dd>
|
|
|
|
<a href="/keywords/dns-rebinding.html">#dns-rebinding</a>
|
|
|
|
<a href="/keywords/cross-origin.html">#cross-origin</a>
|
|
|
|
<a href="/keywords/localhost.html">#localhost</a>
|
|
|
|
<a href="/keywords/code-injection.html">#code-injection</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/rojo-rbx/rojo/pull/1270">
|
|
https://github.com/rojo-rbx/rojo/pull/1270
|
|
</a>
|
|
</li>
|
|
|
|
|
|
<li>
|
|
<a href="https://github.com/rojo-rbx/rojo/commit/ac6941f05483b0875fda52c7664cd42033db7fa2">
|
|
https://github.com/rojo-rbx/rojo/commit/ac6941f05483b0875fda52c7664cd42033db7fa2
|
|
</a>
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="cvss_score">CVSS Score</dt>
|
|
<dd>8.1 <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>Required</dd>
|
|
|
|
<dt>Scope</dt>
|
|
<dd>Unchanged</dd>
|
|
|
|
<dt>Confidentiality Impact</dt>
|
|
<dd>High</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:R/S:U/C:H/I:H/A:N">CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N</a></dd>
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&#62;=7.7.0</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>Rojo's <code>rojo serve</code> command starts an unauthenticated HTTP API on localhost
|
|
(default port 34872) with no <code>Host</code> or <code>Origin</code> header validation. While
|
|
direct cross-origin <code>fetch()</code> requests from a malicious website are blocked by
|
|
the browser's default CORS policy, an attacker can use DNS rebinding to bypass
|
|
this restriction entirely.</p>
|
|
<p>The serve API is a two-way sync protocol. Once a DNS rebind is established, a
|
|
malicious webpage visited by a developer running <code>rojo serve</code> can, without any
|
|
further user interaction:</p>
|
|
<ul>
|
|
<li><strong>Read the full project source:</strong> <code>GET /api/rojo</code> returns the session ID,
|
|
root instance ID, and project name. <code>GET /api/read/{id}</code> enumerates the
|
|
complete instance tree including all script contents, exposing proprietary
|
|
game logic, configuration, and any secrets embedded in source files.</li>
|
|
<li><strong>Write to project files on disk:</strong> <code>POST /api/write</code> pushes changes back
|
|
through Rojo's sync pipeline, allowing an attacker to inject arbitrary Lua
|
|
into the developer's project. If the developer then publishes their game,
|
|
the injected code executes on every player's client — a supply chain attack
|
|
vector.</li>
|
|
<li><strong>Launch local programs:</strong> <code>POST /api/open/{id}</code> calls the OS-level
|
|
<code>opener::open()</code> function, which invokes the platform's default handler
|
|
(<code>open</code> on macOS, <code>xdg-open</code> on Linux, <code>start</code> on Windows) for the target
|
|
file.
|
|
Exploitation requires only that <code>rojo serve</code> is running (the standard Roblox
|
|
development workflow) and that the developer visits an attacker-controlled
|
|
webpage in any browser on the same machine. The port is a fixed well-known
|
|
default (34872), there is no authentication, and no user interaction is needed
|
|
beyond the initial page visit.</li>
|
|
</ul>
|
|
<p>The flaw was corrected in <a href="https://github.com/rojo-rbx/rojo/pull/1270">#1270</a>,
|
|
which adds <code>Host</code>/<code>Origin</code> header validation to reject cross-origin requests,
|
|
gates <code>/api/open</code> to loopback clients regardless of validated origin, and emits
|
|
a warning when the server binds to a non-loopback address</p>
|
|
<p>Reported by <a href="https://github.com/AidenMohan">Aiden Mohan</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-0277: Vulnerability in apimock-server</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0277.html</id><updated>2026-09-02T12:00:00+00:00</updated><category term="file-disclosure"/><link href="https://rustsec.org/advisories/RUSTSEC-2026-0277.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0277: Vulnerability in apimock-server"/><published>2026-09-02T12:00:00+00:00</published><summary xml:lang="en">Path traversal in apimock-server&apos;s file-serving fallback</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/apimock-server/RUSTSEC-2026-0277.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/apimock-server/RUSTSEC-2026-0277.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0277">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0277
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Path traversal in apimock-server's file-serving fallback</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-08-26">
|
|
August 26, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-09-02">
|
|
September 2, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/apimock-server.html">apimock-server</a>
|
|
|
|
(<a href="https://crates.io/crates/apimock-server">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="keywords">Keywords</dt>
|
|
<dd>
|
|
|
|
<a href="/keywords/path-traversal.html">#path-traversal</a>
|
|
|
|
<a href="/keywords/http.html">#http</a>
|
|
|
|
<a href="/keywords/file-serving.html">#file-serving</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-72g6-wgrg-vhm7">GHSA-72g6-wgrg-vhm7</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/apimokka/apimock-rs/commit/ff0dd152ecfccb3bf00e15cc92bd4d57e485c854">
|
|
https://github.com/apimokka/apimock-rs/commit/ff0dd152ecfccb3bf00e15cc92bd4d57e485c854
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="cvss_score">CVSS Score</dt>
|
|
<dd>8.2 <span class="tag high">
|
|
HIGH
|
|
</span></dd>
|
|
|
|
<dt id="cvss_details">CVSS Details</dt>
|
|
<dd>
|
|
<dl>
|
|
|
|
<dt>Attack Complexity</dt>
|
|
<dd>Low</dd>
|
|
|
|
<dt>Attack Requirements</dt>
|
|
<dd>Present</dd>
|
|
|
|
<dt>Attack Vector</dt>
|
|
<dd>Network</dd>
|
|
|
|
<dt>Privileges Required</dt>
|
|
<dd>None</dd>
|
|
|
|
<dt>Availability Impact to the Subsequent System</dt>
|
|
<dd>None</dd>
|
|
|
|
<dt>Confidentiality Impact to the Subsequent System</dt>
|
|
<dd>None</dd>
|
|
|
|
<dt>Integrity Impact to the Subsequent System</dt>
|
|
<dd>None</dd>
|
|
|
|
<dt>User Interaction</dt>
|
|
<dd>None</dd>
|
|
|
|
<dt>Availability Impact to the Vulnerable System</dt>
|
|
<dd>None</dd>
|
|
|
|
<dt>Confidentiality Impact to the Vulnerable System</dt>
|
|
<dd>High</dd>
|
|
|
|
<dt>Integrity Impact to the Vulnerable System</dt>
|
|
<dd>None</dd>
|
|
|
|
</dl>
|
|
</dd>
|
|
|
|
<dt id="cvss">CVSS Vector</dt>
|
|
|
|
|
|
<dd><a href="https://www.first.org/cvss/calculator/3.1#CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N">CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N</a></dd>
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&#62;=5.19.1</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The file-serving fallback joined a request-derived path onto the
|
|
configured response directory and checked only that the result existed,
|
|
never that it stayed inside that directory. A request containing a raw
|
|
<code>..</code> segment could read any file readable by the process, returned with
|
|
HTTP 200.</p>
|
|
<p>Read-only: no write, no code execution.</p>
|
|
<p>Exposure depends on the bind address. The default is <code>127.0.0.1</code>;
|
|
deployments binding <code>0.0.0.0</code> or a LAN address are reachable from the
|
|
network. Most HTTP clients normalise <code>..</code> away before sending, so
|
|
reaching it requires a client that does not.</p>
|
|
<p>All published versions before 5.19.1 are affected. Fixed in 5.19.1 by
|
|
canonicalising each resolved path and rejecting anything outside its
|
|
base directory.</p>
|
|
<p><strong>This advisory also covers <code>apimock</code> 5.x</strong>, which depends on
|
|
<code>apimock-server</code>. <code>apimock</code> 4.x predates the crate split and carries its
|
|
own advisory for the same issue, fixed in 4.8.1.</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-0276: Vulnerability in apimock</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0276.html</id><updated>2026-09-02T12:00:00+00:00</updated><category term="file-disclosure"/><link href="https://rustsec.org/advisories/RUSTSEC-2026-0276.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0276: Vulnerability in apimock"/><published>2026-09-02T12:00:00+00:00</published><summary xml:lang="en">Path traversal in apimock&apos;s file-serving fallback</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/apimock/RUSTSEC-2026-0276.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/apimock/RUSTSEC-2026-0276.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0276">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0276
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Path traversal in apimock's file-serving fallback</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-08-26">
|
|
August 26, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-09-02">
|
|
September 2, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/apimock.html">apimock</a>
|
|
|
|
(<a href="https://crates.io/crates/apimock">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="keywords">Keywords</dt>
|
|
<dd>
|
|
|
|
<a href="/keywords/path-traversal.html">#path-traversal</a>
|
|
|
|
<a href="/keywords/http.html">#http</a>
|
|
|
|
<a href="/keywords/file-serving.html">#file-serving</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-72g6-wgrg-vhm7">GHSA-72g6-wgrg-vhm7</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/apimokka/apimock-rs/commit/a9c05fec2d36a750c30e797291a0557f230c8faf">
|
|
https://github.com/apimokka/apimock-rs/commit/a9c05fec2d36a750c30e797291a0557f230c8faf
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="cvss_score">CVSS Score</dt>
|
|
<dd>8.2 <span class="tag high">
|
|
HIGH
|
|
</span></dd>
|
|
|
|
<dt id="cvss_details">CVSS Details</dt>
|
|
<dd>
|
|
<dl>
|
|
|
|
<dt>Attack Complexity</dt>
|
|
<dd>Low</dd>
|
|
|
|
<dt>Attack Requirements</dt>
|
|
<dd>Present</dd>
|
|
|
|
<dt>Attack Vector</dt>
|
|
<dd>Network</dd>
|
|
|
|
<dt>Privileges Required</dt>
|
|
<dd>None</dd>
|
|
|
|
<dt>Availability Impact to the Subsequent System</dt>
|
|
<dd>None</dd>
|
|
|
|
<dt>Confidentiality Impact to the Subsequent System</dt>
|
|
<dd>None</dd>
|
|
|
|
<dt>Integrity Impact to the Subsequent System</dt>
|
|
<dd>None</dd>
|
|
|
|
<dt>User Interaction</dt>
|
|
<dd>None</dd>
|
|
|
|
<dt>Availability Impact to the Vulnerable System</dt>
|
|
<dd>None</dd>
|
|
|
|
<dt>Confidentiality Impact to the Vulnerable System</dt>
|
|
<dd>High</dd>
|
|
|
|
<dt>Integrity Impact to the Vulnerable System</dt>
|
|
<dd>None</dd>
|
|
|
|
</dl>
|
|
</dd>
|
|
|
|
<dt id="cvss">CVSS Vector</dt>
|
|
|
|
|
|
<dd><a href="https://www.first.org/cvss/calculator/3.1#CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N">CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N</a></dd>
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&#62;=4.8.1, &#60;5.0.0</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="unaffected">Unaffected</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#62;=5.0.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The file-serving fallback joined a request-derived path onto the
|
|
configured response directory and checked only that the result existed,
|
|
never that it stayed inside that directory. A request containing a raw
|
|
<code>..</code> segment could read any file readable by the process, returned with
|
|
HTTP 200.</p>
|
|
<p>Read-only: no write, no code execution.</p>
|
|
<p>On the 4.x line <code>apimock</code> is a single crate containing the serving code.
|
|
Fixed in 4.8.1 by canonicalising each resolved path and rejecting
|
|
anything outside its base directory.</p>
|
|
<p><strong>apimock 5.0.0 and later are not affected by this advisory.</strong> From
|
|
5.0.0 the serving code moved to the <code>apimock-server</code> crate, which
|
|
<code>apimock</code> depends on; that crate carries its own advisory for the same
|
|
issue, fixed in 5.19.1.</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-0278: Vulnerability in zbus_polkit</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0278.html</id><updated>2026-09-02T12:00:00+00:00</updated><category term="privilege-escalation"/><link href="https://rustsec.org/advisories/RUSTSEC-2026-0278.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0278: Vulnerability in zbus_polkit"/><published>2026-09-02T12:00:00+00:00</published><summary xml:lang="en">`zbus_polkit`: authorization bypass via PID reuse</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/zbus_polkit/RUSTSEC-2026-0278.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/zbus_polkit/RUSTSEC-2026-0278.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0278">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0278
|
|
|
|
</h1>
|
|
<span class="subtitle"><p><code>zbus_polkit</code>: authorization bypass via PID reuse</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-08-31">
|
|
August 31, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-09-02">
|
|
September 2, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/zbus_polkit.html">zbus_polkit</a>
|
|
|
|
(<a href="https://crates.io/crates/zbus_polkit">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/polkit.html">#polkit</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-78422">CVE-2026-78422</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/z-galaxy/zbus_polkit/pull/101">
|
|
https://github.com/z-galaxy/zbus_polkit/pull/101
|
|
</a>
|
|
</li>
|
|
|
|
|
|
<li>
|
|
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1277659">
|
|
https://bugzilla.suse.com/show_bug.cgi?id=1277659
|
|
</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>Low</dd>
|
|
|
|
<dt>Attack Requirements</dt>
|
|
<dd>Present</dd>
|
|
|
|
<dt>Attack Vector</dt>
|
|
<dd>Local</dd>
|
|
|
|
<dt>Privileges Required</dt>
|
|
<dd>Low</dd>
|
|
|
|
<dt>Availability Impact to the Subsequent System</dt>
|
|
<dd>None</dd>
|
|
|
|
<dt>Confidentiality Impact to the Subsequent System</dt>
|
|
<dd>None</dd>
|
|
|
|
<dt>Integrity Impact to the Subsequent System</dt>
|
|
<dd>None</dd>
|
|
|
|
<dt>User Interaction</dt>
|
|
<dd>None</dd>
|
|
|
|
<dt>Availability Impact to the Vulnerable System</dt>
|
|
<dd>High</dd>
|
|
|
|
<dt>Confidentiality Impact to the Vulnerable System</dt>
|
|
<dd>High</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:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N">CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N</a></dd>
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&#62;=5.1.0</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt>Affected Functions</dt>
|
|
<dd>Version</dd>
|
|
|
|
<dt><code>zbus_polkit::Subject::new_for_owner</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#60;5.1.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p><code>Subject::new_for_owner()</code> in the <code>zbus_polkit</code> crate encodes the uid entry of a unix-process polkit subject as an unsigned 32-bit integer (D-Bus type u), whereas the org.freedesktop.PolicyKit1.Authority interface specifies a signed 32-bit integer (D-Bus type i). Because of this type mismatch, polkit silently discards the caller-supplied UID and instead determines the subject's owner itself by looking up the PID in /proc, a lookup that is inherently subject to a time-of-check/time-of-use race.</p>
|
|
<p>Consequently, an application that passes a UID obtained from a trustworthy source — for example <code>SO_PEERCRED</code> Unix socket peer credentials — in order to defend against PID reuse receives no protection, and the supplied UID has no effect on the authorization decision. A local unprivileged attacker who can cause an authorized process to terminate and then win the race to have their own process assigned the same PID can be authorized under the identity of the terminated process, bypassing the polkit authorization check and performing actions the attacker is not entitled to.</p>
|
|
<p>This issue affects <code>zbus_polkit</code> before 5.1.0.</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-0274: Vulnerability in rtrb</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0274.html</id><updated>2026-09-01T12:00:00+00:00</updated><category term="memory-corruption"/><link href="https://rustsec.org/advisories/RUSTSEC-2026-0274.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0274: Vulnerability in rtrb"/><published>2026-09-01T12:00:00+00:00</published><summary xml:lang="en">Double free / use-after-free in `ReadChunk::commit` when an element&apos;s `Drop` panics</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/rtrb/RUSTSEC-2026-0274.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/rtrb/RUSTSEC-2026-0274.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0274">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0274
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Double free / use-after-free in <code>ReadChunk::commit</code> when an element's <code>Drop</code> panics</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-08-04">
|
|
August 4, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-09-01">
|
|
September 1, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/rtrb.html">rtrb</a>
|
|
|
|
(<a href="https://crates.io/crates/rtrb">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/memory-safety.html">#memory-safety</a>
|
|
|
|
<a href="/keywords/double-free.html">#double-free</a>
|
|
|
|
<a href="/keywords/use-after-free.html">#use-after-free</a>
|
|
|
|
<a href="/keywords/panic-safety.html">#panic-safety</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/mgeier/rtrb/issues/185">
|
|
https://github.com/mgeier/rtrb/issues/185
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>^0.3.5</code></li>
|
|
|
|
<li><code>&#62;=0.4.0</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt>Affected Functions</dt>
|
|
<dd>Version</dd>
|
|
|
|
<dt><code>rtrb::chunks::ReadChunk::commit</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#60;0.3.5</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
<dt><code>rtrb::chunks::ReadChunk::commit_all</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#60;0.3.5</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p><code>ReadChunk::commit</code> and <code>ReadChunk::commit_all</code> drop the committed elements
|
|
before advancing the consumer head. If an element's <code>Drop</code> panics during the
|
|
drop loop, <code>head</code> is never advanced, so the ring buffer still treats those slots
|
|
as holding live elements. When the <code>RingBuffer</code> is later dropped (it walks
|
|
<code>head..tail</code> and drops each slot), or a subsequent <code>read_chunk()</code> / <code>commit()</code>
|
|
touches the same slots, the already-dropped elements are dropped a second time —
|
|
a double free (CWE-415) / use-after-free (CWE-416) reachable from safe Rust.</p>
|
|
<h2>Mitigation</h2>
|
|
<p>Update to 0.3.5 (0.3.x line) or 0.4.0. Note that 0.4.0 contains a behavior
|
|
change in <code>is_abandoned()</code>, so users on 0.3.x should prefer 0.3.5.</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-0275: Vulnerability in azure_core</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0275.html</id><updated>2026-09-01T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2026-0275.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0275: Vulnerability in azure_core"/><published>2026-09-01T12:00:00+00:00</published><summary xml:lang="en">Legacy `azure_core` writes the `authorization` header value to logs</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/azure_core/RUSTSEC-2026-0275.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/azure_core/RUSTSEC-2026-0275.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2026-0275">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2026-0275
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Legacy <code>azure_core</code> writes the <code>authorization</code> header value to logs</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2026-08-15">
|
|
August 15, 2026
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-09-01">
|
|
September 1, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/azure_core.html">azure_core</a>
|
|
|
|
(<a href="https://crates.io/crates/azure_core">crates.io</a>)
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
Vulnerability
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
<dt id="keywords">Keywords</dt>
|
|
<dd>
|
|
|
|
<a href="/keywords/information-leak.html">#information-leak</a>
|
|
|
|
<a href="/keywords/logs.html">#logs</a>
|
|
|
|
<a href="/keywords/credentials.html">#credentials</a>
|
|
|
|
<a href="/keywords/authorization-header.html">#authorization-header</a>
|
|
|
|
<a href="/keywords/azure.html">#azure</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/Azure/azure-sdk-for-rust/issues/5074">
|
|
https://github.com/Azure/azure-sdk-for-rust/issues/5074
|
|
</a>
|
|
</li>
|
|
|
|
|
|
<li>
|
|
<a href="https://github.com/Azure/azure-sdk-for-rust/pull/1699">
|
|
https://github.com/Azure/azure-sdk-for-rust/pull/1699
|
|
</a>
|
|
</li>
|
|
|
|
<li>
|
|
<a href="https://github.com/Azure/azure-sdk-for-rust/commit/7a0e20c1e002ce06da0f3ec8795ef1529862ea97">
|
|
https://github.com/Azure/azure-sdk-for-rust/commit/7a0e20c1e002ce06da0f3ec8795ef1529862ea97
|
|
</a>
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="cvss_score">CVSS Score</dt>
|
|
<dd>6.5 <span class="tag medium">
|
|
MEDIUM
|
|
</span></dd>
|
|
|
|
<dt id="cvss_details">CVSS Details</dt>
|
|
<dd>
|
|
<dl>
|
|
|
|
<dt>Attack Vector</dt>
|
|
<dd>Local</dd>
|
|
|
|
<dt>Attack Complexity</dt>
|
|
<dd>Low</dd>
|
|
|
|
<dt>Privileges Required</dt>
|
|
<dd>Low</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>None</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:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N">CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N</a></dd>
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&#62;=0.22.0</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="unaffected">Unaffected</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>=0.2.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>Applications built on the legacy Azure SDK for Rust (<code>azure_core</code> 0.21.0 and
|
|
earlier) write the value of the outgoing <code>authorization</code> header to their logs
|
|
whenever debug-level logging is enabled, and in every affected version also at
|
|
trace level. The leaked values are live credentials — Microsoft Entra
|
|
ID bearer tokens, Azure Storage SharedKey signatures, and SAS tokens — and
|
|
anyone with read access to the logs can replay them until they expire
|
|
(CWE-532).</p>
|
|
<p>Versions 0.22.0 and later, which are the rewritten and currently supported
|
|
SDK, do not contain the affected code.</p>
|
|
<h2>Affected versions</h2>
|
|
<p>Every published legacy version except 0.2.0 writes the <code>authorization</code> header
|
|
value to logs: 0.1.1 (2022-01-25), and 0.2.1 through 0.21.0 (2024-10-15).</p>
|
|
<h2>Mitigation</h2>
|
|
<ul>
|
|
<li>Upgrade to <code>azure_core</code> 1.0.0 or newer.</li>
|
|
<li>If you are unable to upgrade, raise the log level above debug for the
|
|
impacted crates or submit a feature request for missing crates built on <code>azure_core</code> 1.0.0 or newer.</li>
|
|
<li>Treat logs produced by an affected build as credential-bearing: rotate any
|
|
long-lived secret that authenticated a request while debug logging was on.</li>
|
|
</ul>
|
|
<h2>Coordination</h2>
|
|
<p>The finding was reported to the Microsoft Security Response Center
|
|
(VULN-211331), which determined that it does not meet the Microsoft Security
|
|
Servicing Criteria definition of a security vulnerability.</p>
|
|
<p>It was then disclosed publicly as <a href="https://github.com/Azure/azure-sdk-for-rust/issues/5074">Azure/azure-sdk-for-rust#5074</a> on
|
|
2026-08-15, asking the maintainers to confirm the behavior so that an advisory
|
|
could be filed for the legacy crates. A maintainer replied on 2026-08-26 and
|
|
closed the issue as not planned: the <code>legacy</code> branch is unsupported, there are
|
|
no plans to update it, and users should move to crates built on <code>azure_core</code>
|
|
1.0.0 or newer.</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> |