Files
advisory-db/feed.xml
T
2023-03-04 21:50:53 +00:00

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"> &lt;article&gt;
&lt;span class=&quot;floating-menu&quot;&gt;
&lt;a href=&quot;https://github.com/RustSec/advisory-db/commits/main/crates/maligned/RUSTSEC-2023-0017.md&quot;&gt;History&lt;/a&gt; ⋅
&lt;a href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/maligned/RUSTSEC-2023-0017.md&quot;&gt;Edit&lt;/a&gt;
&lt;/span&gt;
&lt;header&gt;
&lt;h1&gt;
RUSTSEC-2023-0017
&lt;/h1&gt;
&lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;&lt;code&gt;maligned::align_first&lt;/code&gt; causes incorrect deallocation&lt;/p&gt;
&lt;/span&gt;
&lt;/header&gt;
&lt;dl&gt;
&lt;dt id=&quot;reported&quot;&gt;Reported&lt;/dt&gt;
&lt;dd&gt;
&lt;time datetime=&quot;2023-03-04&quot;&gt;
March 4, 2023
&lt;/time&gt;
&lt;/dd&gt;
&lt;dt id=&quot;issued&quot;&gt;Issued&lt;/dt&gt;
&lt;dd&gt;
&lt;time datetime=&quot;2023-03-04&quot;&gt;
March 4, 2023
&lt;/time&gt;
&lt;/dd&gt;
&lt;dt id=&quot;package&quot;&gt;Package&lt;/dt&gt;
&lt;dd&gt;
&lt;a href=&quot;/packages/maligned.html&quot;&gt;maligned&lt;/a&gt;
(&lt;a href=&quot;https://crates.io/crates/maligned&quot;&gt;crates.io&lt;/a&gt;)
&lt;/dd&gt;
&lt;dt id=&quot;type&quot;&gt;Type&lt;/dt&gt;
&lt;dd&gt;
&lt;span class=&quot;tag info&quot;&gt;INFO&lt;/span&gt;
Unsound
&lt;/dd&gt;
&lt;dt id=&quot;categories&quot;&gt;Categories&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;/categories/memory-corruption.html&quot;&gt;memory-corruption&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt id=&quot;keywords&quot;&gt;Keywords&lt;/dt&gt;
&lt;dd&gt;
&lt;a href=&quot;/keywords/unsound.html&quot;&gt;#unsound&lt;/a&gt;
&lt;a href=&quot;/keywords/alloc.html&quot;&gt;#alloc&lt;/a&gt;
&lt;a href=&quot;/keywords/align.html&quot;&gt;#align&lt;/a&gt;
&lt;/dd&gt;
&lt;dt id=&quot;details&quot;&gt;Details&lt;/dt&gt;
&lt;dd&gt;
&lt;a href=&quot;https://github.com/tylerhawkes/maligned/issues/5&quot;&gt;
https://github.com/tylerhawkes/maligned/issues/5
&lt;/a&gt;
&lt;/dd&gt;
&lt;dt id=&quot;patched&quot;&gt;Patched&lt;/dt&gt;
&lt;dd&gt;
no patched versions
&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;Affected Functions&lt;/dt&gt;
&lt;dd&gt;Version&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;maligned::align_first&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;*&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;maligned::align_first_boxed&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;*&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;maligned::align_first_boxed_cloned&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;*&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;maligned::align_first_boxed_default&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;*&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;h3 id=&quot;description&quot;&gt;Description&lt;/h3&gt;
&lt;p&gt;&lt;code&gt;maligned::align_first&lt;/code&gt; manually allocates with an alignment larger than T, and then uses &lt;code&gt;Vec::from_raw_parts&lt;/code&gt; on that allocation to get a &lt;code&gt;Vec&amp;lt;T&amp;gt;&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://doc.rust-lang.org/std/alloc/trait.GlobalAlloc.html#tymethod.dealloc&quot;&gt;&lt;code&gt;GlobalAlloc::dealloc&lt;/code&gt;&lt;/a&gt; requires that the &lt;code&gt;layout&lt;/code&gt; argument must be the same layout that was used to allocate that block of memory.&lt;/p&gt;
&lt;p&gt;When deallocating, &lt;code&gt;Box&lt;/code&gt; and &lt;code&gt;Vec&lt;/code&gt; may not respect the specified alignment and can cause undefined behavior.&lt;/p&gt;
&lt;/article&gt;</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"> &lt;article&gt;
&lt;span class=&quot;floating-menu&quot;&gt;
&lt;a href=&quot;https://github.com/RustSec/advisory-db/commits/main/crates/remove_dir_all/RUSTSEC-2023-0018.md&quot;&gt;History&lt;/a&gt; ⋅
&lt;a href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/remove_dir_all/RUSTSEC-2023-0018.md&quot;&gt;Edit&lt;/a&gt;
&lt;/span&gt;
&lt;header&gt;
&lt;h1&gt;
RUSTSEC-2023-0018
&lt;/h1&gt;
&lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;Race Condition Enabling Link Following and Time-of-check Time-of-use (TOCTOU)&lt;/p&gt;
&lt;/span&gt;
&lt;/header&gt;
&lt;dl&gt;
&lt;dt id=&quot;reported&quot;&gt;Reported&lt;/dt&gt;
&lt;dd&gt;
&lt;time datetime=&quot;2023-02-24&quot;&gt;
February 24, 2023
&lt;/time&gt;
&lt;/dd&gt;
&lt;dt id=&quot;issued&quot;&gt;Issued&lt;/dt&gt;
&lt;dd&gt;
&lt;time datetime=&quot;2023-03-04&quot;&gt;
March 4, 2023
&lt;/time&gt;
&lt;/dd&gt;
&lt;dt id=&quot;package&quot;&gt;Package&lt;/dt&gt;
&lt;dd&gt;
&lt;a href=&quot;/packages/remove_dir_all.html&quot;&gt;remove_dir_all&lt;/a&gt;
(&lt;a href=&quot;https://crates.io/crates/remove_dir_all&quot;&gt;crates.io&lt;/a&gt;)
&lt;/dd&gt;
&lt;dt id=&quot;type&quot;&gt;Type&lt;/dt&gt;
&lt;dd&gt;
Vulnerability
&lt;/dd&gt;
&lt;dt id=&quot;keywords&quot;&gt;Keywords&lt;/dt&gt;
&lt;dd&gt;
&lt;a href=&quot;/keywords/TOCTOU.html&quot;&gt;#TOCTOU&lt;/a&gt;
&lt;/dd&gt;
&lt;dt id=&quot;aliases&quot;&gt;Aliases&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href=&quot;https://github.com/advisories/GHSA-mc8h-8q98-g5hr&quot;&gt;GHSA-mc8h-8q98-g5hr&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt id=&quot;details&quot;&gt;Details&lt;/dt&gt;
&lt;dd&gt;
&lt;a href=&quot;https://github.com/XAMPPRocky/remove_dir_all/commit/7247a8b6ee59fc99bbb69ca6b3ca4bfd8c809ead&quot;&gt;
https://github.com/XAMPPRocky/remove_dir_all/commit/7247a8b6ee59fc99bbb69ca6b3ca4bfd8c809ead
&lt;/a&gt;
&lt;/dd&gt;
&lt;dt id=&quot;patched&quot;&gt;Patched&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;gt;=0.8.0&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;Affected Functions&lt;/dt&gt;
&lt;dd&gt;Version&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;remove_dir_all::ensure_empty_dir&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;lt;0.8.0&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;remove_dir_all::remove_dir_all&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;lt;0.8.0&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;remove_dir_all::remove_dir_contents&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;lt;0.8.0&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;h3 id=&quot;description&quot;&gt;Description&lt;/h3&gt;
&lt;p&gt;The remove_dir_all crate is a Rust library that offers additional features over the Rust
standard library fs::remove_dir_all function.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;For instance, consider deleting a tree called &apos;etc&apos; in a parent directory
called &apos;p&apos;. Between calling &lt;code&gt;remove_dir_all(&amp;quot;a&amp;quot;)&lt;/code&gt; and remove_dir_all(&amp;quot;a&amp;quot;)
actually starting its work, the attacker can move &apos;p&apos; to &apos;p-prime&apos;, and
replace &apos;p&apos; with a symlink to &apos;/&apos;. Then the privileged process deletes &apos;p/etc&apos;
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.&lt;/p&gt;
&lt;p&gt;The same attack could be performed at any point in the directory tree being
deleted: if &apos;a&apos; contains a child directory called &apos;etc&apos;, attacking the
deletion by replacing &apos;a&apos; with a link is possible.&lt;/p&gt;
&lt;p&gt;The new code in this release mitigates the attack within the directory tree
being deleted by using file-handle relative operations: to open &apos;a/etc&apos;, the
path &apos;etc&apos; relative to &apos;a&apos; is opened, where &apos;a&apos; 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.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;The new extension trait &lt;code&gt;RemoveDir&lt;/code&gt; provides an interface where it is much
harder to get it wrong.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;somedir.remove_dir_contents(&amp;quot;name-of-child&amp;quot;)&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Callers can then make their own security evaluation about how to securely get
a directory handle. That is still not particularly obvious, and we&apos;re going to
follow up with a helper of some sort (probably in the &lt;code&gt;fs_at&lt;/code&gt; crate). Once
that is available, the path based entry points will get deprecated.&lt;/p&gt;
&lt;p&gt;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 &lt;code&gt;std::fs::remove_dir_all&lt;/code&gt;
offers, and an unprivileged process running in an attacker controlled
directory can&apos;t do anything that the attacker can&apos;t already do.&lt;/p&gt;
&lt;/article&gt;</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"> &lt;article&gt;
&lt;span class=&quot;floating-menu&quot;&gt;
&lt;a href=&quot;https://github.com/RustSec/advisory-db/commits/main/crates/tauri/RUSTSEC-2022-0091.md&quot;&gt;History&lt;/a&gt; ⋅
&lt;a href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/tauri/RUSTSEC-2022-0091.md&quot;&gt;Edit&lt;/a&gt;
&lt;/span&gt;
&lt;header&gt;
&lt;h1&gt;
RUSTSEC-2022-0091
&lt;/h1&gt;
&lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;&lt;code&gt;tauri&lt;/code&gt; filesystem scope partial bypass&lt;/p&gt;
&lt;/span&gt;
&lt;/header&gt;
&lt;dl&gt;
&lt;dt id=&quot;reported&quot;&gt;Reported&lt;/dt&gt;
&lt;dd&gt;
&lt;time datetime=&quot;2022-09-19&quot;&gt;
September 19, 2022
&lt;/time&gt;
&lt;/dd&gt;
&lt;dt id=&quot;issued&quot;&gt;Issued&lt;/dt&gt;
&lt;dd&gt;
&lt;time datetime=&quot;2023-02-25&quot;&gt;
February 25, 2023
&lt;/time&gt;
&lt;/dd&gt;
&lt;dt id=&quot;package&quot;&gt;Package&lt;/dt&gt;
&lt;dd&gt;
&lt;a href=&quot;/packages/tauri.html&quot;&gt;tauri&lt;/a&gt;
(&lt;a href=&quot;https://crates.io/crates/tauri&quot;&gt;crates.io&lt;/a&gt;)
&lt;/dd&gt;
&lt;dt id=&quot;type&quot;&gt;Type&lt;/dt&gt;
&lt;dd&gt;
Vulnerability
&lt;/dd&gt;
&lt;dt id=&quot;categories&quot;&gt;Categories&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;/categories/privilege-escalation.html&quot;&gt;privilege-escalation&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt id=&quot;aliases&quot;&gt;Aliases&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href=&quot;https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-41874&quot;&gt;CVE-2022-41874&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&quot;https://github.com/advisories/GHSA-q9wv-22m9-vhqh&quot;&gt;GHSA-q9wv-22m9-vhqh&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt id=&quot;details&quot;&gt;Details&lt;/dt&gt;
&lt;dd&gt;
&lt;a href=&quot;https://github.com/tauri-apps/tauri/issues/5234&quot;&gt;
https://github.com/tauri-apps/tauri/issues/5234
&lt;/a&gt;
&lt;/dd&gt;
&lt;dt id=&quot;cvss_score&quot;&gt;CVSS Score&lt;/dt&gt;
&lt;dd&gt;2.3 &lt;span class=&quot;tag low&quot;&gt;
LOW
&lt;/span&gt;&lt;/dd&gt;
&lt;dt id=&quot;cvss_details&quot;&gt;CVSS Details&lt;/dt&gt;
&lt;dd&gt;
&lt;dl&gt;
&lt;dt&gt;Attack vector&lt;/dt&gt;&lt;dd&gt;Local&lt;/dd&gt;
&lt;dt&gt;Attack complexity&lt;/dt&gt;&lt;dd&gt;High&lt;/d&gt;
&lt;dt&gt;Privileges required&lt;/dt&gt;&lt;dd&gt;High&lt;/dd&gt;
&lt;dt&gt;User interaction&lt;/dt&gt;&lt;dd&gt;Required&lt;/dd&gt;
&lt;dt&gt;Scope&lt;/dt&gt;&lt;dd&gt;Changed&lt;/dd&gt;
&lt;dt&gt;Confidentiality&lt;/dt&gt;&lt;dd&gt;Low&lt;/dd&gt;
&lt;dt&gt;Integrity&lt;/dt&gt;&lt;dd&gt;None&lt;/dd&gt;
&lt;dt&gt;Availability&lt;/dt&gt;&lt;dd&gt;None&lt;/dd&gt;
&lt;/dl&gt;
&lt;/dd&gt;
&lt;dt id=&quot;cvss&quot;&gt;CVSS Vector&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;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&quot;&gt;CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:L/I:N/A:N&lt;/a&gt;&lt;/dd&gt;
&lt;dt id=&quot;patched&quot;&gt;Patched&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;gt;=1.0.7, &amp;lt;1.1.0&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&amp;gt;=1.1.2&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt id=&quot;unaffected&quot;&gt;Unaffected&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;lt;1.0.0&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;h3 id=&quot;description&quot;&gt;Description&lt;/h3&gt;
&lt;p&gt;A bug identified in &lt;a href=&quot;https://github.com/tauri-apps/tauri/issues/5234&quot;&gt;this&lt;/a&gt; issue allows a partial filesystem scope bypass if glob characters are used within file dialog or drag-and-drop functionalities.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://github.com/tauri-apps/tauri/pull/5237&quot;&gt;This&lt;/a&gt; PR fixes the issue by escaping glob characters.&lt;/p&gt;
&lt;/article&gt;</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"> &lt;article&gt;
&lt;span class=&quot;floating-menu&quot;&gt;
&lt;a href=&quot;https://github.com/RustSec/advisory-db/commits/main/crates/ascii/RUSTSEC-2023-0015.md&quot;&gt;History&lt;/a&gt; ⋅
&lt;a href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/ascii/RUSTSEC-2023-0015.md&quot;&gt;Edit&lt;/a&gt;
&lt;/span&gt;
&lt;header&gt;
&lt;h1&gt;
RUSTSEC-2023-0015
&lt;/h1&gt;
&lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;Ascii allows out-of-bounds array indexing in safe code&lt;/p&gt;
&lt;/span&gt;
&lt;/header&gt;
&lt;dl&gt;
&lt;dt id=&quot;reported&quot;&gt;Reported&lt;/dt&gt;
&lt;dd&gt;
&lt;time datetime=&quot;2023-02-25&quot;&gt;
February 25, 2023
&lt;/time&gt;
&lt;/dd&gt;
&lt;dt id=&quot;issued&quot;&gt;Issued&lt;/dt&gt;
&lt;dd&gt;
&lt;time datetime=&quot;2023-02-25&quot;&gt;
February 25, 2023
&lt;/time&gt;
&lt;/dd&gt;
&lt;dt id=&quot;package&quot;&gt;Package&lt;/dt&gt;
&lt;dd&gt;
&lt;a href=&quot;/packages/ascii.html&quot;&gt;ascii&lt;/a&gt;
(&lt;a href=&quot;https://crates.io/crates/ascii&quot;&gt;crates.io&lt;/a&gt;)
&lt;/dd&gt;
&lt;dt id=&quot;type&quot;&gt;Type&lt;/dt&gt;
&lt;dd&gt;
&lt;span class=&quot;tag info&quot;&gt;INFO&lt;/span&gt;
Unsound
&lt;/dd&gt;
&lt;dt id=&quot;categories&quot;&gt;Categories&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;/categories/memory-corruption.html&quot;&gt;memory-corruption&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt id=&quot;keywords&quot;&gt;Keywords&lt;/dt&gt;
&lt;dd&gt;
&lt;a href=&quot;/keywords/ascii.html&quot;&gt;#ascii&lt;/a&gt;
&lt;/dd&gt;
&lt;dt id=&quot;details&quot;&gt;Details&lt;/dt&gt;
&lt;dd&gt;
&lt;a href=&quot;https://github.com/tomprogrammer/rust-ascii/issues/64&quot;&gt;
https://github.com/tomprogrammer/rust-ascii/issues/64
&lt;/a&gt;
&lt;/dd&gt;
&lt;dt id=&quot;patched&quot;&gt;Patched&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;gt;=0.9.3&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt id=&quot;unaffected&quot;&gt;Unaffected&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;lt;=0.6.0&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;h3 id=&quot;description&quot;&gt;Description&lt;/h3&gt;
&lt;p&gt;Affected version of this crate had implementation of &lt;code&gt;From&amp;lt;&amp;amp;mut AsciiStr&amp;gt;&lt;/code&gt; for &lt;code&gt;&amp;amp;mut [u8]&lt;/code&gt; and &lt;code&gt;&amp;amp;mut str&lt;/code&gt;. This can result in out-of-bounds array indexing in safe code.&lt;/p&gt;
&lt;p&gt;The flaw was corrected in commit &lt;a href=&quot;https://github.com/tomprogrammer/rust-ascii/pull/63/commits/8a6c7798c202766bd57d70fb8d12739dd68fb9dc&quot;&gt;8a6c779&lt;/a&gt; by removing those impls.&lt;/p&gt;
&lt;/article&gt;</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"> &lt;article&gt;
&lt;span class=&quot;floating-menu&quot;&gt;
&lt;a href=&quot;https://github.com/RustSec/advisory-db/commits/main/crates/partial_sort/RUSTSEC-2023-0016.md&quot;&gt;History&lt;/a&gt; ⋅
&lt;a href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/partial_sort/RUSTSEC-2023-0016.md&quot;&gt;Edit&lt;/a&gt;
&lt;/span&gt;
&lt;header&gt;
&lt;h1&gt;
RUSTSEC-2023-0016
&lt;/h1&gt;
&lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;Possible out-of-bounds read in release mode&lt;/p&gt;
&lt;/span&gt;
&lt;/header&gt;
&lt;dl&gt;
&lt;dt id=&quot;reported&quot;&gt;Reported&lt;/dt&gt;
&lt;dd&gt;
&lt;time datetime=&quot;2023-02-20&quot;&gt;
February 20, 2023
&lt;/time&gt;
&lt;/dd&gt;
&lt;dt id=&quot;issued&quot;&gt;Issued&lt;/dt&gt;
&lt;dd&gt;
&lt;time datetime=&quot;2023-02-25&quot;&gt;
February 25, 2023
&lt;/time&gt;
&lt;/dd&gt;
&lt;dt id=&quot;package&quot;&gt;Package&lt;/dt&gt;
&lt;dd&gt;
&lt;a href=&quot;/packages/partial_sort.html&quot;&gt;partial_sort&lt;/a&gt;
(&lt;a href=&quot;https://crates.io/crates/partial_sort&quot;&gt;crates.io&lt;/a&gt;)
&lt;/dd&gt;
&lt;dt id=&quot;type&quot;&gt;Type&lt;/dt&gt;
&lt;dd&gt;
&lt;span class=&quot;tag info&quot;&gt;INFO&lt;/span&gt;
Unsound
&lt;/dd&gt;
&lt;dt id=&quot;categories&quot;&gt;Categories&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;/categories/memory-exposure.html&quot;&gt;memory-exposure&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt id=&quot;keywords&quot;&gt;Keywords&lt;/dt&gt;
&lt;dd&gt;
&lt;a href=&quot;/keywords/out-of-bounds-read.html&quot;&gt;#out-of-bounds-read&lt;/a&gt;
&lt;/dd&gt;
&lt;dt id=&quot;details&quot;&gt;Details&lt;/dt&gt;
&lt;dd&gt;
&lt;a href=&quot;https://github.com/sundy-li/partial_sort/issues/7&quot;&gt;
https://github.com/sundy-li/partial_sort/issues/7
&lt;/a&gt;
&lt;/dd&gt;
&lt;dt id=&quot;patched&quot;&gt;Patched&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;gt;=0.2.0&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;h3 id=&quot;description&quot;&gt;Description&lt;/h3&gt;
&lt;p&gt;Affected versions of this crate were using a debug assertion to validate the
&lt;code&gt;last&lt;/code&gt; parameter of &lt;code&gt;partial_sort()&lt;/code&gt;. This would allow invalid inputs to cause
an out-of-bounds read instead of immediately panicking, when compiled without
debug assertions.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;The accessible region is further limited by an initial bounds-checked read
at &lt;code&gt;(last / 2) - 1&lt;/code&gt;, i.e., it is proportional to the size of the vector.&lt;/p&gt;
&lt;p&gt;This bug has been fixed in v0.2.0.&lt;/p&gt;
&lt;/article&gt;</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"> &lt;article&gt;
&lt;span class=&quot;floating-menu&quot;&gt;
&lt;a href=&quot;https://github.com/RustSec/advisory-db/commits/main/crates/libsqlite3-sys/RUSTSEC-2022-0090.md&quot;&gt;History&lt;/a&gt; ⋅
&lt;a href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/libsqlite3-sys/RUSTSEC-2022-0090.md&quot;&gt;Edit&lt;/a&gt;
&lt;/span&gt;
&lt;header&gt;
&lt;h1&gt;
RUSTSEC-2022-0090
&lt;/h1&gt;
&lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;&lt;code&gt;libsqlite3-sys&lt;/code&gt; via C SQLite CVE-2022-35737&lt;/p&gt;
&lt;/span&gt;
&lt;/header&gt;
&lt;dl&gt;
&lt;dt id=&quot;reported&quot;&gt;Reported&lt;/dt&gt;
&lt;dd&gt;
&lt;time datetime=&quot;2022-08-03&quot;&gt;
August 3, 2022
&lt;/time&gt;
&lt;/dd&gt;
&lt;dt id=&quot;issued&quot;&gt;Issued&lt;/dt&gt;
&lt;dd&gt;
&lt;time datetime=&quot;2023-02-14&quot;&gt;
February 14, 2023
&lt;/time&gt;
&lt;/dd&gt;
&lt;dt id=&quot;package&quot;&gt;Package&lt;/dt&gt;
&lt;dd&gt;
&lt;a href=&quot;/packages/libsqlite3-sys.html&quot;&gt;libsqlite3-sys&lt;/a&gt;
(&lt;a href=&quot;https://crates.io/crates/libsqlite3-sys&quot;&gt;crates.io&lt;/a&gt;)
&lt;/dd&gt;
&lt;dt id=&quot;type&quot;&gt;Type&lt;/dt&gt;
&lt;dd&gt;
Vulnerability
&lt;/dd&gt;
&lt;dt id=&quot;categories&quot;&gt;Categories&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;/categories/denial-of-service.html&quot;&gt;denial-of-service&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;/categories/code-execution.html&quot;&gt;code-execution&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt id=&quot;aliases&quot;&gt;Aliases&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href=&quot;https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-35737&quot;&gt;CVE-2022-35737&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt id=&quot;details&quot;&gt;Details&lt;/dt&gt;
&lt;dd&gt;
&lt;a href=&quot;https://nvd.nist.gov/vuln/detail/CVE-2022-35737&quot;&gt;
https://nvd.nist.gov/vuln/detail/CVE-2022-35737
&lt;/a&gt;
&lt;/dd&gt;
&lt;dt id=&quot;cvss_score&quot;&gt;CVSS Score&lt;/dt&gt;
&lt;dd&gt;7.5 &lt;span class=&quot;tag high&quot;&gt;
HIGH
&lt;/span&gt;&lt;/dd&gt;
&lt;dt id=&quot;cvss_details&quot;&gt;CVSS Details&lt;/dt&gt;
&lt;dd&gt;
&lt;dl&gt;
&lt;dt&gt;Attack vector&lt;/dt&gt;&lt;dd&gt;Network&lt;/dd&gt;
&lt;dt&gt;Attack complexity&lt;/dt&gt;&lt;dd&gt;Low&lt;/d&gt;
&lt;dt&gt;Privileges required&lt;/dt&gt;&lt;dd&gt;None&lt;/dd&gt;
&lt;dt&gt;User interaction&lt;/dt&gt;&lt;dd&gt;None&lt;/dd&gt;
&lt;dt&gt;Scope&lt;/dt&gt;&lt;dd&gt;Unchanged&lt;/dd&gt;
&lt;dt&gt;Confidentiality&lt;/dt&gt;&lt;dd&gt;None&lt;/dd&gt;
&lt;dt&gt;Integrity&lt;/dt&gt;&lt;dd&gt;None&lt;/dd&gt;
&lt;dt&gt;Availability&lt;/dt&gt;&lt;dd&gt;High&lt;/dd&gt;
&lt;/dl&gt;
&lt;/dd&gt;
&lt;dt id=&quot;cvss&quot;&gt;CVSS Vector&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;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&quot;&gt;CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H&lt;/a&gt;&lt;/dd&gt;
&lt;dt id=&quot;patched&quot;&gt;Patched&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;gt;=0.25.1&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;h3 id=&quot;description&quot;&gt;Description&lt;/h3&gt;
&lt;p&gt;It was sometimes possible for SQLite versions &amp;gt;= 1.0.12, &amp;lt; 3.39.2 to allow an array-bounds overflow when large string were input into SQLite&apos;s &lt;code&gt;printf&lt;/code&gt; function.&lt;/p&gt;
&lt;p&gt;As &lt;code&gt;libsqlite3-sys&lt;/code&gt; bundles SQLite, it is susceptible to the vulnerability. &lt;code&gt;libsqlite3-sys&lt;/code&gt; was updated to bundle the patched version of SQLite &lt;a href=&quot;https://github.com/rusqlite/rusqlite/releases/tag/sys0.25.1&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;/article&gt;</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"> &lt;article&gt;
&lt;span class=&quot;floating-menu&quot;&gt;
&lt;a href=&quot;https://github.com/RustSec/advisory-db/commits/main/crates/cortex-m-rt/RUSTSEC-2023-0014.md&quot;&gt;History&lt;/a&gt; ⋅
&lt;a href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/cortex-m-rt/RUSTSEC-2023-0014.md&quot;&gt;Edit&lt;/a&gt;
&lt;/span&gt;
&lt;header&gt;
&lt;h1&gt;
RUSTSEC-2023-0014
&lt;/h1&gt;
&lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;Miscompilation in cortex-m-rt 0.7.1 and 0.7.2&lt;/p&gt;
&lt;/span&gt;
&lt;/header&gt;
&lt;dl&gt;
&lt;dt id=&quot;reported&quot;&gt;Reported&lt;/dt&gt;
&lt;dd&gt;
&lt;time datetime=&quot;2023-02-13&quot;&gt;
February 13, 2023
&lt;/time&gt;
&lt;/dd&gt;
&lt;dt id=&quot;issued&quot;&gt;Issued&lt;/dt&gt;
&lt;dd&gt;
&lt;time datetime=&quot;2023-02-14&quot;&gt;
February 14, 2023
&lt;/time&gt;
&lt;/dd&gt;
&lt;dt id=&quot;package&quot;&gt;Package&lt;/dt&gt;
&lt;dd&gt;
&lt;a href=&quot;/packages/cortex-m-rt.html&quot;&gt;cortex-m-rt&lt;/a&gt;
(&lt;a href=&quot;https://crates.io/crates/cortex-m-rt&quot;&gt;crates.io&lt;/a&gt;)
&lt;/dd&gt;
&lt;dt id=&quot;type&quot;&gt;Type&lt;/dt&gt;
&lt;dd&gt;
&lt;span class=&quot;tag info&quot;&gt;INFO&lt;/span&gt;
Unsound
&lt;/dd&gt;
&lt;dt id=&quot;details&quot;&gt;Details&lt;/dt&gt;
&lt;dd&gt;
&lt;a href=&quot;https://github.com/rust-embedded/cortex-m/discussions/469&quot;&gt;
https://github.com/rust-embedded/cortex-m/discussions/469
&lt;/a&gt;
&lt;/dd&gt;
&lt;dt id=&quot;patched&quot;&gt;Patched&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;gt;=0.7.3&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt id=&quot;unaffected&quot;&gt;Unaffected&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;lt;=0.7.0&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;h3 id=&quot;description&quot;&gt;Description&lt;/h3&gt;
&lt;p&gt;Version 0.7.1 of the &lt;code&gt;cortex-m-rt&lt;/code&gt; crate introduced a regression causing the stack to NOT be eight-byte aligned prior to calling &lt;code&gt;main&lt;/code&gt; (or any other specified entrypoint), violating the &lt;a href=&quot;https://github.com/ARM-software/abi-aa/blob/edd7460d87493fff124b8b5713acf71ffc06ee91/aapcs32/aapcs32.rst#6212stack-constraints-at-a-public-interface&quot;&gt;stack ABI of AAPCS32&lt;/a&gt;, the default ABI used by all Cortex-M targets. This regression is also present in version 0.7.2 of the &lt;code&gt;cortex-m-rt&lt;/code&gt; crate.&lt;/p&gt;
&lt;p&gt;This regression can cause certain compiler optimizations (which assume the eight-byte alignment) to produce incorrect behavior at runtime. This incorrect behavior has been &lt;a href=&quot;https://github.com/peter9477/test2&quot;&gt;observed in real-world applications&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;It is advised that ALL users of &lt;code&gt;v0.7.1&lt;/code&gt; and &lt;code&gt;v0.7.2&lt;/code&gt; of the &lt;code&gt;cortex-m-rt&lt;/code&gt; crate update to the latest version (&lt;code&gt;v0.7.3&lt;/code&gt;), AS SOON AS POSSIBLE.&lt;/strong&gt; Users of &lt;code&gt;v0.7.0&lt;/code&gt; and prior versions of &lt;code&gt;cortex-m-rt&lt;/code&gt; are not affected by this regression.&lt;/p&gt;
&lt;p&gt;It will be necessary to rebuild all affected firmware binaries, and flash or deploy the new firmware binaries to affected devices.&lt;/p&gt;
&lt;/article&gt;</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"> &lt;article&gt;
&lt;span class=&quot;floating-menu&quot;&gt;
&lt;a href=&quot;https://github.com/RustSec/advisory-db/commits/main/crates/pnet_packet/RUSTSEC-2020-0167.md&quot;&gt;History&lt;/a&gt; ⋅
&lt;a href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/pnet_packet/RUSTSEC-2020-0167.md&quot;&gt;Edit&lt;/a&gt;
&lt;/span&gt;
&lt;header&gt;
&lt;h1&gt;
RUSTSEC-2020-0167
&lt;/h1&gt;
&lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;&lt;code&gt;pnet_packet&lt;/code&gt; buffer overrun in &lt;code&gt;set_payload&lt;/code&gt; setters&lt;/p&gt;
&lt;/span&gt;
&lt;/header&gt;
&lt;dl&gt;
&lt;dt id=&quot;reported&quot;&gt;Reported&lt;/dt&gt;
&lt;dd&gt;
&lt;time datetime=&quot;2020-06-19&quot;&gt;
June 19, 2020
&lt;/time&gt;
&lt;/dd&gt;
&lt;dt id=&quot;issued&quot;&gt;Issued&lt;/dt&gt;
&lt;dd&gt;
&lt;time datetime=&quot;2023-02-09&quot;&gt;
February 9, 2023
&lt;/time&gt;
&lt;/dd&gt;
&lt;dt id=&quot;package&quot;&gt;Package&lt;/dt&gt;
&lt;dd&gt;
&lt;a href=&quot;/packages/pnet_packet.html&quot;&gt;pnet_packet&lt;/a&gt;
(&lt;a href=&quot;https://crates.io/crates/pnet_packet&quot;&gt;crates.io&lt;/a&gt;)
&lt;/dd&gt;
&lt;dt id=&quot;type&quot;&gt;Type&lt;/dt&gt;
&lt;dd&gt;
Vulnerability
&lt;/dd&gt;
&lt;dt id=&quot;categories&quot;&gt;Categories&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;/categories/memory-corruption.html&quot;&gt;memory-corruption&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt id=&quot;details&quot;&gt;Details&lt;/dt&gt;
&lt;dd&gt;
&lt;a href=&quot;https://github.com/libpnet/libpnet/issues/449&quot;&gt;
https://github.com/libpnet/libpnet/issues/449
&lt;/a&gt;
&lt;/dd&gt;
&lt;dt id=&quot;cvss_score&quot;&gt;CVSS Score&lt;/dt&gt;
&lt;dd&gt;6 &lt;span class=&quot;tag medium&quot;&gt;
MEDIUM
&lt;/span&gt;&lt;/dd&gt;
&lt;dt id=&quot;cvss_details&quot;&gt;CVSS Details&lt;/dt&gt;
&lt;dd&gt;
&lt;dl&gt;
&lt;dt&gt;Attack vector&lt;/dt&gt;&lt;dd&gt;Local&lt;/dd&gt;
&lt;dt&gt;Attack complexity&lt;/dt&gt;&lt;dd&gt;Low&lt;/d&gt;
&lt;dt&gt;Privileges required&lt;/dt&gt;&lt;dd&gt;High&lt;/dd&gt;
&lt;dt&gt;User interaction&lt;/dt&gt;&lt;dd&gt;None&lt;/dd&gt;
&lt;dt&gt;Scope&lt;/dt&gt;&lt;dd&gt;Unchanged&lt;/dd&gt;
&lt;dt&gt;Confidentiality&lt;/dt&gt;&lt;dd&gt;None&lt;/dd&gt;
&lt;dt&gt;Integrity&lt;/dt&gt;&lt;dd&gt;High&lt;/dd&gt;
&lt;dt&gt;Availability&lt;/dt&gt;&lt;dd&gt;High&lt;/dd&gt;
&lt;/dl&gt;
&lt;/dd&gt;
&lt;dt id=&quot;cvss&quot;&gt;CVSS Vector&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;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&quot;&gt;CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H&lt;/a&gt;&lt;/dd&gt;
&lt;dt id=&quot;patched&quot;&gt;Patched&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;gt;=0.27.2&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;h3 id=&quot;description&quot;&gt;Description&lt;/h3&gt;
&lt;p&gt;As indicated by this &lt;a href=&quot;https://github.com/libpnet/libpnet/issues/449#issuecomment-663355987&quot;&gt;issue&lt;/a&gt;, a buffer overrun is possible in the &lt;code&gt;set_payload&lt;/code&gt; setter of the various mutable &amp;quot;Packet&amp;quot; struct setters. The offending &lt;code&gt;set_payload&lt;/code&gt; functions were defined within the struct &lt;code&gt;impl&lt;/code&gt; blocks in earlier versions of the package, and later by the &lt;code&gt;packet&lt;/code&gt; macro.&lt;/p&gt;
&lt;p&gt;Fixed in the &lt;code&gt;packet&lt;/code&gt; macro by &lt;a href=&quot;https://github.com/libpnet/libpnet/pull/455&quot;&gt;this&lt;/a&gt; PR.&lt;/p&gt;
&lt;/article&gt;</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"> &lt;article&gt;
&lt;span class=&quot;floating-menu&quot;&gt;
&lt;a href=&quot;https://github.com/RustSec/advisory-db/commits/main/crates/openssl-src/RUSTSEC-2023-0011.md&quot;&gt;History&lt;/a&gt; ⋅
&lt;a href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/openssl-src/RUSTSEC-2023-0011.md&quot;&gt;Edit&lt;/a&gt;
&lt;/span&gt;
&lt;header&gt;
&lt;h1&gt;
RUSTSEC-2023-0011
&lt;/h1&gt;
&lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;Invalid pointer dereference in &lt;code&gt;d2i_PKCS7&lt;/code&gt; functions&lt;/p&gt;
&lt;/span&gt;
&lt;/header&gt;
&lt;dl&gt;
&lt;dt id=&quot;reported&quot;&gt;Reported&lt;/dt&gt;
&lt;dd&gt;
&lt;time datetime=&quot;2023-02-07&quot;&gt;
February 7, 2023
&lt;/time&gt;
&lt;/dd&gt;
&lt;dt id=&quot;issued&quot;&gt;Issued&lt;/dt&gt;
&lt;dd&gt;
&lt;time datetime=&quot;2023-02-07&quot;&gt;
February 7, 2023
&lt;/time&gt;
&lt;/dd&gt;
&lt;dt id=&quot;package&quot;&gt;Package&lt;/dt&gt;
&lt;dd&gt;
&lt;a href=&quot;/packages/openssl-src.html&quot;&gt;openssl-src&lt;/a&gt;
(&lt;a href=&quot;https://crates.io/crates/openssl-src&quot;&gt;crates.io&lt;/a&gt;)
&lt;/dd&gt;
&lt;dt id=&quot;type&quot;&gt;Type&lt;/dt&gt;
&lt;dd&gt;
Vulnerability
&lt;/dd&gt;
&lt;dt id=&quot;categories&quot;&gt;Categories&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;/categories/denial-of-service.html&quot;&gt;denial-of-service&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt id=&quot;aliases&quot;&gt;Aliases&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href=&quot;https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-0216&quot;&gt;CVE-2023-0216&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt id=&quot;details&quot;&gt;Details&lt;/dt&gt;
&lt;dd&gt;
&lt;a href=&quot;https://www.openssl.org/news/secadv/20230207.txt&quot;&gt;
https://www.openssl.org/news/secadv/20230207.txt
&lt;/a&gt;
&lt;/dd&gt;
&lt;dt id=&quot;patched&quot;&gt;Patched&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;gt;=300.0.12&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt id=&quot;unaffected&quot;&gt;Unaffected&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;lt;300.0.0&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;h3 id=&quot;description&quot;&gt;Description&lt;/h3&gt;
&lt;p&gt;An invalid pointer dereference on read can be triggered when an
application tries to load malformed PKCS7 data with the
&lt;code&gt;d2i_PKCS7()&lt;/code&gt;, &lt;code&gt;d2i_PKCS7_bio()&lt;/code&gt; or &lt;code&gt;d2i_PKCS7_fp()&lt;/code&gt; functions.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;/article&gt;</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"> &lt;article&gt;
&lt;span class=&quot;floating-menu&quot;&gt;
&lt;a href=&quot;https://github.com/RustSec/advisory-db/commits/main/crates/openssl-src/RUSTSEC-2023-0006.md&quot;&gt;History&lt;/a&gt; ⋅
&lt;a href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/openssl-src/RUSTSEC-2023-0006.md&quot;&gt;Edit&lt;/a&gt;
&lt;/span&gt;
&lt;header&gt;
&lt;h1&gt;
RUSTSEC-2023-0006
&lt;/h1&gt;
&lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;X.400 address type confusion in X.509 &lt;code&gt;GeneralName&lt;/code&gt;&lt;/p&gt;
&lt;/span&gt;
&lt;/header&gt;
&lt;dl&gt;
&lt;dt id=&quot;reported&quot;&gt;Reported&lt;/dt&gt;
&lt;dd&gt;
&lt;time datetime=&quot;2023-02-07&quot;&gt;
February 7, 2023
&lt;/time&gt;
&lt;/dd&gt;
&lt;dt id=&quot;issued&quot;&gt;Issued&lt;/dt&gt;
&lt;dd&gt;
&lt;time datetime=&quot;2023-02-07&quot;&gt;
February 7, 2023
&lt;/time&gt;
&lt;/dd&gt;
&lt;dt id=&quot;package&quot;&gt;Package&lt;/dt&gt;
&lt;dd&gt;
&lt;a href=&quot;/packages/openssl-src.html&quot;&gt;openssl-src&lt;/a&gt;
(&lt;a href=&quot;https://crates.io/crates/openssl-src&quot;&gt;crates.io&lt;/a&gt;)
&lt;/dd&gt;
&lt;dt id=&quot;type&quot;&gt;Type&lt;/dt&gt;
&lt;dd&gt;
Vulnerability
&lt;/dd&gt;
&lt;dt id=&quot;categories&quot;&gt;Categories&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;/categories/denial-of-service.html&quot;&gt;denial-of-service&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;/categories/memory-exposure.html&quot;&gt;memory-exposure&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt id=&quot;aliases&quot;&gt;Aliases&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href=&quot;https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-0286&quot;&gt;CVE-2023-0286&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt id=&quot;details&quot;&gt;Details&lt;/dt&gt;
&lt;dd&gt;
&lt;a href=&quot;https://www.openssl.org/news/secadv/20230207.txt&quot;&gt;
https://www.openssl.org/news/secadv/20230207.txt
&lt;/a&gt;
&lt;/dd&gt;
&lt;dt id=&quot;patched&quot;&gt;Patched&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;gt;=111.25, &amp;lt;300.0&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&amp;gt;=300.0.12&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;h3 id=&quot;description&quot;&gt;Description&lt;/h3&gt;
&lt;p&gt;There is a type confusion vulnerability relating to X.400 address processing
inside an X.509 &lt;code&gt;GeneralName&lt;/code&gt;. X.400 addresses were parsed as an &lt;code&gt;ASN1_STRING&lt;/code&gt; but
the public structure definition for &lt;code&gt;GENERAL_NAME&lt;/code&gt; incorrectly specified the type
of the &lt;code&gt;x400Address&lt;/code&gt; field as &lt;code&gt;ASN1_TYPE&lt;/code&gt;. This field is subsequently interpreted by
the OpenSSL function &lt;code&gt;GENERAL_NAME_cmp&lt;/code&gt; as an &lt;code&gt;ASN1_TYPE&lt;/code&gt; rather than an
&lt;code&gt;ASN1_STRING&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;When CRL checking is enabled (i.e. the application sets the
&lt;code&gt;X509_V_FLAG_CRL_CHECK&lt;/code&gt; flag), this vulnerability may allow an attacker to pass
arbitrary pointers to a &lt;code&gt;memcmp&lt;/code&gt; 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.&lt;/p&gt;
&lt;/article&gt;</content></entry></feed>