mirror of
https://github.com/rustsec/advisory-db.git
synced 2026-11-30 18:24:31 -06:00
1216 lines
39 KiB
XML
1216 lines
39 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>2023-06-20T12: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-2023-0044: Vulnerability in openssl</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0044.html</id><updated>2023-06-20T12:00:00+00:00</updated><category term="memory-exposure"/><link href="https://rustsec.org/advisories/RUSTSEC-2023-0044.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0044: Vulnerability in openssl"/><published>2023-06-20T12:00:00+00:00</published><summary xml:lang="en">`openssl` `X509VerifyParamRef::set_host` buffer over-read</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/openssl/RUSTSEC-2023-0044.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/openssl/RUSTSEC-2023-0044.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2023-0044
|
|
|
|
</h1>
|
|
<span class="subtitle"><p><code>openssl</code> <code>X509VerifyParamRef::set_host</code> buffer over-read</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2023-06-20">
|
|
June 20, 2023
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2023-06-20">
|
|
June 20, 2023
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/openssl.html">openssl</a>
|
|
(<a href="https://crates.io/crates/openssl">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
Vulnerability
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="categories">Categories</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><a href="/categories/memory-exposure.html">memory-exposure</a></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">Details</dt>
|
|
<dd>
|
|
<a href="https://github.com/sfackler/rust-openssl/issues/1965">
|
|
https://github.com/sfackler/rust-openssl/issues/1965
|
|
</a>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=0.10.55</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt>Affected Functions</dt>
|
|
<dd>Version</dd>
|
|
|
|
<dt><code>openssl::x509::verify::X509VerifyParamRef::set_host</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&lt;0.10.55, &gt;=0.10.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>When this function was passed an empty string, <code>openssl</code> would attempt to call <code>strlen</code> on it, reading arbitrary memory until it reached a NUL byte.</p>
|
|
|
|
</article></content></entry><entry><title>RUSTSEC-2023-0043: ftp is unmaintained</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0043.html</id><updated>2023-06-14T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2023-0043.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0043: ftp is unmaintained"/><published>2023-06-14T12:00:00+00:00</published><summary xml:lang="en">ftp is unmaintained, use suppaftp instead</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/ftp/RUSTSEC-2023-0043.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/ftp/RUSTSEC-2023-0043.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2023-0043
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>ftp is unmaintained, use suppaftp instead</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2023-02-20">
|
|
February 20, 2023
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2023-06-14">
|
|
June 14, 2023
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/ftp.html">ftp</a>
|
|
(<a href="https://crates.io/crates/ftp">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
<span class="tag info">INFO</span>
|
|
Unmaintained
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
<dt id="keywords">Keywords</dt>
|
|
<dd>
|
|
|
|
<a href="/keywords/ssl.html">#ssl</a>
|
|
|
|
<a href="/keywords/wont-build.html">#wont-build</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">Details</dt>
|
|
<dd>
|
|
<a href="https://github.com/mattnenterprise/rust-ftp/pull/92">
|
|
https://github.com/mattnenterprise/rust-ftp/pull/92
|
|
</a>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
no patched versions
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The <a href="https://crates.io/crates/ftp"><code>ftp</code></a> crate is not maintained any more;
|
|
use <a href="https://crates.io/crates/suppaftp"><code>suppaftp</code></a> instead.</p>
|
|
|
|
</article></content></entry><entry><title>RUSTSEC-2023-0042: Unsoundness in ouroboros</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0042.html</id><updated>2023-06-15T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2023-0042.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0042: Unsoundness in ouroboros"/><published>2023-06-12T12:00:00+00:00</published><summary xml:lang="en">Ouroboros is Unsound</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/ouroboros/RUSTSEC-2023-0042.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/ouroboros/RUSTSEC-2023-0042.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2023-0042
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Ouroboros is Unsound</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2023-06-11">
|
|
June 11, 2023
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2023-06-12">
|
|
June 12, 2023
|
|
</time>
|
|
|
|
<time datetime="2023-06-15">
|
|
(last modified: June 15, 2023)
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/ouroboros.html">ouroboros</a>
|
|
(<a href="https://crates.io/crates/ouroboros">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
<span class="tag info">INFO</span>
|
|
Unsound
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">Details</dt>
|
|
<dd>
|
|
<a href="https://github.com/joshua-maros/ouroboros/issues/88">
|
|
https://github.com/joshua-maros/ouroboros/issues/88
|
|
</a>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=0.16.0</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<h2>Summary</h2>
|
|
<p>Ouroboros has a soundness problem, but a fix has been implemented in 0.16.0.</p>
|
|
<h2>More details:</h2>
|
|
<p>In 0.15.0, Ouroboros works internally by creating a struct where all
|
|
uses of 'this are replaced by 'static. However, a recent addition to
|
|
Miri checks that references passed to functions are valid during the
|
|
entire execution of the function, even when those references are
|
|
passed inside a struct. This poses an issue for dropping
|
|
self-referencing values, as the reference becomes invalid during the
|
|
dropping process. Effectively, since self-referencing structs are
|
|
not allowed in vanilla Rust, there is no allowance for dropping data
|
|
during a function that has also been given a reference to that data.
|
|
There's usually no way to pass a and &amp;a to the same function.</p>
|
|
<p>A fix was attempted, where the struct would be turned in to a raw
|
|
byte array and only transformed back into the underlying data type
|
|
inside each function. This is allowable as a reference can be
|
|
created and die over the body of a function, as long as the
|
|
reference was created inside the function. However, this is also
|
|
not sound if the original struct contains padding. There is no
|
|
way to initialize padding bytes to a known value that Miri will
|
|
accept, so when it is cast to an array some of the bytes contain
|
|
uninitialized values. This is not acceptable (despite the fact
|
|
that these bytes are never read) due to the potential for
|
|
optimizations that may read from the uninitialized bytes. Besides
|
|
which, this fix does not allow for template or constant parameters
|
|
as there is no way to check the size of a templated type without
|
|
giving specific, concrete values for the template parameters.</p>
|
|
<p>The final solution was to use this fix while wrapping the raw byte
|
|
array in <code>MaybeUninit&lt;&gt;</code>.</p>
|
|
|
|
</article></content></entry><entry><title>RUSTSEC-2023-0041: Vulnerability in trust-dns-server</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0041.html</id><updated>2023-06-13T12:00:00+00:00</updated><category term="denial-of-service"/><link href="https://rustsec.org/advisories/RUSTSEC-2023-0041.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0041: Vulnerability in trust-dns-server"/><published>2023-06-03T12:00:00+00:00</published><summary xml:lang="en">Remote Attackers can cause Denial-of-Service (packet loops) with crafted DNS packets</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/trust-dns-server/RUSTSEC-2023-0041.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/trust-dns-server/RUSTSEC-2023-0041.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2023-0041
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Remote Attackers can cause Denial-of-Service (packet loops) with crafted DNS packets</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2023-06-01">
|
|
June 1, 2023
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2023-06-03">
|
|
June 3, 2023
|
|
</time>
|
|
|
|
<time datetime="2023-06-13">
|
|
(last modified: June 13, 2023)
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/trust-dns-server.html">trust-dns-server</a>
|
|
(<a href="https://crates.io/crates/trust-dns-server">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/packet-loop.html">#packet-loop</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-5fm9-h728-fwpj">GHSA-5fm9-h728-fwpj</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">Details</dt>
|
|
<dd>
|
|
<a href="https://github.com/bluejekyll/trust-dns/pull/1952">
|
|
https://github.com/bluejekyll/trust-dns/pull/1952
|
|
</a>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>^0.22.1</code></li>
|
|
|
|
<li><code>&gt;=0.23.0-alpha.3</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>trust-dns and trust-dns-server are vulnerable to remotely triggered denial-of-service attacks, consuming both network and CPU resources.
|
|
DNS messages with the QR=1 bit set are responded to with a <code>FormErr</code> response.
|
|
This allows creating a traffic loop, in which these <code>FormErr</code> responses are sent nonstop between vulnerable servers.</p>
|
|
<p>There are two scenarios how this can be exploited: 1) Create a loop between two instances of trust-dns, consuming network resources, or 2) consuming the CPU of a single instance.</p>
|
|
<p>With two instances <em>A</em> and <em>B</em> an attacker sends a DNS query with a spoofed source IP address to <em>A</em>.
|
|
<em>A</em> replies with a <code>FormErr</code> to <em>B</em>.
|
|
Now both servers with ping-pong the message back and forth until by chance the packet is dropped in the network.
|
|
Multiple spoofed packets can be sent by the attacker, increasing resource consumption.</p>
|
|
<p>A single server can get locked up replying to itself.
|
|
Same setup as above, but now <em>A</em> sends the reply to itself.
|
|
The packet is sent out as fast as the CPU and network stack manage.
|
|
This locks up a CPU core.
|
|
Multiple packets from the attacker consume multiple CPU cores.</p>
|
|
|
|
</article></content></entry><entry><title>RUSTSEC-2023-0040: users is unmaintained</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0040.html</id><updated>2023-06-01T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2023-0040.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0040: users is unmaintained"/><published>2023-06-01T12:00:00+00:00</published><summary xml:lang="en">`users` crate 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/users/RUSTSEC-2023-0040.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/users/RUSTSEC-2023-0040.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2023-0040
|
|
|
|
</h1>
|
|
<span class="subtitle"><p><code>users</code> crate is unmaintained</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2023-06-01">
|
|
June 1, 2023
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2023-06-01">
|
|
June 1, 2023
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/users.html">users</a>
|
|
(<a href="https://crates.io/crates/users">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/ogham/rust-users/issues/54">
|
|
https://github.com/ogham/rust-users/issues/54
|
|
</a>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
no patched versions
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The <code>users</code> crate hasn't seen any action since 2020-10-08. The developer seems <a href="https://github.com/ogham/rust-users/issues/54">MIA</a> since.</p>
|
|
<h2>Recommended alternatives</h2>
|
|
<ul>
|
|
<li><a href="https://crates.io/crates/sysinfo"><code>sysinfo</code></a></li>
|
|
</ul>
|
|
|
|
</article></content></entry><entry><title>RUSTSEC-2023-0038: Vulnerability in sequoia-openpgp</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0038.html</id><updated>2023-06-13T12:00:00+00:00</updated><category term="denial-of-service"/><link href="https://rustsec.org/advisories/RUSTSEC-2023-0038.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0038: Vulnerability in sequoia-openpgp"/><published>2023-05-31T12:00:00+00:00</published><summary xml:lang="en">Out-of-bounds array access leads to panic</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/sequoia-openpgp/RUSTSEC-2023-0038.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/sequoia-openpgp/RUSTSEC-2023-0038.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2023-0038
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Out-of-bounds array access leads to panic</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2023-05-16">
|
|
May 16, 2023
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2023-05-31">
|
|
May 31, 2023
|
|
</time>
|
|
|
|
<time datetime="2023-06-13">
|
|
(last modified: June 13, 2023)
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/sequoia-openpgp.html">sequoia-openpgp</a>
|
|
(<a href="https://crates.io/crates/sequoia-openpgp">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
Vulnerability
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="categories">Categories</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><a href="/categories/denial-of-service.html">denial-of-service</a></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="keywords">Keywords</dt>
|
|
<dd>
|
|
|
|
<a href="/keywords/panic.html">#panic</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-25mx-8f3v-8wh7">GHSA-25mx-8f3v-8wh7</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">Details</dt>
|
|
<dd>
|
|
<a href="https://lists.sequoia-pgp.org/hyperkitty/list/announce@lists.sequoia-pgp.org/thread/SN2E3QRT4DMQ5JNEK6VIN6DJ5SH766DI/">
|
|
https://lists.sequoia-pgp.org/hyperkitty/list/announce@lists.sequoia-pgp.org/thread/SN2E3QRT4DMQ5JNEK6VIN6DJ5SH766DI/
|
|
</a>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=1.1.1, &lt;1.2.0</code></li>
|
|
|
|
<li><code>&gt;=1.8.1, &lt;1.9.0</code></li>
|
|
|
|
<li><code>&gt;=1.16.0</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>Affected versions of the crate have several bugs where
|
|
attacker-controlled input can result in the use of an out-of-bound
|
|
array index. Rust detects the use of the out-of-bound index and
|
|
causes the application to panic. An attacker may be able to use this
|
|
to cause a denial-of-service. However, it is not possible for an
|
|
attacker to read from or write to the application's address space.</p>
|
|
|
|
</article></content></entry><entry><title>RUSTSEC-2023-0039: Vulnerability in buffered-reader</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0039.html</id><updated>2023-06-13T12:00:00+00:00</updated><category term="denial-of-service"/><link href="https://rustsec.org/advisories/RUSTSEC-2023-0039.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0039: Vulnerability in buffered-reader"/><published>2023-05-31T12:00:00+00:00</published><summary xml:lang="en">Out-of-bounds array access leads to panic</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/buffered-reader/RUSTSEC-2023-0039.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/buffered-reader/RUSTSEC-2023-0039.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2023-0039
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Out-of-bounds array access leads to panic</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2023-05-16">
|
|
May 16, 2023
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2023-05-31">
|
|
May 31, 2023
|
|
</time>
|
|
|
|
<time datetime="2023-06-13">
|
|
(last modified: June 13, 2023)
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/buffered-reader.html">buffered-reader</a>
|
|
(<a href="https://crates.io/crates/buffered-reader">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
Vulnerability
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="categories">Categories</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><a href="/categories/denial-of-service.html">denial-of-service</a></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="keywords">Keywords</dt>
|
|
<dd>
|
|
|
|
<a href="/keywords/panic.html">#panic</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-29mf-62xx-28jq">GHSA-29mf-62xx-28jq</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">Details</dt>
|
|
<dd>
|
|
<a href="https://lists.sequoia-pgp.org/hyperkitty/list/announce@lists.sequoia-pgp.org/thread/SN2E3QRT4DMQ5JNEK6VIN6DJ5SH766DI/">
|
|
https://lists.sequoia-pgp.org/hyperkitty/list/announce@lists.sequoia-pgp.org/thread/SN2E3QRT4DMQ5JNEK6VIN6DJ5SH766DI/
|
|
</a>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=1.0.2, &lt;1.1.0</code></li>
|
|
|
|
<li><code>&gt;=1.1.5, &lt;1.2.0</code></li>
|
|
|
|
<li><code>&gt;=1.2.0</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>Affected versions of the crate have a bug where attacker-controlled
|
|
input can result in the use of an out-of-bound array index. Rust
|
|
detects the use of the out-of-bound index and causes the application
|
|
to panic. An attacker may be able to use this to cause a
|
|
denial-of-service. However, it is not possible for an attacker to
|
|
read from or write to the application's address space.</p>
|
|
|
|
</article></content></entry><entry><title>RUSTSEC-2023-0037: xsalsa20poly1305 is unmaintained</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0037.html</id><updated>2023-05-17T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2023-0037.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0037: xsalsa20poly1305 is unmaintained"/><published>2023-05-17T12:00:00+00:00</published><summary xml:lang="en">crate has been renamed to `crypto_secretbox`</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/xsalsa20poly1305/RUSTSEC-2023-0037.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/xsalsa20poly1305/RUSTSEC-2023-0037.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2023-0037
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>crate has been renamed to <code>crypto_secretbox</code></p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2023-05-16">
|
|
May 16, 2023
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2023-05-17">
|
|
May 17, 2023
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/xsalsa20poly1305.html">xsalsa20poly1305</a>
|
|
(<a href="https://crates.io/crates/xsalsa20poly1305">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/RustCrypto/AEADs/pull/525">
|
|
https://github.com/RustCrypto/AEADs/pull/525
|
|
</a>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
no patched versions
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>This crate has been forked/renamed from <code>xsalsa20poly1305</code> to <code>crypto_secretbox</code>.</p>
|
|
<p>The new repository location is at:</p>
|
|
<p><a href="https://github.com/RustCrypto/nacl-compat/tree/master/crypto_secretbox">https://github.com/RustCrypto/nacl-compat/tree/master/crypto_secretbox</a></p>
|
|
|
|
</article></content></entry><entry><title>RUSTSEC-2023-0036: tree_magic is unmaintained</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0036.html</id><updated>2023-04-25T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2023-0036.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0036: tree_magic is unmaintained"/><published>2023-04-25T12:00:00+00:00</published><summary xml:lang="en">tree_magic 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/tree_magic/RUSTSEC-2023-0036.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/tree_magic/RUSTSEC-2023-0036.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2023-0036
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>tree_magic is Unmaintained</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2023-04-11">
|
|
April 11, 2023
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2023-04-25">
|
|
April 25, 2023
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/tree_magic.html">tree_magic</a>
|
|
(<a href="https://crates.io/crates/tree_magic">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/aahancoc/tree_magic/issues/16">
|
|
https://github.com/aahancoc/tree_magic/issues/16
|
|
</a>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
no patched versions
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The <code>tree_magic</code> crate is unmaintained. The author has archived the github
|
|
repository.</p>
|
|
<p>Alternatives:</p>
|
|
<ul>
|
|
<li><a href="https://crates.io/crates/tree_magic_mini">tree_magic_mini</a></li>
|
|
</ul>
|
|
|
|
</article></content></entry><entry><title>RUSTSEC-2023-0035: Unsoundness in enumflags2</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0035.html</id><updated>2023-06-13T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2023-0035.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0035: Unsoundness in enumflags2"/><published>2023-04-23T12:00:00+00:00</published><summary xml:lang="en">Adverserial use of `make_bitflags!` macro can cause undefined behavior</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/enumflags2/RUSTSEC-2023-0035.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/enumflags2/RUSTSEC-2023-0035.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2023-0035
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Adverserial use of <code>make_bitflags!</code> macro can cause undefined behavior</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2023-04-17">
|
|
April 17, 2023
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2023-04-23">
|
|
April 23, 2023
|
|
</time>
|
|
|
|
<time datetime="2023-06-13">
|
|
(last modified: June 13, 2023)
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/enumflags2.html">enumflags2</a>
|
|
(<a href="https://crates.io/crates/enumflags2">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
<span class="tag info">INFO</span>
|
|
Unsound
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-qvc4-78gw-pv8p">GHSA-qvc4-78gw-pv8p</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">Details</dt>
|
|
<dd>
|
|
<a href="https://github.com/meithecatte/enumflags2/releases/tag/v0.7.7">
|
|
https://github.com/meithecatte/enumflags2/releases/tag/v0.7.7
|
|
</a>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=0.7.7</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="unaffected">Unaffected</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&lt;0.7.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The macro relied on an expression of the form <code>Enum::Variant</code> always being a
|
|
variant of the enum. However, it may also be an associated integer constant, in
|
|
which case there's no guarantee that the value of said constant consists only of
|
|
bits valid for this bitflag type.</p>
|
|
<p>Thus, code like this could create an invalid <code>BitFlags&lt;Test&gt;</code>, which would cause
|
|
iterating over it to trigger undefined behavior. As the debug formatter
|
|
internally iterates over the value, it is also affected.</p>
|
|
<pre><code class="language-rust">use enumflags2::{bitflags, make_bitflags};
|
|
|
|
#[bitflags]
|
|
#[repr(u8)]
|
|
#[derive(Copy, Clone, Debug)]
|
|
enum Test {
|
|
A = 1,
|
|
B = 2,
|
|
}
|
|
|
|
impl Test {
|
|
const C: u8 = 69;
|
|
}
|
|
|
|
fn main() {
|
|
let x = make_bitflags!(Test::{C});
|
|
// printing or iterating over x is UB
|
|
}
|
|
</code></pre>
|
|
|
|
</article></content></entry></feed> |