mirror of
https://github.com/rustsec/advisory-db.git
synced 2026-11-30 16:54:32 -06:00
1478 lines
50 KiB
XML
1478 lines
50 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-03-04T12: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-0017: Unsoundness in maligned</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0017.html</id><updated>2023-03-04T12:00:00+00:00</updated><category term="memory-corruption"/><link href="https://rustsec.org/advisories/RUSTSEC-2023-0017.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0017: Unsoundness in maligned"/><published>2023-03-04T12:00:00+00:00</published><summary xml:lang="en">`maligned::align_first` causes incorrect deallocation</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/maligned/RUSTSEC-2023-0017.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/maligned/RUSTSEC-2023-0017.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2023-0017
|
|
|
|
</h1>
|
|
<span class="subtitle"><p><code>maligned::align_first</code> causes incorrect deallocation</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2023-03-04">
|
|
March 4, 2023
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2023-03-04">
|
|
March 4, 2023
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/maligned.html">maligned</a>
|
|
(<a href="https://crates.io/crates/maligned">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
<span class="tag info">INFO</span>
|
|
Unsound
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="categories">Categories</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><a href="/categories/memory-corruption.html">memory-corruption</a></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="keywords">Keywords</dt>
|
|
<dd>
|
|
|
|
<a href="/keywords/unsound.html">#unsound</a>
|
|
|
|
<a href="/keywords/alloc.html">#alloc</a>
|
|
|
|
<a href="/keywords/align.html">#align</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">Details</dt>
|
|
<dd>
|
|
<a href="https://github.com/tylerhawkes/maligned/issues/5">
|
|
https://github.com/tylerhawkes/maligned/issues/5
|
|
</a>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
no patched versions
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt>Affected Functions</dt>
|
|
<dd>Version</dd>
|
|
|
|
<dt><code>maligned::align_first</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>*</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
<dt><code>maligned::align_first_boxed</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>*</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
<dt><code>maligned::align_first_boxed_cloned</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>*</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
<dt><code>maligned::align_first_boxed_default</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>*</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p><code>maligned::align_first</code> manually allocates with an alignment larger than T, and then uses <code>Vec::from_raw_parts</code> on that allocation to get a <code>Vec&lt;T&gt;</code>.</p>
|
|
<p><a href="https://doc.rust-lang.org/std/alloc/trait.GlobalAlloc.html#tymethod.dealloc"><code>GlobalAlloc::dealloc</code></a> requires that the <code>layout</code> argument must be the same layout that was used to allocate that block of memory.</p>
|
|
<p>When deallocating, <code>Box</code> and <code>Vec</code> may not respect the specified alignment and can cause undefined behavior.</p>
|
|
|
|
</article></content></entry><entry><title>RUSTSEC-2023-0018: Vulnerability in remove_dir_all</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0018.html</id><updated>2023-03-04T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2023-0018.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0018: Vulnerability in remove_dir_all"/><published>2023-03-04T12:00:00+00:00</published><summary xml:lang="en">Race Condition Enabling Link Following and Time-of-check Time-of-use (TOCTOU)</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/remove_dir_all/RUSTSEC-2023-0018.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/remove_dir_all/RUSTSEC-2023-0018.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2023-0018
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Race Condition Enabling Link Following and Time-of-check Time-of-use (TOCTOU)</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2023-02-24">
|
|
February 24, 2023
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2023-03-04">
|
|
March 4, 2023
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/remove_dir_all.html">remove_dir_all</a>
|
|
(<a href="https://crates.io/crates/remove_dir_all">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
Vulnerability
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
<dt id="keywords">Keywords</dt>
|
|
<dd>
|
|
|
|
<a href="/keywords/TOCTOU.html">#TOCTOU</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-mc8h-8q98-g5hr">GHSA-mc8h-8q98-g5hr</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">Details</dt>
|
|
<dd>
|
|
<a href="https://github.com/XAMPPRocky/remove_dir_all/commit/7247a8b6ee59fc99bbb69ca6b3ca4bfd8c809ead">
|
|
https://github.com/XAMPPRocky/remove_dir_all/commit/7247a8b6ee59fc99bbb69ca6b3ca4bfd8c809ead
|
|
</a>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=0.8.0</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt>Affected Functions</dt>
|
|
<dd>Version</dd>
|
|
|
|
<dt><code>remove_dir_all::ensure_empty_dir</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&lt;0.8.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
<dt><code>remove_dir_all::remove_dir_all</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&lt;0.8.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
<dt><code>remove_dir_all::remove_dir_contents</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&lt;0.8.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The remove_dir_all crate is a Rust library that offers additional features over the Rust
|
|
standard library fs::remove_dir_all function.</p>
|
|
<p>It was possible to trick a privileged process doing a recursive delete in an
|
|
attacker controlled directory into deleting privileged files, on all operating systems.</p>
|
|
<p>For instance, consider deleting a tree called 'etc' in a parent directory
|
|
called 'p'. Between calling <code>remove_dir_all(&quot;a&quot;)</code> and remove_dir_all(&quot;a&quot;)
|
|
actually starting its work, the attacker can move 'p' to 'p-prime', and
|
|
replace 'p' with a symlink to '/'. Then the privileged process deletes 'p/etc'
|
|
which is actually /etc, and now your system is broken. There are some
|
|
mitigations for this exact scenario, such as CWD relative file lookup, but
|
|
they are not guaranteed - any code using absolute paths will not have that
|
|
protection in place.</p>
|
|
<p>The same attack could be performed at any point in the directory tree being
|
|
deleted: if 'a' contains a child directory called 'etc', attacking the
|
|
deletion by replacing 'a' with a link is possible.</p>
|
|
<p>The new code in this release mitigates the attack within the directory tree
|
|
being deleted by using file-handle relative operations: to open 'a/etc', the
|
|
path 'etc' relative to 'a' is opened, where 'a' is represented by a file
|
|
descriptor (Unix) or handle (Windows). With the exception of the entry points
|
|
into the directory deletion logic, this is robust against manipulation of the
|
|
directory hierarchy, and remove_dir_all will only delete files and directories
|
|
contained in the tree it is deleting.</p>
|
|
<p>The entry path however is a challenge - as described above, there are some
|
|
potential mitigations, but since using them must be done by the calling code,
|
|
it is hard to be confident about the security properties of the path based
|
|
interface.</p>
|
|
<p>The new extension trait <code>RemoveDir</code> provides an interface where it is much
|
|
harder to get it wrong.</p>
|
|
<p><code>somedir.remove_dir_contents(&quot;name-of-child&quot;)</code>.</p>
|
|
<p>Callers can then make their own security evaluation about how to securely get
|
|
a directory handle. That is still not particularly obvious, and we're going to
|
|
follow up with a helper of some sort (probably in the <code>fs_at</code> crate). Once
|
|
that is available, the path based entry points will get deprecated.</p>
|
|
<p>In the interim, processes that might run with elevated privileges should
|
|
figure out how to securely identify the directory they are going to delete, to
|
|
avoid the initial race. Pragmatically, other processes should be fine with the
|
|
path based entry points : this is the same interface <code>std::fs::remove_dir_all</code>
|
|
offers, and an unprivileged process running in an attacker controlled
|
|
directory can't do anything that the attacker can't already do.</p>
|
|
|
|
</article></content></entry><entry><title>RUSTSEC-2022-0091: Vulnerability in tauri</title><id>https://rustsec.org/advisories/RUSTSEC-2022-0091.html</id><updated>2023-02-25T12:00:00+00:00</updated><category term="privilege-escalation"/><link href="https://rustsec.org/advisories/RUSTSEC-2022-0091.html" rel="alternate" type="text/html" title="RUSTSEC-2022-0091: Vulnerability in tauri"/><published>2023-02-25T12:00:00+00:00</published><summary xml:lang="en">`tauri` filesystem scope partial bypass</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/tauri/RUSTSEC-2022-0091.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/tauri/RUSTSEC-2022-0091.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2022-0091
|
|
|
|
</h1>
|
|
<span class="subtitle"><p><code>tauri</code> filesystem scope partial bypass</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2022-09-19">
|
|
September 19, 2022
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2023-02-25">
|
|
February 25, 2023
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/tauri.html">tauri</a>
|
|
(<a href="https://crates.io/crates/tauri">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-2022-41874">CVE-2022-41874</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-q9wv-22m9-vhqh">GHSA-q9wv-22m9-vhqh</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">Details</dt>
|
|
<dd>
|
|
<a href="https://github.com/tauri-apps/tauri/issues/5234">
|
|
https://github.com/tauri-apps/tauri/issues/5234
|
|
</a>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="cvss_score">CVSS Score</dt>
|
|
<dd>2.3 <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>High</d>
|
|
|
|
|
|
|
|
<dt>Privileges required</dt><dd>High</dd>
|
|
|
|
|
|
|
|
<dt>User interaction</dt><dd>Required</dd>
|
|
|
|
|
|
|
|
<dt>Scope</dt><dd>Changed</dd>
|
|
|
|
|
|
|
|
<dt>Confidentiality</dt><dd>Low</dd>
|
|
|
|
|
|
|
|
<dt>Integrity</dt><dd>None</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:H/UI:R/S:C/C:L/I:N/A:N">CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:L/I:N/A:N</a></dd>
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=1.0.7, &lt;1.1.0</code></li>
|
|
|
|
<li><code>&gt;=1.1.2</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="unaffected">Unaffected</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&lt;1.0.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>A bug identified in <a href="https://github.com/tauri-apps/tauri/issues/5234">this</a> issue allows a partial filesystem scope bypass if glob characters are used within file dialog or drag-and-drop functionalities.</p>
|
|
<p><a href="https://github.com/tauri-apps/tauri/pull/5237">This</a> PR fixes the issue by escaping glob characters.</p>
|
|
|
|
</article></content></entry><entry><title>RUSTSEC-2023-0015: Unsoundness in ascii</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0015.html</id><updated>2023-02-25T12:00:00+00:00</updated><category term="memory-corruption"/><link href="https://rustsec.org/advisories/RUSTSEC-2023-0015.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0015: Unsoundness in ascii"/><published>2023-02-25T12:00:00+00:00</published><summary xml:lang="en">Ascii allows out-of-bounds array indexing in safe code</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/ascii/RUSTSEC-2023-0015.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/ascii/RUSTSEC-2023-0015.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2023-0015
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Ascii allows out-of-bounds array indexing in safe code</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2023-02-25">
|
|
February 25, 2023
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2023-02-25">
|
|
February 25, 2023
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/ascii.html">ascii</a>
|
|
(<a href="https://crates.io/crates/ascii">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
<span class="tag info">INFO</span>
|
|
Unsound
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="categories">Categories</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><a href="/categories/memory-corruption.html">memory-corruption</a></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="keywords">Keywords</dt>
|
|
<dd>
|
|
|
|
<a href="/keywords/ascii.html">#ascii</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">Details</dt>
|
|
<dd>
|
|
<a href="https://github.com/tomprogrammer/rust-ascii/issues/64">
|
|
https://github.com/tomprogrammer/rust-ascii/issues/64
|
|
</a>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=0.9.3</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>Affected version of this crate had implementation of <code>From&lt;&amp;mut AsciiStr&gt;</code> for <code>&amp;mut [u8]</code> and <code>&amp;mut str</code>. This can result in out-of-bounds array indexing in safe code.</p>
|
|
<p>The flaw was corrected in commit <a href="https://github.com/tomprogrammer/rust-ascii/pull/63/commits/8a6c7798c202766bd57d70fb8d12739dd68fb9dc">8a6c779</a> by removing those impls.</p>
|
|
|
|
</article></content></entry><entry><title>RUSTSEC-2023-0016: Unsoundness in partial_sort</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0016.html</id><updated>2023-02-25T12:00:00+00:00</updated><category term="memory-exposure"/><link href="https://rustsec.org/advisories/RUSTSEC-2023-0016.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0016: Unsoundness in partial_sort"/><published>2023-02-25T12:00:00+00:00</published><summary xml:lang="en">Possible out-of-bounds read in release mode</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/partial_sort/RUSTSEC-2023-0016.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/partial_sort/RUSTSEC-2023-0016.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2023-0016
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Possible out-of-bounds read in release mode</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-02-25">
|
|
February 25, 2023
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/partial_sort.html">partial_sort</a>
|
|
(<a href="https://crates.io/crates/partial_sort">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
<span class="tag info">INFO</span>
|
|
Unsound
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="categories">Categories</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><a href="/categories/memory-exposure.html">memory-exposure</a></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="keywords">Keywords</dt>
|
|
<dd>
|
|
|
|
<a href="/keywords/out-of-bounds-read.html">#out-of-bounds-read</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">Details</dt>
|
|
<dd>
|
|
<a href="https://github.com/sundy-li/partial_sort/issues/7">
|
|
https://github.com/sundy-li/partial_sort/issues/7
|
|
</a>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=0.2.0</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>Affected versions of this crate were using a debug assertion to validate the
|
|
<code>last</code> parameter of <code>partial_sort()</code>. This would allow invalid inputs to cause
|
|
an out-of-bounds read instead of immediately panicking, when compiled without
|
|
debug assertions.</p>
|
|
<p>All writes are bounds-checked, so the out-of-bounds memory access is read-only.
|
|
This also means that the first attempted out-of-bounds write will panic,
|
|
limiting the possible reads.</p>
|
|
<p>The accessible region is further limited by an initial bounds-checked read
|
|
at <code>(last / 2) - 1</code>, i.e., it is proportional to the size of the vector.</p>
|
|
<p>This bug has been fixed in v0.2.0.</p>
|
|
|
|
</article></content></entry><entry><title>RUSTSEC-2022-0090: Vulnerability in libsqlite3-sys</title><id>https://rustsec.org/advisories/RUSTSEC-2022-0090.html</id><updated>2023-02-14T12:00:00+00:00</updated><category term="denial-of-service"/><category term="code-execution"/><link href="https://rustsec.org/advisories/RUSTSEC-2022-0090.html" rel="alternate" type="text/html" title="RUSTSEC-2022-0090: Vulnerability in libsqlite3-sys"/><published>2023-02-14T12:00:00+00:00</published><summary xml:lang="en">`libsqlite3-sys` via C SQLite CVE-2022-35737</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/libsqlite3-sys/RUSTSEC-2022-0090.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/libsqlite3-sys/RUSTSEC-2022-0090.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2022-0090
|
|
|
|
</h1>
|
|
<span class="subtitle"><p><code>libsqlite3-sys</code> via C SQLite CVE-2022-35737</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2022-08-03">
|
|
August 3, 2022
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2023-02-14">
|
|
February 14, 2023
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/libsqlite3-sys.html">libsqlite3-sys</a>
|
|
(<a href="https://crates.io/crates/libsqlite3-sys">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-35737">CVE-2022-35737</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">Details</dt>
|
|
<dd>
|
|
<a href="https://nvd.nist.gov/vuln/detail/CVE-2022-35737">
|
|
https://nvd.nist.gov/vuln/detail/CVE-2022-35737
|
|
</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.25.1</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>It was sometimes possible for SQLite versions &gt;= 1.0.12, &lt; 3.39.2 to allow an array-bounds overflow when large string were input into SQLite's <code>printf</code> function.</p>
|
|
<p>As <code>libsqlite3-sys</code> bundles SQLite, it is susceptible to the vulnerability. <code>libsqlite3-sys</code> was updated to bundle the patched version of SQLite <a href="https://github.com/rusqlite/rusqlite/releases/tag/sys0.25.1">here</a>.</p>
|
|
|
|
</article></content></entry><entry><title>RUSTSEC-2023-0014: Unsoundness in cortex-m-rt</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0014.html</id><updated>2023-02-14T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2023-0014.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0014: Unsoundness in cortex-m-rt"/><published>2023-02-14T12:00:00+00:00</published><summary xml:lang="en">Miscompilation in cortex-m-rt 0.7.1 and 0.7.2</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/cortex-m-rt/RUSTSEC-2023-0014.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/cortex-m-rt/RUSTSEC-2023-0014.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2023-0014
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Miscompilation in cortex-m-rt 0.7.1 and 0.7.2</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2023-02-13">
|
|
February 13, 2023
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2023-02-14">
|
|
February 14, 2023
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/cortex-m-rt.html">cortex-m-rt</a>
|
|
(<a href="https://crates.io/crates/cortex-m-rt">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/rust-embedded/cortex-m/discussions/469">
|
|
https://github.com/rust-embedded/cortex-m/discussions/469
|
|
</a>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=0.7.3</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>Version 0.7.1 of the <code>cortex-m-rt</code> crate introduced a regression causing the stack to NOT be eight-byte aligned prior to calling <code>main</code> (or any other specified entrypoint), violating the <a href="https://github.com/ARM-software/abi-aa/blob/edd7460d87493fff124b8b5713acf71ffc06ee91/aapcs32/aapcs32.rst#6212stack-constraints-at-a-public-interface">stack ABI of AAPCS32</a>, the default ABI used by all Cortex-M targets. This regression is also present in version 0.7.2 of the <code>cortex-m-rt</code> crate.</p>
|
|
<p>This regression can cause certain compiler optimizations (which assume the eight-byte alignment) to produce incorrect behavior at runtime. This incorrect behavior has been <a href="https://github.com/peter9477/test2">observed in real-world applications</a>.</p>
|
|
<p><strong>It is advised that ALL users of <code>v0.7.1</code> and <code>v0.7.2</code> of the <code>cortex-m-rt</code> crate update to the latest version (<code>v0.7.3</code>), AS SOON AS POSSIBLE.</strong> Users of <code>v0.7.0</code> and prior versions of <code>cortex-m-rt</code> are not affected by this regression.</p>
|
|
<p>It will be necessary to rebuild all affected firmware binaries, and flash or deploy the new firmware binaries to affected devices.</p>
|
|
|
|
</article></content></entry><entry><title>RUSTSEC-2020-0167: Vulnerability in pnet_packet</title><id>https://rustsec.org/advisories/RUSTSEC-2020-0167.html</id><updated>2023-02-09T12:00:00+00:00</updated><category term="memory-corruption"/><link href="https://rustsec.org/advisories/RUSTSEC-2020-0167.html" rel="alternate" type="text/html" title="RUSTSEC-2020-0167: Vulnerability in pnet_packet"/><published>2023-02-09T12:00:00+00:00</published><summary xml:lang="en">`pnet_packet` buffer overrun in `set_payload` setters</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/pnet_packet/RUSTSEC-2020-0167.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/pnet_packet/RUSTSEC-2020-0167.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2020-0167
|
|
|
|
</h1>
|
|
<span class="subtitle"><p><code>pnet_packet</code> buffer overrun in <code>set_payload</code> setters</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2020-06-19">
|
|
June 19, 2020
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2023-02-09">
|
|
February 9, 2023
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/pnet_packet.html">pnet_packet</a>
|
|
(<a href="https://crates.io/crates/pnet_packet">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="details">Details</dt>
|
|
<dd>
|
|
<a href="https://github.com/libpnet/libpnet/issues/449">
|
|
https://github.com/libpnet/libpnet/issues/449
|
|
</a>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="cvss_score">CVSS Score</dt>
|
|
<dd>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>High</dd>
|
|
|
|
|
|
|
|
<dt>User interaction</dt><dd>None</dd>
|
|
|
|
|
|
|
|
<dt>Scope</dt><dd>Unchanged</dd>
|
|
|
|
|
|
|
|
<dt>Confidentiality</dt><dd>None</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.0/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H">CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H</a></dd>
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=0.27.2</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>As indicated by this <a href="https://github.com/libpnet/libpnet/issues/449#issuecomment-663355987">issue</a>, a buffer overrun is possible in the <code>set_payload</code> setter of the various mutable &quot;Packet&quot; struct setters. The offending <code>set_payload</code> functions were defined within the struct <code>impl</code> blocks in earlier versions of the package, and later by the <code>packet</code> macro.</p>
|
|
<p>Fixed in the <code>packet</code> macro by <a href="https://github.com/libpnet/libpnet/pull/455">this</a> PR.</p>
|
|
|
|
</article></content></entry><entry><title>RUSTSEC-2023-0011: Vulnerability in openssl-src</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0011.html</id><updated>2023-02-07T12:00:00+00:00</updated><category term="denial-of-service"/><link href="https://rustsec.org/advisories/RUSTSEC-2023-0011.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0011: Vulnerability in openssl-src"/><published>2023-02-07T12:00:00+00:00</published><summary xml:lang="en">Invalid pointer dereference in `d2i_PKCS7` functions</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-2023-0011.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/openssl-src/RUSTSEC-2023-0011.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2023-0011
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Invalid pointer dereference in <code>d2i_PKCS7</code> functions</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2023-02-07">
|
|
February 7, 2023
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2023-02-07">
|
|
February 7, 2023
|
|
</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-2023-0216">CVE-2023-0216</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">Details</dt>
|
|
<dd>
|
|
<a href="https://www.openssl.org/news/secadv/20230207.txt">
|
|
https://www.openssl.org/news/secadv/20230207.txt
|
|
</a>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=300.0.12</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>An invalid pointer dereference on read can be triggered when an
|
|
application tries to load malformed PKCS7 data with the
|
|
<code>d2i_PKCS7()</code>, <code>d2i_PKCS7_bio()</code> or <code>d2i_PKCS7_fp()</code> functions.</p>
|
|
<p>The result of the dereference is an application crash which could
|
|
lead to a denial of service attack. The TLS implementation in OpenSSL
|
|
does not call this function however third party applications might
|
|
call these functions on untrusted data.</p>
|
|
|
|
</article></content></entry><entry><title>RUSTSEC-2023-0006: Vulnerability in openssl-src</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0006.html</id><updated>2023-02-07T12:00:00+00:00</updated><category term="denial-of-service"/><category term="memory-exposure"/><link href="https://rustsec.org/advisories/RUSTSEC-2023-0006.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0006: Vulnerability in openssl-src"/><published>2023-02-07T12:00:00+00:00</published><summary xml:lang="en">X.400 address type confusion in X.509 `GeneralName`</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-2023-0006.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/openssl-src/RUSTSEC-2023-0006.md">Edit</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2023-0006
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>X.400 address type confusion in X.509 <code>GeneralName</code></p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2023-02-07">
|
|
February 7, 2023
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2023-02-07">
|
|
February 7, 2023
|
|
</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/memory-exposure.html">memory-exposure</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-0286">CVE-2023-0286</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">Details</dt>
|
|
<dd>
|
|
<a href="https://www.openssl.org/news/secadv/20230207.txt">
|
|
https://www.openssl.org/news/secadv/20230207.txt
|
|
</a>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=111.25, &lt;300.0</code></li>
|
|
|
|
<li><code>&gt;=300.0.12</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>There is a type confusion vulnerability relating to X.400 address processing
|
|
inside an X.509 <code>GeneralName</code>. X.400 addresses were parsed as an <code>ASN1_STRING</code> but
|
|
the public structure definition for <code>GENERAL_NAME</code> incorrectly specified the type
|
|
of the <code>x400Address</code> field as <code>ASN1_TYPE</code>. This field is subsequently interpreted by
|
|
the OpenSSL function <code>GENERAL_NAME_cmp</code> as an <code>ASN1_TYPE</code> rather than an
|
|
<code>ASN1_STRING</code>.</p>
|
|
<p>When CRL checking is enabled (i.e. the application sets the
|
|
<code>X509_V_FLAG_CRL_CHECK</code> flag), this vulnerability may allow an attacker to pass
|
|
arbitrary pointers to a <code>memcmp</code> call, enabling them to read memory contents or
|
|
enact a denial of service. In most cases, the attack requires the attacker to
|
|
provide both the certificate chain and CRL, neither of which need to have a
|
|
valid signature. If the attacker only controls one of these inputs, the other
|
|
input must already contain an X.400 address as a CRL distribution point, which
|
|
is uncommon. As such, this vulnerability is most likely to only affect
|
|
applications which have implemented their own functionality for retrieving CRLs
|
|
over a network.</p>
|
|
|
|
</article></content></entry></feed> |