mirror of
https://github.com/rustsec/advisory-db.git
synced 2026-11-30 18:54:31 -06:00
1175 lines
40 KiB
XML
1175 lines
40 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>2022-10-24T00: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-2022-0062: Vulnerability in matrix-sdk</title><id>https://rustsec.org/advisories/RUSTSEC-2022-0062.html</id><updated>2022-10-24T00:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2022-0062.html" rel="alternate" type="text/html" title="RUSTSEC-2022-0062: Vulnerability in matrix-sdk"/><published>2022-10-24T00:00:00+00:00</published><summary xml:lang="en">matrix-sdk 0.6.0 logs access tokens</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/matrix-sdk/RUSTSEC-2022-0062.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/matrix-sdk/RUSTSEC-2022-0062.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2022-0062
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>matrix-sdk 0.6.0 logs access tokens</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2022-10-24">
|
|
October 24, 2022
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/matrix-sdk.html">matrix-sdk</a>
|
|
(<a href="https://crates.io/crates/matrix-sdk">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
Vulnerability
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">Details</dt>
|
|
<dd>
|
|
<a href="https://github.com/matrix-org/matrix-rust-sdk/issues/1110">
|
|
https://github.com/matrix-org/matrix-rust-sdk/issues/1110
|
|
</a>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=0.6.2</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="unaffected">Unaffected</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&lt;0.6.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>When sending Matrix requests using an affected version of <code>matrix-sdk</code> in an application that
|
|
writes logs using <code>tracing-subscriber</code> (in a way that includes fields of tracing spans such as
|
|
<code>tracing_subscriber</code>s default text output from the <code>fmt</code> module), these logs will contain the
|
|
user's access token.</p>
|
|
|
|
</article></content></entry><entry><title>RUSTSEC-2022-0060: orbtk is unmaintained</title><id>https://rustsec.org/advisories/RUSTSEC-2022-0060.html</id><updated>2022-10-13T00:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2022-0060.html" rel="alternate" type="text/html" title="RUSTSEC-2022-0060: orbtk is unmaintained"/><published>2022-10-13T00:00:00+00:00</published><summary xml:lang="en">orbtk 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/orbtk/RUSTSEC-2022-0060.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/orbtk/RUSTSEC-2022-0060.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2022-0060
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>orbtk is Unmaintained</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2022-10-13">
|
|
October 13, 2022
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/orbtk.html">orbtk</a>
|
|
(<a href="https://crates.io/crates/orbtk">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
<span class="tag info">INFO</span>
|
|
Unmaintained
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">Details</dt>
|
|
<dd>
|
|
<a href="https://github.com/redox-os/orbtk/blob/eba9e77821551076bbf1d9f7ab44d788150e3446/README.md#orbtk-is-sunsetting">
|
|
https://github.com/redox-os/orbtk/blob/eba9e77821551076bbf1d9f7ab44d788150e3446/README.md#orbtk-is-sunsetting
|
|
</a>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
no patched versions
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The <code>orbtk</code> crate is no longer maintained.</p>
|
|
<p>Alternatives proposed by the authors:</p>
|
|
<ul>
|
|
<li><a href="https://crates.io/crates/iced"><code>iced</code></a></li>
|
|
<li><a href="https://crates.io/crates/slint"><code>slint</code></a></li>
|
|
</ul>
|
|
|
|
</article></content></entry><entry><title>RUSTSEC-2022-0059: Vulnerability in openssl-src</title><id>https://rustsec.org/advisories/RUSTSEC-2022-0059.html</id><updated>2022-10-11T00:00:00+00:00</updated><category term="crypto-failure"/><link href="https://rustsec.org/advisories/RUSTSEC-2022-0059.html" rel="alternate" type="text/html" title="RUSTSEC-2022-0059: Vulnerability in openssl-src"/><published>2022-10-11T00:00:00+00:00</published><summary xml:lang="en">Using a Custom Cipher with `NID_undef` may lead to NULL encryption</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/openssl-src/RUSTSEC-2022-0059.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/openssl-src/RUSTSEC-2022-0059.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2022-0059
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Using a Custom Cipher with <code>NID_undef</code> may lead to NULL encryption</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2022-10-11">
|
|
October 11, 2022
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/openssl-src.html">openssl-src</a>
|
|
(<a href="https://crates.io/crates/openssl-src">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
Vulnerability
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="categories">Categories</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><a href="/categories/crypto-failure.html">crypto-failure</a></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-3358">CVE-2022-3358</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">Details</dt>
|
|
<dd>
|
|
<a href="https://www.openssl.org/news/secadv/20221011.txt">
|
|
https://www.openssl.org/news/secadv/20221011.txt
|
|
</a>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=300.0.10</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="unaffected">Unaffected</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&lt;300.0.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>OpenSSL supports creating a custom cipher via the legacy <code>EVP_CIPHER_meth_new()</code>
|
|
function and associated function calls. This function was deprecated in OpenSSL
|
|
3.0 and application authors are instead encouraged to use the new provider
|
|
mechanism in order to implement custom ciphers.</p>
|
|
<p>OpenSSL versions 3.0.0 to 3.0.5 incorrectly handle legacy custom ciphers passed
|
|
to the <code>EVP_EncryptInit_ex2()</code>, <code>EVP_DecryptInit_ex2()</code> and <code>EVP_CipherInit_ex2()</code>
|
|
functions (as well as other similarly named encryption and decryption
|
|
initialisation functions). Instead of using the custom cipher directly it
|
|
incorrectly tries to fetch an equivalent cipher from the available providers.
|
|
An equivalent cipher is found based on the NID passed to <code>EVP_CIPHER_meth_new()</code>.
|
|
This NID is supposed to represent the unique NID for a given cipher. However it
|
|
is possible for an application to incorrectly pass <code>NID_undef</code> as this value in
|
|
the call to <code>EVP_CIPHER_meth_new()</code>. When <code>NID_undef</code> is used in this way the
|
|
OpenSSL encryption/decryption initialisation function will match the NULL cipher
|
|
as being equivalent and will fetch this from the available providers. This will
|
|
succeed if the default provider has been loaded (or if a third party provider
|
|
has been loaded that offers this cipher). Using the NULL cipher means that the
|
|
plaintext is emitted as the ciphertext.</p>
|
|
<p>Applications are only affected by this issue if they call <code>EVP_CIPHER_meth_new()</code>
|
|
using <code>NID_undef</code> and subsequently use it in a call to an encryption/decryption
|
|
initialisation function. Applications that only use SSL/TLS are not impacted by
|
|
this issue.</p>
|
|
|
|
</article></content></entry><entry><title>RUSTSEC-2022-0061: parity-wasm is unmaintained</title><id>https://rustsec.org/advisories/RUSTSEC-2022-0061.html</id><updated>2022-10-01T00:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2022-0061.html" rel="alternate" type="text/html" title="RUSTSEC-2022-0061: parity-wasm is unmaintained"/><published>2022-10-01T00:00:00+00:00</published><summary xml:lang="en">Crate `parity-wasm` deprecated by the author</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/parity-wasm/RUSTSEC-2022-0061.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/parity-wasm/RUSTSEC-2022-0061.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2022-0061
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Crate <code>parity-wasm</code> deprecated by the author</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2022-10-01">
|
|
October 1, 2022
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/parity-wasm.html">parity-wasm</a>
|
|
(<a href="https://crates.io/crates/parity-wasm">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
<span class="tag info">INFO</span>
|
|
Unmaintained
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">Details</dt>
|
|
<dd>
|
|
<a href="https://github.com/paritytech/parity-wasm/pull/334">
|
|
https://github.com/paritytech/parity-wasm/pull/334
|
|
</a>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
no patched versions
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p><a href="https://github.com/paritytech/parity-wasm/pull/334">This PR</a> explicitly deprecates <code>parity-wasm</code>.
|
|
The author recommends switching to <a href="https://github.com/bytecodealliance/wasm-tools">wasm-tools</a>.</p>
|
|
|
|
</article></content></entry><entry><title>RUSTSEC-2022-0058: Security notice about inconceivable</title><id>https://rustsec.org/advisories/RUSTSEC-2022-0058.html</id><updated>2022-09-28T00:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2022-0058.html" rel="alternate" type="text/html" title="RUSTSEC-2022-0058: Security notice about inconceivable"/><published>2022-09-28T00:00:00+00:00</published><summary xml:lang="en">Library exclusively intended to inject UB into safe Rust.</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/inconceivable/RUSTSEC-2022-0058.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/inconceivable/RUSTSEC-2022-0058.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2022-0058
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Library exclusively intended to inject UB into safe Rust.</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2022-09-28">
|
|
September 28, 2022
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/inconceivable.html">inconceivable</a>
|
|
(<a href="https://crates.io/crates/inconceivable">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
<span class="tag info">INFO</span>
|
|
Notice
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">Details</dt>
|
|
<dd>
|
|
<a href="https://crates.io/crates/inconceivable">
|
|
https://crates.io/crates/inconceivable
|
|
</a>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
no patched versions
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>Quoting from the crate description:</p>
|
|
<blockquote>
|
|
<p>This crate is created purely to inject undefined behavior into stable, safe rust.</p>
|
|
</blockquote>
|
|
<p>Specifically, the <code>inconceivable!</code> macro is insta-UB if the <code>ub_inconceivable</code> feature is enabled by <em>any</em> reverse dependency.
|
|
The value this adds is questionable, and hides <code>unsafe</code> code from naive analysis.</p>
|
|
|
|
</article></content></entry><entry><title>RUSTSEC-2022-0063: Vulnerability in linked_list_allocator</title><id>https://rustsec.org/advisories/RUSTSEC-2022-0063.html</id><updated>2022-09-07T00:00:00+00:00</updated><category term="memory-corruption"/><link href="https://rustsec.org/advisories/RUSTSEC-2022-0063.html" rel="alternate" type="text/html" title="RUSTSEC-2022-0063: Vulnerability in linked_list_allocator"/><published>2022-09-07T00:00:00+00:00</published><summary xml:lang="en">Multiple vulnerabilities resulting in out-of-bounds writes</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/linked_list_allocator/RUSTSEC-2022-0063.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/linked_list_allocator/RUSTSEC-2022-0063.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2022-0063
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Multiple vulnerabilities resulting in out-of-bounds writes</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2022-09-07">
|
|
September 7, 2022
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/linked_list_allocator.html">linked_list_allocator</a>
|
|
(<a href="https://crates.io/crates/linked_list_allocator">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://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-36086">CVE-2022-36086</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">Details</dt>
|
|
<dd>
|
|
<a href="https://github.com/advisories/GHSA-xg8p-34w2-j49j">
|
|
https://github.com/advisories/GHSA-xg8p-34w2-j49j
|
|
</a>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="cvss_score">CVSS Score</dt>
|
|
<dd>8.4 <span class="tag high">
|
|
HIGH
|
|
</span></dd>
|
|
|
|
<dt id="cvss_details">CVSS Details</dt>
|
|
<dd>
|
|
<dl>
|
|
|
|
<dt>Attack vector</dt><dd>Local</dd>
|
|
|
|
|
|
|
|
<dt>Attack complexity</dt><dd>Low</d>
|
|
|
|
|
|
|
|
<dt>Privileges required</dt><dd>None</dd>
|
|
|
|
|
|
|
|
<dt>User interaction</dt><dd>None</dd>
|
|
|
|
|
|
|
|
<dt>Scope</dt><dd>Unchanged</dd>
|
|
|
|
|
|
|
|
<dt>Confidentiality</dt><dd>High</dd>
|
|
|
|
|
|
|
|
<dt>Integrity</dt><dd>High</dd>
|
|
|
|
|
|
|
|
<dt>Availability</dt><dd>High</dd>
|
|
|
|
</dl>
|
|
</dd>
|
|
|
|
<dt id="cvss">CVSS Vector</dt>
|
|
<dd><a href="https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H">CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H</a></dd>
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=0.10.2</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<ul>
|
|
<li>The heap initialization methods were missing a minimum size check for the given heap size argument. This could lead to <strong>out-of-bound writes</strong> when a heap was initialized with a size smaller than <code>3 * size_of::&lt;usize&gt;</code> because of metadata write operations.</li>
|
|
<li>When calling <code>Heap::extend</code> with a size smaller than two <code>usize</code>s (e.g., 16 on <code>x86_64</code>), the size was erroneously rounded up to the minimum size, which could result in an <strong>out-of-bounds write</strong>.</li>
|
|
<li>Calling <code>Heap::extend</code> on an empty heap tried to construct a heap starting at address 0, which is also an <strong>out-of-bounds write</strong>.
|
|
<ul>
|
|
<li>One specific way to trigger this accidentally is to call <code>Heap::new</code> (or a similar constructor) with a heap size that is smaller than two <code>usize</code>s. This was treated as an empty heap as well.</li>
|
|
</ul>
|
|
</li>
|
|
<li>Calling <code>Heap::extend</code> on a heap whose size is not a multiple of the size of two <code>usize</code>s resulted in unaligned writes. It also left the heap in an unexpected state, which might lead to subsequent issues. We did not find a way to exploit this undefined behavior yet (apart from DoS on platforms that fault on unaligned writes).</li>
|
|
</ul>
|
|
|
|
</article></content></entry><entry><title>RUSTSEC-2022-0055: Vulnerability in axum-core</title><id>https://rustsec.org/advisories/RUSTSEC-2022-0055.html</id><updated>2022-08-31T00:00:00+00:00</updated><category term="denial-of-service"/><link href="https://rustsec.org/advisories/RUSTSEC-2022-0055.html" rel="alternate" type="text/html" title="RUSTSEC-2022-0055: Vulnerability in axum-core"/><published>2022-08-31T00:00:00+00:00</published><summary xml:lang="en">No default limit put on request bodies</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/axum-core/RUSTSEC-2022-0055.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/axum-core/RUSTSEC-2022-0055.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2022-0055
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>No default limit put on request bodies</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2022-08-31">
|
|
August 31, 2022
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/axum-core.html">axum-core</a>
|
|
(<a href="https://crates.io/crates/axum-core">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
Vulnerability
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="categories">Categories</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><a href="/categories/denial-of-service.html">denial-of-service</a></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="keywords">Keywords</dt>
|
|
<dd>
|
|
|
|
<a href="/keywords/ddos.html">#ddos</a>
|
|
|
|
<a href="/keywords/oom.html">#oom</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">Details</dt>
|
|
<dd>
|
|
<a href="https://github.com/tokio-rs/axum/pull/1346">
|
|
https://github.com/tokio-rs/axum/pull/1346
|
|
</a>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=0.2.8, &lt;0.3.0-rc.1</code></li>
|
|
|
|
<li><code>&gt;=0.3.0-rc.2</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p><code>&lt;bytes::Bytes as axum_core::extract::FromRequest&gt;::from_request</code> would not, by
|
|
default, set a limit for the size of the request body. That meant if a malicious
|
|
peer would send a very large (or infinite) body your server might run out of
|
|
memory and crash.</p>
|
|
<p>This also applies to these extractors which used <code>Bytes::from_request</code>
|
|
internally:</p>
|
|
<ul>
|
|
<li><code>axum::extract::Form</code></li>
|
|
<li><code>axum::extract::Json</code></li>
|
|
<li><code>String</code></li>
|
|
</ul>
|
|
<p>The fix is also in <code>axum-core</code> <code>0.3.0.rc.2</code> but <code>0.3.0.rc.1</code> <em>is</em> vulnerable.</p>
|
|
<p>Because <code>axum</code> depends on <code>axum-core</code> it is vulnerable as well. The vulnerable
|
|
versions of <code>axum</code> are <code>&lt;= 0.5.15</code> and <code>0.6.0.rc.1</code>. <code>axum</code> <code>&gt;= 0.5.16</code> and
|
|
<code>&gt;= 0.6.0.rc.2</code> does have the fix and are not vulnerable.</p>
|
|
<p>The patched versions will set a 2 MB limit by default.</p>
|
|
|
|
</article></content></entry><entry><title>RUSTSEC-2022-0057: badge is unmaintained</title><id>https://rustsec.org/advisories/RUSTSEC-2022-0057.html</id><updated>2022-08-31T00:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2022-0057.html" rel="alternate" type="text/html" title="RUSTSEC-2022-0057: badge is unmaintained"/><published>2022-08-31T00:00:00+00:00</published><summary xml:lang="en">badge 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/badge/RUSTSEC-2022-0057.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/badge/RUSTSEC-2022-0057.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2022-0057
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>badge is Unmaintained</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2022-08-31">
|
|
August 31, 2022
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/badge.html">badge</a>
|
|
(<a href="https://crates.io/crates/badge">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
<span class="tag info">INFO</span>
|
|
Unmaintained
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">Details</dt>
|
|
<dd>
|
|
<a href="https://github.com/rust-lang/docs.rs/issues/1813#issuecomment-1232875809">
|
|
https://github.com/rust-lang/docs.rs/issues/1813#issuecomment-1232875809
|
|
</a>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
no patched versions
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The maintainer has adviced this crate is deprecated and will not receive any maintenance.</p>
|
|
<p>The crate depends on the deprecated <code>rusttype</code> crate and won't receive updates
|
|
anymore.</p>
|
|
<h2>Possible Alternative(s)</h2>
|
|
<p>The below list has not been vetted in any way and may or may not contain alternatives;</p>
|
|
<ul>
|
|
<li><a href="https://crates.io/crates/badge-maker">badge-maker</a></li>
|
|
<li><a href="https://crates.io/crates/badgeland">badgeland</a></li>
|
|
<li><a href="https://crates.io/crates/badgen">badgen</a></li>
|
|
<li><a href="https://crates.io/crates/badgers">badgers</a> (API compatible fork of the <code>badge</code> crate using <code>ab_glyph</code> as a replacement for <code>rusttype</code>)</li>
|
|
<li><a href="https://crates.io/crates/rsbadges">rsbadges</a> (used deprecated <code>rusttype</code>)</li>
|
|
</ul>
|
|
|
|
</article></content></entry><entry><title>RUSTSEC-2022-0052: Unsoundness in os_socketaddr</title><id>https://rustsec.org/advisories/RUSTSEC-2022-0052.html</id><updated>2022-08-26T00:00:00+00:00</updated><category term="memory-corruption"/><link href="https://rustsec.org/advisories/RUSTSEC-2022-0052.html" rel="alternate" type="text/html" title="RUSTSEC-2022-0052: Unsoundness in os_socketaddr"/><published>2022-08-26T00:00:00+00:00</published><summary xml:lang="en">`os_socketaddr` invalidly assumes the memory layout of std::net::SocketAddr</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/os_socketaddr/RUSTSEC-2022-0052.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/os_socketaddr/RUSTSEC-2022-0052.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2022-0052
|
|
|
|
</h1>
|
|
<span class="subtitle"><p><code>os_socketaddr</code> invalidly assumes the memory layout of std::net::SocketAddr</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2022-08-26">
|
|
August 26, 2022
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/os_socketaddr.html">os_socketaddr</a>
|
|
(<a href="https://crates.io/crates/os_socketaddr">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
<span class="tag info">INFO</span>
|
|
Unsound
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="categories">Categories</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><a href="/categories/memory-corruption.html">memory-corruption</a></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="keywords">Keywords</dt>
|
|
<dd>
|
|
|
|
<a href="/keywords/memory.html">#memory</a>
|
|
|
|
<a href="/keywords/layout.html">#layout</a>
|
|
|
|
<a href="/keywords/cast.html">#cast</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">Details</dt>
|
|
<dd>
|
|
<a href="https://github.com/a-ba/os_socketaddr/issues/3">
|
|
https://github.com/a-ba/os_socketaddr/issues/3
|
|
</a>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=0.2.2</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The <a href="https://crates.io/crates/os_socketaddr"><code>os_socketaddr</code></a> crate has assumed
|
|
<code>std::net::SocketAddrV4</code> and <code>std::net::SocketAddrV6</code> have the same memory layout as the system C
|
|
representation <code>sockaddr</code>. It has simply casted the pointers to convert the socket addresses to the
|
|
system representation.</p>
|
|
<p>These layout were <a href="https://github.com/rust-lang/rust/pull/78802">changed into idiomatic rust types</a>
|
|
in nightly <code>std</code>. Starting from rustc 1.64 the affected versions of this crate will have undefined
|
|
behaviour.</p>
|
|
|
|
</article></content></entry><entry><title>RUSTSEC-2022-0051: Vulnerability in lz4-sys</title><id>https://rustsec.org/advisories/RUSTSEC-2022-0051.html</id><updated>2022-08-25T00:00:00+00:00</updated><category term="memory-corruption"/><link href="https://rustsec.org/advisories/RUSTSEC-2022-0051.html" rel="alternate" type="text/html" title="RUSTSEC-2022-0051: Vulnerability in lz4-sys"/><published>2022-08-25T00:00:00+00:00</published><summary xml:lang="en">Memory corruption in liblz4</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/lz4-sys/RUSTSEC-2022-0051.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/lz4-sys/RUSTSEC-2022-0051.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2022-0051
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Memory corruption in liblz4</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2022-08-25">
|
|
August 25, 2022
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/lz4-sys.html">lz4-sys</a>
|
|
(<a href="https://crates.io/crates/lz4-sys">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/integer-overflow.html">#integer-overflow</a>
|
|
|
|
<a href="/keywords/out-of-bounds.html">#out-of-bounds</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">Details</dt>
|
|
<dd>
|
|
<a href="https://github.com/lz4/lz4/pull/972">
|
|
https://github.com/lz4/lz4/pull/972
|
|
</a>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="related">Related</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3520">CVE-2021-3520</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="cvss_score">CVSS Score</dt>
|
|
<dd>9.8 <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</d>
|
|
|
|
|
|
|
|
<dt>Privileges required</dt><dd>None</dd>
|
|
|
|
|
|
|
|
<dt>User interaction</dt><dd>None</dd>
|
|
|
|
|
|
|
|
<dt>Scope</dt><dd>Unchanged</dd>
|
|
|
|
|
|
|
|
<dt>Confidentiality</dt><dd>High</dd>
|
|
|
|
|
|
|
|
<dt>Integrity</dt><dd>High</dd>
|
|
|
|
|
|
|
|
<dt>Availability</dt><dd>High</dd>
|
|
|
|
</dl>
|
|
</dd>
|
|
|
|
<dt id="cvss">CVSS Vector</dt>
|
|
<dd><a href="https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H">CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H</a></dd>
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=1.9.4</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>lz4-sys up to v1.9.3 bundles a version of liblz4 that is vulnerable to
|
|
<a href="https://nvd.nist.gov/vuln/detail/CVE-2021-3520">CVE-2021-3520</a>.</p>
|
|
<p>Attackers could craft a payload that triggers an integer overflow upon
|
|
decompression, causing an out-of-bounds write.</p>
|
|
<p>The flaw has been corrected in version v1.9.4 of liblz4, which is included
|
|
in lz4-sys 1.9.4.</p>
|
|
|
|
</article></content></entry></feed> |