Files
advisory-db/feed.xml
T
2023-04-13 17:43:51 +00:00

1276 lines
41 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-04-13T12: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-0033: Unsoundness in borsh</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0033.html</id><updated>2023-04-13T12:00:00+00:00</updated><category term="memory-corruption"/><link href="https://rustsec.org/advisories/RUSTSEC-2023-0033.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0033: Unsoundness in borsh"/><published>2023-04-13T12:00:00+00:00</published><summary xml:lang="en">Parsing borsh messages with ZST which are not-copy/clone is unsound</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/borsh/RUSTSEC-2023-0033.md&quot;&gt;History&lt;/a&gt; ⋅
&lt;a href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/borsh/RUSTSEC-2023-0033.md&quot;&gt;Edit&lt;/a&gt;
&lt;/span&gt;
&lt;header&gt;
&lt;h1&gt;
RUSTSEC-2023-0033
&lt;/h1&gt;
&lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;Parsing borsh messages with ZST which are not-copy/clone is unsound&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-04-12&quot;&gt;
April 12, 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-04-13&quot;&gt;
April 13, 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/borsh.html&quot;&gt;borsh&lt;/a&gt;
(&lt;a href=&quot;https://crates.io/crates/borsh&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;details&quot;&gt;Details&lt;/dt&gt;
&lt;dd&gt;
&lt;a href=&quot;https://github.com/near/borsh-rs/issues/19&quot;&gt;
https://github.com/near/borsh-rs/issues/19
&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;h3 id=&quot;description&quot;&gt;Description&lt;/h3&gt;
&lt;p&gt;Affected versions of borsh cause undefined behavior when zero-sized-types (ZST)
are parsed and the Copy/Clone traits are not implemented/derived.
For instance if 1000 instances of a ZST are deserialized, and the ZST is not copy
(this can be achieved through a singleton), then accessing/writing to deserialized
data will cause a segmentation fault.&lt;/p&gt;
&lt;p&gt;There is currently no way for borsh to read data without also providing a Rust type.
Therefore, if not ZST are used for serialization, then you are not affected by this issue.&lt;/p&gt;
&lt;/article&gt;</content></entry><entry><title>RUSTSEC-2023-0032: Unsoundness in ntru</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0032.html</id><updated>2023-04-06T12:00:00+00:00</updated><category term="memory-corruption"/><link href="https://rustsec.org/advisories/RUSTSEC-2023-0032.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0032: Unsoundness in ntru"/><published>2023-04-06T12:00:00+00:00</published><summary xml:lang="en">Unsound FFI: Wrong API usage causes write past allocated area</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/ntru/RUSTSEC-2023-0032.md&quot;&gt;History&lt;/a&gt; ⋅
&lt;a href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/ntru/RUSTSEC-2023-0032.md&quot;&gt;Edit&lt;/a&gt;
&lt;/span&gt;
&lt;header&gt;
&lt;h1&gt;
RUSTSEC-2023-0032
&lt;/h1&gt;
&lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;Unsound FFI: Wrong API usage causes write past allocated area&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-22&quot;&gt;
March 22, 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-04-06&quot;&gt;
April 6, 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/ntru.html&quot;&gt;ntru&lt;/a&gt;
(&lt;a href=&quot;https://crates.io/crates/ntru&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/ffi.html&quot;&gt;#ffi&lt;/a&gt;
&lt;a href=&quot;/keywords/buffer-overflow.html&quot;&gt;#buffer-overflow&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/FrinkGlobal/ntru-rs/issues/8&quot;&gt;
https://github.com/FrinkGlobal/ntru-rs/issues/8
&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;ntru::types::PrivateKey::export&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;gt;=0.4.3&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;ntru::types::PublicKey::export&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;gt;=0.4.3&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 following usage causes undefined behavior.&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-rust&quot;&gt;let kp: ntru::types::KeyPair = …;
kp.get_public().export(Default::default())
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;When compiled with debug assertions, the code above will trigger a &lt;code&gt;attempt to subtract with overflow&lt;/code&gt; panic before UB occurs.
Other mistakes (e.g. using &lt;code&gt;EncParams&lt;/code&gt; from a different key) may always trigger UB.&lt;/p&gt;
&lt;p&gt;Likely, older versions of this crate are also affected, but have not been tested.&lt;/p&gt;
&lt;/article&gt;</content></entry><entry><title>RUSTSEC-2023-0031: Unsoundness in spin</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0031.html</id><updated>2023-04-03T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2023-0031.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0031: Unsoundness in spin"/><published>2023-04-03T12:00:00+00:00</published><summary xml:lang="en">Initialisation failure in `Once::try_call_once` can lead to undefined behaviour for other initialisers</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/spin/RUSTSEC-2023-0031.md&quot;&gt;History&lt;/a&gt; ⋅
&lt;a href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/spin/RUSTSEC-2023-0031.md&quot;&gt;Edit&lt;/a&gt;
&lt;/span&gt;
&lt;header&gt;
&lt;h1&gt;
RUSTSEC-2023-0031
&lt;/h1&gt;
&lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;Initialisation failure in &lt;code&gt;Once::try_call_once&lt;/code&gt; can lead to undefined behaviour for other initialisers&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-31&quot;&gt;
March 31, 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-04-03&quot;&gt;
April 3, 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/spin.html&quot;&gt;spin&lt;/a&gt;
(&lt;a href=&quot;https://crates.io/crates/spin&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/mvdnes/spin-rs/issues/148&quot;&gt;
https://github.com/mvdnes/spin-rs/issues/148
&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.8&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.9.3&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;Once::try_call_once&lt;/code&gt; is unsound if invoked more than once concurrently and any call fails to initialise successfully.&lt;/p&gt;
&lt;/article&gt;</content></entry><entry><title>RUSTSEC-2023-0030: Vulnerability in versionize</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0030.html</id><updated>2023-03-25T12:00:00+00:00</updated><category term="memory-exposure"/><link href="https://rustsec.org/advisories/RUSTSEC-2023-0030.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0030: Vulnerability in versionize"/><published>2023-03-25T12:00:00+00:00</published><summary xml:lang="en">`Versionize::deserialize` implementation for `FamStructWrapper&amp;lt;T&amp;gt;` is lacking bound checks, potentially leading to out of bounds memory accesses</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/versionize/RUSTSEC-2023-0030.md&quot;&gt;History&lt;/a&gt; ⋅
&lt;a href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/versionize/RUSTSEC-2023-0030.md&quot;&gt;Edit&lt;/a&gt;
&lt;/span&gt;
&lt;header&gt;
&lt;h1&gt;
RUSTSEC-2023-0030
&lt;/h1&gt;
&lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;&lt;code&gt;Versionize::deserialize&lt;/code&gt; implementation for &lt;code&gt;FamStructWrapper&amp;lt;T&amp;gt;&lt;/code&gt; is lacking bound checks, potentially leading to out of bounds memory accesses&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-24&quot;&gt;
March 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-25&quot;&gt;
March 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/versionize.html&quot;&gt;versionize&lt;/a&gt;
(&lt;a href=&quot;https://crates.io/crates/versionize&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-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://github.com/advisories/GHSA-8vxc-r5wp-vgvc&quot;&gt;GHSA-8vxc-r5wp-vgvc&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/firecracker-microvm/versionize/pull/53&quot;&gt;
https://github.com/firecracker-microvm/versionize/pull/53
&lt;/a&gt;
&lt;/dd&gt;
&lt;dt id=&quot;cvss_score&quot;&gt;CVSS Score&lt;/dt&gt;
&lt;dd&gt;5.7 &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;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;Changed&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;Low&lt;/dd&gt;
&lt;dt&gt;Availability&lt;/dt&gt;&lt;dd&gt;Low&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:L/PR:N/UI:N/S:C/C:N/I:L/A:L&quot;&gt;CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:L&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.1.10&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;Affected OSes&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;linux&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 issue was discovered in the &lt;code&gt;Versionize::deserialize&lt;/code&gt; implementation provided by the &lt;code&gt;versionize&lt;/code&gt; crate for &lt;code&gt;vmm_sys_util::fam::FamStructWrapper&lt;/code&gt;, which can lead to out of bounds memory accesses. The impact started with version 0.1.1. The issue was corrected in version 0.1.10 by inserting a check that verifies, for any deserialized header, the lengths of compared flexible arrays are equal and aborting deserialization otherwise.&lt;/p&gt;
&lt;/article&gt;</content></entry><entry><title>RUSTSEC-2023-0029: Vulnerability in nats</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0029.html</id><updated>2023-03-25T12:00:00+00:00</updated><category term="crypto-failure"/><link href="https://rustsec.org/advisories/RUSTSEC-2023-0029.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0029: Vulnerability in nats"/><published>2023-03-25T12:00:00+00:00</published><summary xml:lang="en">TLS certificate common name validation 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/nats/RUSTSEC-2023-0029.md&quot;&gt;History&lt;/a&gt; ⋅
&lt;a href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/nats/RUSTSEC-2023-0029.md&quot;&gt;Edit&lt;/a&gt;
&lt;/span&gt;
&lt;header&gt;
&lt;h1&gt;
RUSTSEC-2023-0029
&lt;/h1&gt;
&lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;TLS certificate common name validation 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;2023-03-24&quot;&gt;
March 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-25&quot;&gt;
March 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/nats.html&quot;&gt;nats&lt;/a&gt;
(&lt;a href=&quot;https://crates.io/crates/nats&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/crypto-failure.html&quot;&gt;crypto-failure&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/tls.html&quot;&gt;#tls&lt;/a&gt;
&lt;a href=&quot;/keywords/mitm.html&quot;&gt;#mitm&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;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.9.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 NATS official Rust clients are vulnerable to MitM when using TLS.&lt;/p&gt;
&lt;p&gt;A fix for the &lt;code&gt;nats&lt;/code&gt; crate hasn&apos;t been released yet. Since the &lt;code&gt;nats&lt;/code&gt; crate
is going to be deprecated anyway, consider switching to &lt;code&gt;async-nats&lt;/code&gt; &lt;code&gt;&amp;gt;= 0.29&lt;/code&gt;
which already fixed this vulnerability.&lt;/p&gt;
&lt;p&gt;The common name of the server&apos;s TLS certificate is validated against
the &lt;code&gt;host&lt;/code&gt;name provided by the server&apos;s plaintext &lt;code&gt;INFO&lt;/code&gt; message
during the initial connection setup phase. A MitM proxy can tamper with
the &lt;code&gt;host&lt;/code&gt; field&apos;s value by substituting it with the common name of a
valid certificate it controls, fooling the client into accepting it.&lt;/p&gt;
&lt;h2&gt;Reproduction steps&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;The NATS Rust client tries to establish a new connection&lt;/li&gt;
&lt;li&gt;The connection is intercepted by a MitM proxy&lt;/li&gt;
&lt;li&gt;The proxy makes a separate connection to the NATS server&lt;/li&gt;
&lt;li&gt;The NATS server replies with an &lt;code&gt;INFO&lt;/code&gt; message&lt;/li&gt;
&lt;li&gt;The proxy reads the &lt;code&gt;INFO&lt;/code&gt;, alters the &lt;code&gt;host&lt;/code&gt; JSON field and passes
the tampered &lt;code&gt;INFO&lt;/code&gt; back to the client&lt;/li&gt;
&lt;li&gt;The proxy upgrades the client connection to TLS, presenting a certificate issued
by a certificate authority present in the client&apos;s keychain.
In the previous step the &lt;code&gt;host&lt;/code&gt; was set to the common name of said certificate&lt;/li&gt;
&lt;li&gt;&lt;code&gt;rustls&lt;/code&gt; accepts the certificate, having verified that the common name matches the
attacker-controlled value it was given&lt;/li&gt;
&lt;li&gt;The client has been fooled by the MitM proxy into accepting the attacker-controlled certificate&lt;/li&gt;
&lt;/ol&gt;
&lt;/article&gt;</content></entry><entry><title>RUSTSEC-2023-0028: buf_redux is unmaintained</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0028.html</id><updated>2023-03-24T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2023-0028.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0028: buf_redux is unmaintained"/><published>2023-03-24T12:00:00+00:00</published><summary xml:lang="en">buf_redux is Unmaintained</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/buf_redux/RUSTSEC-2023-0028.md&quot;&gt;History&lt;/a&gt; ⋅
&lt;a href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/buf_redux/RUSTSEC-2023-0028.md&quot;&gt;Edit&lt;/a&gt;
&lt;/span&gt;
&lt;header&gt;
&lt;h1&gt;
RUSTSEC-2023-0028
&lt;/h1&gt;
&lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;buf_redux is Unmaintained&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-01-24&quot;&gt;
January 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-24&quot;&gt;
March 24, 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/buf_redux.html&quot;&gt;buf_redux&lt;/a&gt;
(&lt;a href=&quot;https://crates.io/crates/buf_redux&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;
Unmaintained
&lt;/dd&gt;
&lt;dt id=&quot;details&quot;&gt;Details&lt;/dt&gt;
&lt;dd&gt;
&lt;a href=&quot;https://github.com/abonander/buf_redux/issues&quot;&gt;
https://github.com/abonander/buf_redux/issues
&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;h3 id=&quot;description&quot;&gt;Description&lt;/h3&gt;
&lt;p&gt;Last release was over three years ago.&lt;/p&gt;
&lt;p&gt;The maintainer(s) have been unreachable to respond to any issues that may or may not include security issues.&lt;/p&gt;
&lt;p&gt;The repository is now archived and there is no security policy in place to contact the maintainer(s) otherwise.&lt;/p&gt;
&lt;p&gt;The safety-undocumented unsafe in the crate may or may not be safe to use.&lt;/p&gt;
&lt;p&gt;The crate also has a current future incompatibility warning &lt;a href=&quot;https://github.com/abonander/buf_redux/issues/23&quot;&gt;buf_redux/23&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;Possible Alternatives&lt;/h2&gt;
&lt;p&gt;The below may or may not provide alternative(s)&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Rust alloc / std vec::Vec, collections::VecDeque&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://crates.io/crates/buffer-redux&quot;&gt;buffer-redux&lt;/a&gt; - fork&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://crates.io/crates/bytes&quot;&gt;bytes&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://crates.io/keywords/buffer&quot;&gt;crates.io search for &apos;buffer&apos;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/article&gt;</content></entry><entry><title>RUSTSEC-2023-0025: git-hash is unmaintained</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0025.html</id><updated>2023-03-24T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2023-0025.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0025: git-hash is unmaintained"/><published>2023-03-24T12:00:00+00:00</published><summary xml:lang="en">Gitoxide has renamed its crates.</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/git-hash/RUSTSEC-2023-0025.md&quot;&gt;History&lt;/a&gt; ⋅
&lt;a href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/git-hash/RUSTSEC-2023-0025.md&quot;&gt;Edit&lt;/a&gt;
&lt;/span&gt;
&lt;header&gt;
&lt;h1&gt;
RUSTSEC-2023-0025
&lt;/h1&gt;
&lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;Gitoxide has renamed its crates.&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-14&quot;&gt;
March 14, 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-24&quot;&gt;
March 24, 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/git-hash.html&quot;&gt;git-hash&lt;/a&gt;
(&lt;a href=&quot;https://crates.io/crates/git-hash&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;
Unmaintained
&lt;/dd&gt;
&lt;dt id=&quot;details&quot;&gt;Details&lt;/dt&gt;
&lt;dd&gt;
&lt;a href=&quot;https://github.com/Byron/gitoxide/pull/741&quot;&gt;
https://github.com/Byron/gitoxide/pull/741
&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;h3 id=&quot;description&quot;&gt;Description&lt;/h3&gt;
&lt;p&gt;All crates in the gitoxide project have been renamed from git-&lt;!-- raw HTML omitted --&gt; to
gix-&lt;!-- raw HTML omitted --&gt;. The git- prefixed crates are no longer being updated. Switch
to using gix-hash to continue receiving updates.&lt;/p&gt;
&lt;/article&gt;</content></entry><entry><title>RUSTSEC-2023-0027: Vulnerability in async-nats</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0027.html</id><updated>2023-03-24T12:00:00+00:00</updated><category term="crypto-failure"/><link href="https://rustsec.org/advisories/RUSTSEC-2023-0027.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0027: Vulnerability in async-nats"/><published>2023-03-24T12:00:00+00:00</published><summary xml:lang="en">TLS certificate common name validation 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/async-nats/RUSTSEC-2023-0027.md&quot;&gt;History&lt;/a&gt; ⋅
&lt;a href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/async-nats/RUSTSEC-2023-0027.md&quot;&gt;Edit&lt;/a&gt;
&lt;/span&gt;
&lt;header&gt;
&lt;h1&gt;
RUSTSEC-2023-0027
&lt;/h1&gt;
&lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;TLS certificate common name validation 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;2023-03-24&quot;&gt;
March 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-24&quot;&gt;
March 24, 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/async-nats.html&quot;&gt;async-nats&lt;/a&gt;
(&lt;a href=&quot;https://crates.io/crates/async-nats&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/crypto-failure.html&quot;&gt;crypto-failure&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/tls.html&quot;&gt;#tls&lt;/a&gt;
&lt;a href=&quot;/keywords/mitm.html&quot;&gt;#mitm&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/nats-io/nats.rs/commit/817a7b942c462fa9d9938dcb62124173634132fb#diff-767d442397fcaaf2f83e8f924d4a70317a2ce4703a49964d6007707949cfa5f5L303-R304&quot;&gt;
https://github.com/nats-io/nats.rs/commit/817a7b942c462fa9d9938dcb62124173634132fb#diff-767d442397fcaaf2f83e8f924d4a70317a2ce4703a49964d6007707949cfa5f5L303-R304
&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.29.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 NATS official Rust clients are vulnerable to MitM when using TLS.&lt;/p&gt;
&lt;p&gt;The common name of the server&apos;s TLS certificate is validated against
the &lt;code&gt;host&lt;/code&gt;name provided by the server&apos;s plaintext &lt;code&gt;INFO&lt;/code&gt; message
during the initial connection setup phase. A MitM proxy can tamper with
the &lt;code&gt;host&lt;/code&gt; field&apos;s value by substituting it with the common name of a
valid certificate it controls, fooling the client into accepting it.&lt;/p&gt;
&lt;h2&gt;Reproduction steps&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;The NATS Rust client tries to establish a new connection&lt;/li&gt;
&lt;li&gt;The connection is intercepted by a MitM proxy&lt;/li&gt;
&lt;li&gt;The proxy makes a separate connection to the NATS server&lt;/li&gt;
&lt;li&gt;The NATS server replies with an &lt;code&gt;INFO&lt;/code&gt; message&lt;/li&gt;
&lt;li&gt;The proxy reads the &lt;code&gt;INFO&lt;/code&gt;, alters the &lt;code&gt;host&lt;/code&gt; JSON field and passes
the tampered &lt;code&gt;INFO&lt;/code&gt; back to the client&lt;/li&gt;
&lt;li&gt;The proxy upgrades the client connection to TLS, presenting a certificate issued
by a certificate authority present in the client&apos;s keychain.
In the previous step the &lt;code&gt;host&lt;/code&gt; was set to the common name of said certificate&lt;/li&gt;
&lt;li&gt;&lt;code&gt;rustls&lt;/code&gt; accepts the certificate, having verified that the common name matches the
attacker-controlled value it was given&lt;/li&gt;
&lt;li&gt;The client has been fooled by the MitM proxy into accepting the attacker-controlled certificate&lt;/li&gt;
&lt;/ol&gt;
&lt;/article&gt;</content></entry><entry><title>RUSTSEC-2023-0022: Vulnerability in openssl</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0022.html</id><updated>2023-03-24T12:00:00+00:00</updated><category term="thread-safety"/><link href="https://rustsec.org/advisories/RUSTSEC-2023-0022.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0022: Vulnerability in openssl"/><published>2023-03-24T12:00:00+00:00</published><summary xml:lang="en">`openssl` `X509NameBuilder::build` returned object is not thread safe</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/RUSTSEC-2023-0022.md&quot;&gt;History&lt;/a&gt; ⋅
&lt;a href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/openssl/RUSTSEC-2023-0022.md&quot;&gt;Edit&lt;/a&gt;
&lt;/span&gt;
&lt;header&gt;
&lt;h1&gt;
RUSTSEC-2023-0022
&lt;/h1&gt;
&lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;&lt;code&gt;openssl&lt;/code&gt; &lt;code&gt;X509NameBuilder::build&lt;/code&gt; returned object is not thread safe&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-24&quot;&gt;
March 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-24&quot;&gt;
March 24, 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.html&quot;&gt;openssl&lt;/a&gt;
(&lt;a href=&quot;https://crates.io/crates/openssl&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/thread-safety.html&quot;&gt;thread-safety&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/sfackler/rust-openssl/pull/1854&quot;&gt;
https://github.com/sfackler/rust-openssl/pull/1854
&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.10.48&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;openssl::x509::X509NameBuilder::build&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;lt;0.10.48, &amp;gt;=0.9.7&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;OpenSSL has a &lt;code&gt;modified&lt;/code&gt; bit that it can set on on &lt;code&gt;X509_NAME&lt;/code&gt; objects. If this
bit is set then the object is not thread-safe even when it appears the code is
not modifying the value.&lt;/p&gt;
&lt;p&gt;Thanks to David Benjamin (Google) for reporting this issue.&lt;/p&gt;
&lt;/article&gt;</content></entry><entry><title>RUSTSEC-2023-0024: Vulnerability in openssl</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0024.html</id><updated>2023-03-24T12:00:00+00:00</updated><category term="denial-of-service"/><link href="https://rustsec.org/advisories/RUSTSEC-2023-0024.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0024: Vulnerability in openssl"/><published>2023-03-24T12:00:00+00:00</published><summary xml:lang="en">`openssl` `X509Extension::new` and `X509Extension::new_nid` null pointer dereference</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/RUSTSEC-2023-0024.md&quot;&gt;History&lt;/a&gt; ⋅
&lt;a href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/openssl/RUSTSEC-2023-0024.md&quot;&gt;Edit&lt;/a&gt;
&lt;/span&gt;
&lt;header&gt;
&lt;h1&gt;
RUSTSEC-2023-0024
&lt;/h1&gt;
&lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;&lt;code&gt;openssl&lt;/code&gt; &lt;code&gt;X509Extension::new&lt;/code&gt; and &lt;code&gt;X509Extension::new_nid&lt;/code&gt; null pointer dereference&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-24&quot;&gt;
March 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-24&quot;&gt;
March 24, 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.html&quot;&gt;openssl&lt;/a&gt;
(&lt;a href=&quot;https://crates.io/crates/openssl&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;details&quot;&gt;Details&lt;/dt&gt;
&lt;dd&gt;
&lt;a href=&quot;https://github.com/sfackler/rust-openssl/pull/1854&quot;&gt;
https://github.com/sfackler/rust-openssl/pull/1854
&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.10.48&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;openssl::x509::X509Extension::new&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;lt;0.10.48, &amp;gt;=0.9.7&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;openssl::x509::X509Extension::new_nid&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;lt;0.10.48, &amp;gt;=0.9.7&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;These functions would crash when the context argument was None with certain extension types.&lt;/p&gt;
&lt;p&gt;Thanks to David Benjamin (Google) for reporting this issue.&lt;/p&gt;
&lt;/article&gt;</content></entry></feed>