mirror of
https://github.com/rustsec/advisory-db.git
synced 2026-11-30 17:24:34 -06:00
Update gh-pages
This commit is contained in:
@@ -190,7 +190,7 @@ IP address octects are left stripped instead of evaluated as valid IP addresses.
|
||||
For example, an attacker submitting an IP address to a web application that relies on <code>std::net::IpAddr</code>,
|
||||
could cause SSRF via inputting octal input data;
|
||||
An attacker can submit exploitable IP addresses if the octet is 3 digits,
|
||||
with the minimum exploitable octect being 08 (Denial of Service) and the maximum exploitable octet is 099 (Denial of Service).
|
||||
with the minimum exploitable octet being 08 (Denial of Service) and the maximum exploitable octet is 099 (Denial of Service).
|
||||
For example, an attacker can submit <code>010.8.8.8</code>, which is <code>8.8.8.8</code> (RFI), yet <code>std::net::IpAddr</code> will evaluate this as <code>10.8.8.8</code>.
|
||||
Equally, an attacker can input <code>127.0.026.1</code> which is really <code>127.0.22.1</code> but rust evaluates it as <code>127.0.26.1</code>.</p>
|
||||
|
||||
|
||||
@@ -161,7 +161,7 @@ of the decode buffer to not be overwritten. If the decode buffer was newly
|
||||
allocated and uninitialized, this uninitialized memory could be exposed.</p>
|
||||
<p>This allows an attacker to observe parts of the uninitialized memory in the
|
||||
decoded audio stream.</p>
|
||||
<p>The flaw was corrected by checking that the value read from the bistream divides
|
||||
<p>The flaw was corrected by checking that the value read from the bitstream divides
|
||||
the decode buffer size, and returning a format error if it does not. If an error
|
||||
is returned, the decode buffer is not exposed. Regression tests and an
|
||||
additional fuzzer have been added to prevent similar flaws in the future.</p>
|
||||
|
||||
@@ -147,7 +147,7 @@
|
||||
<li>Adding the <code>Send</code> marker trait to objects that cannot be safely sent between threads</li>
|
||||
</ul>
|
||||
<p>This may result in a variety of memory corruption scenarios, most likely use-after-free.</p>
|
||||
<p>A signficant refactoring effort has been conducted to resolve these issues.</p>
|
||||
<p>A significant refactoring effort has been conducted to resolve these issues.</p>
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -209,7 +209,7 @@
|
||||
|
||||
<h3 id="description">Description</h3>
|
||||
<p>If during the first dereference of Lazy<!-- raw HTML omitted --> the initialization function panics,
|
||||
subsequent derefernces will execute <code>std::hints::unreachable_unchecked</code>.</p>
|
||||
subsequent dereferences will execute <code>std::hints::unreachable_unchecked</code>.</p>
|
||||
<p>Applications with <code>panic = "abort"</code> are not affected, as there will be no
|
||||
subsequent dereferences.</p>
|
||||
|
||||
|
||||
@@ -193,7 +193,7 @@
|
||||
|
||||
<h3 id="description">Description</h3>
|
||||
<p><code>HeaderMap::reserve()</code> used <code>usize::next_power_of_two()</code> to calculate the increased capacity.
|
||||
However, <code>next_power_of_two()</code> silently overflows to 0 if given a sufficently large number
|
||||
However, <code>next_power_of_two()</code> silently overflows to 0 if given a sufficiently large number
|
||||
in release mode.</p>
|
||||
<p>If the map was not empty when the overflow happens,
|
||||
the library will invoke <code>self.grow(0)</code> and start infinite probing.
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
<meta name="author" content="Rust Project Developers">
|
||||
<meta name="description" content="Security advisory database for Rust crates published through https://crates.io">
|
||||
<title>RUSTSEC-2019-0036: failure: Type confusion if __private_get_type_id__ is overriden › RustSec Advisory Database</title>
|
||||
<title>RUSTSEC-2019-0036: failure: Type confusion if __private_get_type_id__ is overridden › RustSec Advisory Database</title>
|
||||
|
||||
<link href="//fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,300italic,400italic" rel="stylesheet">
|
||||
<link href="/css/basic.css" rel="stylesheet">
|
||||
@@ -47,7 +47,7 @@
|
||||
RUSTSEC-2019-0036
|
||||
|
||||
</h1>
|
||||
<span class="subtitle"><p>Type confusion if <strong>private_get_type_id</strong> is overriden</p>
|
||||
<span class="subtitle"><p>Type confusion if <strong>private_get_type_id</strong> is overridden</p>
|
||||
</span>
|
||||
</header>
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
<meta name="author" content="Rust Project Developers">
|
||||
<meta name="description" content="Security advisory database for Rust crates published through https://crates.io">
|
||||
<title>RUSTSEC-2020-0001: trust-dns-server: Stack overflow when resolving addional records from MX or SRV null targets › RustSec Advisory Database</title>
|
||||
<title>RUSTSEC-2020-0001: trust-dns-server: Stack overflow when resolving additional records from MX or SRV null targets › RustSec Advisory Database</title>
|
||||
|
||||
<link href="//fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,300italic,400italic" rel="stylesheet">
|
||||
<link href="/css/basic.css" rel="stylesheet">
|
||||
@@ -47,7 +47,7 @@
|
||||
RUSTSEC-2020-0001
|
||||
|
||||
</h1>
|
||||
<span class="subtitle"><p>Stack overflow when resolving addional records from MX or SRV null targets</p>
|
||||
<span class="subtitle"><p>Stack overflow when resolving additional records from MX or SRV null targets</p>
|
||||
</span>
|
||||
</header>
|
||||
|
||||
|
||||
@@ -186,7 +186,7 @@ in these scenarios.</p>
|
||||
<p>I've written a quickcheck test to exercise <code>realloc</code>. Without the bug fix
|
||||
in this patch, this quickcheck immediately triggers invalid reads when run
|
||||
under <code>valgrind</code>. We didn't previously have quickchecks that exercised
|
||||
<code>realloc</code> beacuse <code>realloc</code> isn't publicly exposed directly, and instead
|
||||
<code>realloc</code> because <code>realloc</code> isn't publicly exposed directly, and instead
|
||||
can only be indirectly called. This new quickcheck test exercises <code>realloc</code>
|
||||
via <code>bumpalo::collections::Vec::resize</code> and
|
||||
<code>bumpalo::collections::Vec::shrink_to_fit</code> calls.</p>
|
||||
|
||||
@@ -156,7 +156,7 @@
|
||||
<p>The client software downloaded a list of servers from mozilla's servers and created local files named
|
||||
after the hostname field in the json document.</p>
|
||||
<p>No verification of the content of the string was made, and it could therefore have included '../' leading to path traversal.</p>
|
||||
<p>This allows an attacker in controll of mozilla's servers to overwrite/create local files named .conf.</p>
|
||||
<p>This allows an attacker in control of mozilla's servers to overwrite/create local files named .conf.</p>
|
||||
<p>The flaw was corrected by sanitizing the hostname field.</p>
|
||||
|
||||
|
||||
|
||||
@@ -186,7 +186,7 @@
|
||||
<p>Affected versions of the crate used a <code>UnsafeCell</code> in thread-local storage to return a noop waker reference,
|
||||
assuming that the reference would never be returned from another thread.</p>
|
||||
<p>This resulted in a segmentation fault crash if <code>Waker::wake_by_ref()</code> was called on a waker returned from another thread due to
|
||||
it attempting to dereference a pointer that wasn't accesible from the main thread.</p>
|
||||
it attempting to dereference a pointer that wasn't accessible from the main thread.</p>
|
||||
<p>Reproduction Example (from issue):</p>
|
||||
<pre><code class="language-rust">use futures_task::noop_waker_ref;
|
||||
fn main() {
|
||||
|
||||
@@ -221,7 +221,7 @@
|
||||
to the sendmail command. It was possible, using forged <code>to</code> addresses,
|
||||
to pass arbitrary arguments to the sendmail executable.</p>
|
||||
<p>Depending on the implementation (original sendmail, postfix, exim, etc.)
|
||||
it could be possible in some cases to write email data into abritrary files (using sendmail's
|
||||
it could be possible in some cases to write email data into arbitrary files (using sendmail's
|
||||
logging features).</p>
|
||||
<p>The flaw is corrected by modifying the executed command to stop parsing arguments
|
||||
before passing the destination addresses.</p>
|
||||
|
||||
@@ -159,7 +159,7 @@
|
||||
<h3 id="description">Description</h3>
|
||||
<p>The <a href="https://crates.io/crates/net2"><code>net2</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 addresess to the
|
||||
<code>sockaddr</code>. It has simply casted the pointers to convert the socket addresses to the
|
||||
system representation. The standard library does not say anything about the memory
|
||||
layout, and this will cause invalid memory access if the standard library
|
||||
changes the implementation. No warnings or errors will be emitted once the
|
||||
|
||||
@@ -201,7 +201,7 @@ compiles only on these architectures, so others are unaffected.</p>
|
||||
to crash deterministically every time.</p>
|
||||
<p>See https://github.com/gz/rust-cpuid/issues/41.</p>
|
||||
<p>The flaw has been fixed in v9.0.0, by intentionally breaking compilation
|
||||
when targetting SGX or 32-bit x86 without SSE. This covers all affected CPUs.</p>
|
||||
when targeting SGX or 32-bit x86 without SSE. This covers all affected CPUs.</p>
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -163,9 +163,9 @@
|
||||
|
||||
<h3 id="description">Description</h3>
|
||||
<p><code>hyper</code>'s HTTP header parser accepted, according to RFC 7230, illegal contents inside <code>Content-Length</code> headers.
|
||||
Due to this, upstream HTTP proxies that ignore the the header may still forward them along if it chooses to ignore the error.</p>
|
||||
Due to this, upstream HTTP proxies that ignore the header may still forward them along if it chooses to ignore the error.</p>
|
||||
<p>To be vulnerable, <code>hyper</code> must be used as an HTTP/1 server and using an HTTP proxy upstream that ignores the header's contents
|
||||
but still forwards it. Due to all the factors that must line up, an attack exploiting this vulnerablity is unlikely.</p>
|
||||
but still forwards it. Due to all the factors that must line up, an attack exploiting this vulnerability is unlikely.</p>
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -4204,7 +4204,7 @@
|
||||
RUSTSEC-2020-0001: Vulnerability in trust-dns-server
|
||||
</a>
|
||||
</h3>
|
||||
<span><p>Stack overflow when resolving addional records from MX or SRV null targets</p>
|
||||
<span><p>Stack overflow when resolving additional records from MX or SRV null targets</p>
|
||||
</span>
|
||||
|
||||
</li>
|
||||
@@ -4293,7 +4293,7 @@
|
||||
RUSTSEC-2019-0036: Unsoundness in failure
|
||||
</a>
|
||||
</h3>
|
||||
<span><p>Type confusion if <strong>private_get_type_id</strong> is overriden</p>
|
||||
<span><p>Type confusion if <strong>private_get_type_id</strong> is overridden</p>
|
||||
</span>
|
||||
|
||||
</li>
|
||||
|
||||
@@ -76,7 +76,7 @@
|
||||
RUSTSEC-2019-0036: Unsoundness in failure
|
||||
</a>
|
||||
</h3>
|
||||
<span><p>Type confusion if <strong>private_get_type_id</strong> is overriden</p>
|
||||
<span><p>Type confusion if <strong>private_get_type_id</strong> is overridden</p>
|
||||
</span>
|
||||
|
||||
</li>
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
RUSTSEC-2020-0001: Vulnerability in trust-dns-server
|
||||
</a>
|
||||
</h3>
|
||||
<span><p>Stack overflow when resolving addional records from MX or SRV null targets</p>
|
||||
<span><p>Stack overflow when resolving additional records from MX or SRV null targets</p>
|
||||
</span>
|
||||
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user