Files
advisory-db/feed.xml
T
2023-02-25 17:11:44 +00:00

1399 lines
47 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-02-25T12: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-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><entry><title>RUSTSEC-2023-0009: Vulnerability in openssl-src</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0009.html</id><updated>2023-02-07T12:00:00+00:00</updated><category term="denial-of-service"/><link href="https://rustsec.org/advisories/RUSTSEC-2023-0009.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0009: Vulnerability in openssl-src"/><published>2023-02-07T12:00:00+00:00</published><summary xml:lang="en">Use-after-free following `BIO_new_NDEF`</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-0009.md&quot;&gt;History&lt;/a&gt; ⋅
&lt;a href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/openssl-src/RUSTSEC-2023-0009.md&quot;&gt;Edit&lt;/a&gt;
&lt;/span&gt;
&lt;header&gt;
&lt;h1&gt;
RUSTSEC-2023-0009
&lt;/h1&gt;
&lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;Use-after-free following &lt;code&gt;BIO_new_NDEF&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;/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-0215&quot;&gt;CVE-2023-0215&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;The public API function &lt;code&gt;BIO_new_NDEF&lt;/code&gt; is a helper function used for streaming
ASN.1 data via a &lt;code&gt;BIO&lt;/code&gt;. It is primarily used internally to OpenSSL to support the
SMIME, CMS and PKCS7 streaming capabilities, but may also be called directly by
end user applications.&lt;/p&gt;
&lt;p&gt;The function receives a &lt;code&gt;BIO&lt;/code&gt; from the caller, prepends a new &lt;code&gt;BIO_f_asn1&lt;/code&gt; filter
&lt;code&gt;BIO&lt;/code&gt; onto the front of it to form a &lt;code&gt;BIO&lt;/code&gt; chain, and then returns the new head of
the &lt;code&gt;BIO&lt;/code&gt; chain to the caller. Under certain conditions, for example if a CMS
recipient public key is invalid, the new filter &lt;code&gt;BIO&lt;/code&gt; is freed and the function
returns a &lt;code&gt;NULL&lt;/code&gt; result indicating a failure. However, in this case, the &lt;code&gt;BIO&lt;/code&gt; chain
is not properly cleaned up and the &lt;code&gt;BIO&lt;/code&gt; passed by the caller still retains
internal pointers to the previously freed filter &lt;code&gt;BIO&lt;/code&gt;. If the caller then goes on
to call &lt;code&gt;BIO_pop()&lt;/code&gt; on the &lt;code&gt;BIO&lt;/code&gt; then a use-after-free will occur. This will most
likely result in a crash.&lt;/p&gt;
&lt;p&gt;This scenario occurs directly in the internal function &lt;code&gt;B64_write_ASN1()&lt;/code&gt; which
may cause &lt;code&gt;BIO_new_NDEF()&lt;/code&gt; to be called and will subsequently call &lt;code&gt;BIO_pop()&lt;/code&gt; on
the &lt;code&gt;BIO&lt;/code&gt;. This internal function is in turn called by the public API functions
&lt;code&gt;PEM_write_bio_ASN1_stream&lt;/code&gt;, &lt;code&gt;PEM_write_bio_CMS_stream&lt;/code&gt;, &lt;code&gt;PEM_write_bio_PKCS7_stream&lt;/code&gt;,
&lt;code&gt;SMIME_write_ASN1&lt;/code&gt;, &lt;code&gt;SMIME_write_CMS&lt;/code&gt; and &lt;code&gt;SMIME_write_PKCS7&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Other public API functions that may be impacted by this include
&lt;code&gt;i2d_ASN1_bio_stream&lt;/code&gt;, &lt;code&gt;BIO_new_CMS&lt;/code&gt;, &lt;code&gt;BIO_new_PKCS7&lt;/code&gt;, &lt;code&gt;i2d_CMS_bio_stream&lt;/code&gt; and
&lt;code&gt;i2d_PKCS7_bio_stream&lt;/code&gt;.&lt;/p&gt;
&lt;/article&gt;</content></entry><entry><title>RUSTSEC-2023-0012: Vulnerability in openssl-src</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0012.html</id><updated>2023-02-07T12:00:00+00:00</updated><category term="denial-of-service"/><link href="https://rustsec.org/advisories/RUSTSEC-2023-0012.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0012: Vulnerability in openssl-src"/><published>2023-02-07T12:00:00+00:00</published><summary xml:lang="en">`NULL` dereference validating DSA public key</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-0012.md&quot;&gt;History&lt;/a&gt; ⋅
&lt;a href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/openssl-src/RUSTSEC-2023-0012.md&quot;&gt;Edit&lt;/a&gt;
&lt;/span&gt;
&lt;header&gt;
&lt;h1&gt;
RUSTSEC-2023-0012
&lt;/h1&gt;
&lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;&lt;code&gt;NULL&lt;/code&gt; dereference validating DSA public key&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-0217&quot;&gt;CVE-2023-0217&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 check a malformed DSA public key by the
&lt;code&gt;EVP_PKEY_public_check()&lt;/code&gt; function. This will most likely lead
to an application crash. This function can be called on public
keys supplied from untrusted sources which could allow an attacker
to cause a denial of service attack.&lt;/p&gt;
&lt;p&gt;The TLS implementation in OpenSSL does not call this function
but applications might call the function if there are additional
security requirements imposed by standards such as FIPS 140-3.&lt;/p&gt;
&lt;/article&gt;</content></entry></feed>