mirror of
https://github.com/rustsec/advisory-db.git
synced 2026-12-01 20:19:23 -06:00
1354 lines
44 KiB
XML
1354 lines
44 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-11-22T12: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-2021-0145: Unsoundness in atty</title><id>https://rustsec.org/advisories/RUSTSEC-2021-0145.html</id><updated>2022-11-22T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2021-0145.html" rel="alternate" type="text/html" title="RUSTSEC-2021-0145: Unsoundness in atty"/><published>2022-11-22T12:00:00+00:00</published><summary xml:lang="en">Potential unaligned read</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/atty/RUSTSEC-2021-0145.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/atty/RUSTSEC-2021-0145.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2021-0145
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Potential unaligned read</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2021-07-04">
|
|
July 4, 2021
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2022-11-22">
|
|
November 22, 2022
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/atty.html">atty</a>
|
|
(<a href="https://crates.io/crates/atty">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
<span class="tag info">INFO</span>
|
|
Unsound
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
<dt id="keywords">Keywords</dt>
|
|
<dd>
|
|
|
|
<a href="/keywords/unaligned-read.html">#unaligned-read</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">Details</dt>
|
|
<dd>
|
|
<a href="https://github.com/softprops/atty/issues/50">
|
|
https://github.com/softprops/atty/issues/50
|
|
</a>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
no patched versions
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt>Affected OSes</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>windows</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>On windows, <code>atty</code> dereferences a potentially unaligned pointer.</p>
|
|
<p>In practice however, the pointer won't be unaligned unless a custom global allocator is used.</p>
|
|
<p>In particular, the <code>System</code> allocator on windows uses <code>HeapAlloc</code>, which guarantees a large enough alignment.</p>
|
|
<h1>atty is Unmaintained</h1>
|
|
<p>A Pull Request with a fix has been provided over a year ago but the maintainer seems to be unreachable.</p>
|
|
<p>Last release of <code>atty</code> was almost 3 years ago.</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/is-terminal">is-terminal</a></li>
|
|
<li>std::io::IsTerminal <em>nightly-only experimental</em></li>
|
|
</ul>
|
|
|
|
</article></content></entry><entry><title>RUSTSEC-2022-0067: Unsoundness in lzf</title><id>https://rustsec.org/advisories/RUSTSEC-2022-0067.html</id><updated>2022-11-07T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2022-0067.html" rel="alternate" type="text/html" title="RUSTSEC-2022-0067: Unsoundness in lzf"/><published>2022-11-07T12:00:00+00:00</published><summary xml:lang="en"> Invalid use of `mem::uninitialized` causes `use-of-uninitialized-value`</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/lzf/RUSTSEC-2022-0067.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/lzf/RUSTSEC-2022-0067.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2022-0067
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Invalid use of <code>mem::uninitialized</code> causes <code>use-of-uninitialized-value</code></p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2022-10-22">
|
|
October 22, 2022
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2022-11-07">
|
|
November 7, 2022
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/lzf.html">lzf</a>
|
|
(<a href="https://crates.io/crates/lzf">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
<span class="tag info">INFO</span>
|
|
Unsound
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
<dt id="keywords">Keywords</dt>
|
|
<dd>
|
|
|
|
<a href="/keywords/uninitialized-memory.html">#uninitialized-memory</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">Details</dt>
|
|
<dd>
|
|
<a href="https://github.com/badboy/lzf-rs/issues/9">
|
|
https://github.com/badboy/lzf-rs/issues/9
|
|
</a>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=0.3.2</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt>Affected Functions</dt>
|
|
<dd>Version</dd>
|
|
|
|
<dt><code>lzf::compress</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&lt;0.3.2</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
<dt><code>lzf::decompress</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&lt;0.3.2</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The compression and decompression function used <code>mem:uninitialized</code>
|
|
to create an array of uninitialized values, to later write values into it.
|
|
This later leads to reads from uninitialized memory.</p>
|
|
<p>The flaw was corrected in commit b633bf265e41c60dfce3be7eac4e4dd5e18d06cf
|
|
by using a heap-allocated <code>Vec</code> and removing out use of <code>mem::uninitialized</code>.
|
|
The fix was released in v0.3.2 and v1.0.0</p>
|
|
<p>Subsequently the crate was deprecated and its use is discouraged.</p>
|
|
|
|
</article></content></entry><entry><title>RUSTSEC-2022-0066: Vulnerability in conduit-hyper</title><id>https://rustsec.org/advisories/RUSTSEC-2022-0066.html</id><updated>2022-11-02T12:00:00+00:00</updated><category term="denial-of-service"/><link href="https://rustsec.org/advisories/RUSTSEC-2022-0066.html" rel="alternate" type="text/html" title="RUSTSEC-2022-0066: Vulnerability in conduit-hyper"/><published>2022-11-02T12:00:00+00:00</published><summary xml:lang="en">Denial of Service from unchecked request length</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/conduit-hyper/RUSTSEC-2022-0066.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/conduit-hyper/RUSTSEC-2022-0066.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2022-0066
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Denial of Service from unchecked request length</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2022-10-30">
|
|
October 30, 2022
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2022-11-02">
|
|
November 2, 2022
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/conduit-hyper.html">conduit-hyper</a>
|
|
(<a href="https://crates.io/crates/conduit-hyper">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://github.com/advisories/GHSA-9398-5ghf-7pr6">GHSA-9398-5ghf-7pr6</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-39294">CVE-2022-39294</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">Details</dt>
|
|
<dd>
|
|
<a href="https://github.com/conduit-rust/conduit-hyper/security/advisories/GHSA-9398-5ghf-7pr6">
|
|
https://github.com/conduit-rust/conduit-hyper/security/advisories/GHSA-9398-5ghf-7pr6
|
|
</a>
|
|
</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.4.2</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="unaffected">Unaffected</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&lt;0.2.0-alpha.3</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>Prior to version 0.4.2, <code>conduit-hyper</code> did not check any limit on a request's
|
|
length before calling <code>hyper::body::to_bytes</code>. An attacker could send a
|
|
malicious request with an abnormally large <code>Content-Length</code>, which could lead
|
|
to a panic if memory allocation failed for that request.</p>
|
|
<p>In version 0.4.2, <code>conduit-hyper</code> sets an internal limit of 128 MiB per
|
|
request, otherwise returning status 400 (&quot;Bad Request&quot;).</p>
|
|
|
|
</article></content></entry><entry><title>RUSTSEC-2022-0064: Vulnerability in openssl-src</title><id>https://rustsec.org/advisories/RUSTSEC-2022-0064.html</id><updated>2022-11-01T12:00:00+00:00</updated><category term="denial-of-service"/><category term="code-execution"/><link href="https://rustsec.org/advisories/RUSTSEC-2022-0064.html" rel="alternate" type="text/html" title="RUSTSEC-2022-0064: Vulnerability in openssl-src"/><published>2022-11-01T12:00:00+00:00</published><summary xml:lang="en">X.509 Email Address 4-byte Buffer Overflow</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-0064.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/openssl-src/RUSTSEC-2022-0064.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2022-0064
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>X.509 Email Address 4-byte Buffer Overflow</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2022-11-01">
|
|
November 1, 2022
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2022-11-01">
|
|
November 1, 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/denial-of-service.html">denial-of-service</a></li>
|
|
|
|
<li><a href="/categories/code-execution.html">code-execution</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-3602">CVE-2022-3602</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">Details</dt>
|
|
<dd>
|
|
<a href="https://www.openssl.org/news/secadv/20221101.txt">
|
|
https://www.openssl.org/news/secadv/20221101.txt
|
|
</a>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=300.0.11</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>A buffer overrun can be triggered in X.509 certificate verification,
|
|
specifically in name constraint checking. Note that this occurs
|
|
after certificate chain signature verification and requires either a
|
|
CA to have signed the malicious certificate or for the application to
|
|
continue certificate verification despite failure to construct a path
|
|
to a trusted issuer. An attacker can craft a malicious email address
|
|
to overflow four attacker-controlled bytes on the stack. This buffer
|
|
overflow could result in a crash (causing a denial of service) or
|
|
potentially remote code execution.</p>
|
|
<p>Many platforms implement stack overflow protections which would mitigate
|
|
against the risk of remote code execution. The risk may be further
|
|
mitigated based on stack layout for any given platform/compiler.</p>
|
|
<p>Pre-announcements of CVE-2022-3602 described this issue as CRITICAL.
|
|
Further analysis based on some of the mitigating factors described above
|
|
have led this to be downgraded to HIGH. Users are still encouraged to
|
|
upgrade to a new version as soon as possible.</p>
|
|
<p>In a TLS client, this can be triggered by connecting to a malicious
|
|
server. In a TLS server, this can be triggered if the server requests
|
|
client authentication and a malicious client connects.</p>
|
|
|
|
</article></content></entry><entry><title>RUSTSEC-2022-0065: Vulnerability in openssl-src</title><id>https://rustsec.org/advisories/RUSTSEC-2022-0065.html</id><updated>2022-11-01T12:00:00+00:00</updated><category term="denial-of-service"/><link href="https://rustsec.org/advisories/RUSTSEC-2022-0065.html" rel="alternate" type="text/html" title="RUSTSEC-2022-0065: Vulnerability in openssl-src"/><published>2022-11-01T12:00:00+00:00</published><summary xml:lang="en">X.509 Email Address Variable Length Buffer Overflow</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-0065.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/openssl-src/RUSTSEC-2022-0065.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2022-0065
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>X.509 Email Address Variable Length Buffer Overflow</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2022-11-01">
|
|
November 1, 2022
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2022-11-01">
|
|
November 1, 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/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-2022-3786">CVE-2022-3786</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">Details</dt>
|
|
<dd>
|
|
<a href="https://www.openssl.org/news/secadv/20221101.txt">
|
|
https://www.openssl.org/news/secadv/20221101.txt
|
|
</a>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=300.0.11</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>A buffer overrun can be triggered in X.509 certificate verification,
|
|
specifically in name constraint checking. Note that this occurs after
|
|
certificate chain signature verification and requires either a CA to
|
|
have signed a malicious certificate or for an application to continue
|
|
certificate verification despite failure to construct a path to a trusted
|
|
issuer. An attacker can craft a malicious email address in a certificate
|
|
to overflow an arbitrary number of bytes containing the <code>.</code> character
|
|
(decimal 46) on the stack. This buffer overflow could result in a crash
|
|
(causing a denial of service).</p>
|
|
<p>In a TLS client, this can be triggered by connecting to a malicious
|
|
server. In a TLS server, this can be triggered if the server requests
|
|
client authentication and a malicious client connects.</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-10-30T12: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-10-30T12: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="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2022-09-07">
|
|
September 7, 2022
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2022-10-30">
|
|
October 30, 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-0062: Vulnerability in matrix-sdk</title><id>https://rustsec.org/advisories/RUSTSEC-2022-0062.html</id><updated>2022-10-24T12: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-24T12: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="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2022-10-24">
|
|
October 24, 2022
|
|
</time>
|
|
</dd>
|
|
|
|
<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-0061: parity-wasm is unmaintained</title><id>https://rustsec.org/advisories/RUSTSEC-2022-0061.html</id><updated>2022-10-23T12: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-23T12: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="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2022-10-01">
|
|
October 1, 2022
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2022-10-23">
|
|
October 23, 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-0060: orbtk is unmaintained</title><id>https://rustsec.org/advisories/RUSTSEC-2022-0060.html</id><updated>2022-10-19T12: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-19T12: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="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2022-10-13">
|
|
October 13, 2022
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2022-10-19">
|
|
October 19, 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-11T12: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-11T12: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="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2022-10-11">
|
|
October 11, 2022
|
|
</time>
|
|
</dd>
|
|
|
|
<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></feed> |