Files
advisory-db/feed.xml
T
2021-05-03 18:33:49 +00:00

1 line
44 KiB
XML

<feed xmlns="http://www.w3.org/2005/Atom"><title>RustSec Advisories</title><id>https://rustsec.org/feed.xml</id><updated>2021-05-01T00: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>Security advisories filed against Rust crates</subtitle><entry><title>RUSTSEC-2021-0057: Vulnerability in openssl-src</title><id>https://rustsec.org/advisories/RUSTSEC-2021-0057.html</id><updated>2021-05-01T00:00:00+00:00</updated><category term="denial-of-service"/><link href="https://rustsec.org/advisories/RUSTSEC-2021-0057.html" rel="alternate" type="text/html" title="RUSTSEC-2021-0057: Vulnerability in openssl-src"/><published>2021-05-01T00:00:00+00:00</published><summary>Integer overflow in CipherUpdate</summary><content type="html"> &lt;article&gt;&#xA; &lt;header&gt;&#xA; &lt;h1&gt;&#xA; &#xA; &#xA; RUSTSEC-2021-0057&#xA; &#xA; &lt;/h1&gt;&#xA; &lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;Integer overflow in CipherUpdate&lt;/p&gt;&#xA;&lt;/span&gt;&#xA; &lt;/header&gt;&#xA;&#xA; &#xA; &#xA;&#xA; &lt;dl&gt;&#xA; &lt;dt id=&quot;issued&quot;&gt;Issued&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;time datetime=&quot;2021-05-01&quot;&gt;&#xA; May 1, 2021&#xA; &lt;/time&gt;&#xA; &lt;/dd&gt;&#xA;&#xA; &lt;dt id=&quot;package&quot;&gt;Package&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; &#xA; &#xA; openssl-src (&lt;a&#xA; href=&quot;https://crates.io/crates/openssl-src&quot;&gt;crates.io&lt;/a&gt;)&#xA; &#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &lt;dt id=&quot;type&quot;&gt;Type&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; &#xA; Vulnerability&#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &#xA; &lt;dt id=&quot;categories&quot;&gt;Categories&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;ul&gt;&#xA; &#xA; &lt;li&gt;denial-of-service&lt;/li&gt;&#xA; &#xA; &lt;/ul&gt;&#xA; &lt;/dd&gt;&#xA; &#xA;&#xA; &#xA; &lt;dt id=&quot;aliases&quot;&gt;Aliases&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;ul&gt;&#xA; &#xA; &lt;li&gt;&#xA; &#xA; &#xA; &lt;a href=&quot;https:&amp;#x2f;&amp;#x2f;cve.mitre.org&amp;#x2f;cgi-bin&amp;#x2f;cvename.cgi?name=CVE-2021-23840&quot;&gt;CVE-2021-23840&lt;/a&gt;&#xA; &#xA; &lt;/li&gt;&#xA; &#xA; &lt;/ul&gt;&#xA; &lt;/dd&gt;&#xA; &#xA;&#xA; &#xA; &lt;dt id=&quot;details&quot;&gt;Details&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;a href=&quot;https:&amp;#x2f;&amp;#x2f;www.openssl.org&amp;#x2f;news&amp;#x2f;secadv&amp;#x2f;20210216.txt&quot;&gt;&#xA; https:&amp;#x2f;&amp;#x2f;www.openssl.org&amp;#x2f;news&amp;#x2f;secadv&amp;#x2f;20210216.txt&#xA; &lt;/a&gt;&#xA; &lt;/dd&gt;&#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &#xA; &#xA;&#xA; &lt;dt id=&quot;patched&quot;&gt;Patched&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; &#xA; &lt;ul&gt;&#xA; &#xA; &lt;li&gt;&lt;code&gt;&amp;gt;=111.14.0&lt;/code&gt;&lt;/li&gt;&#xA; &#xA; &lt;/ul&gt;&#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &#xA; &#xA; &lt;/dl&gt;&#xA;&#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &lt;h3 id=&quot;description&quot;&gt;Description&lt;/h3&gt;&#xA; &lt;p&gt;Calls to &lt;code&gt;EVP_CipherUpdate&lt;/code&gt;, &lt;code&gt;EVP_EncryptUpdate&lt;/code&gt; and &lt;code&gt;EVP_DecryptUpdate&lt;/code&gt; may overflow&#xA;the output length argument in some cases where the input length is close to the&#xA;maximum permissable length for an integer on the platform. In such cases the&#xA;return value from the function call will be 1 (indicating success), but the&#xA;output length value will be negative. This could cause applications to behave&#xA;incorrectly or crash.&lt;/p&gt;&#xA;&#xA;&#xA; &#xA; &#xA; &lt;h3 id=&quot;more&quot;&gt;More&lt;/h3&gt;&#xA;&#xA; &lt;ul&gt;&#xA; &lt;li&gt;&lt;a&#xA; href=&quot;https://github.com/RustSec/advisory-db/commits/main/crates/openssl-src/RUSTSEC-2021-0057.md&quot;&gt;Advisory&#xA; History&lt;/a&gt;&lt;/li&gt;&#xA; &lt;li&gt;&lt;a&#xA; href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/openssl-src/RUSTSEC-2021-0057.md&quot;&gt;Edit&#xA; Advisory&lt;/a&gt;&lt;/li&gt;&#xA; &lt;/ul&gt;&#xA; &#xA; &lt;/article&gt;</content></entry><entry><title>RUSTSEC-2021-0055: Vulnerability in openssl-src</title><id>https://rustsec.org/advisories/RUSTSEC-2021-0055.html</id><updated>2021-05-01T00:00:00+00:00</updated><category term="denial-of-service"/><link href="https://rustsec.org/advisories/RUSTSEC-2021-0055.html" rel="alternate" type="text/html" title="RUSTSEC-2021-0055: Vulnerability in openssl-src"/><published>2021-05-01T00:00:00+00:00</published><summary>NULL pointer deref in signature_algorithms processing</summary><content type="html"> &lt;article&gt;&#xA; &lt;header&gt;&#xA; &lt;h1&gt;&#xA; &#xA; &#xA; RUSTSEC-2021-0055&#xA; &#xA; &lt;/h1&gt;&#xA; &lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;NULL pointer deref in signature_algorithms processing&lt;/p&gt;&#xA;&lt;/span&gt;&#xA; &lt;/header&gt;&#xA;&#xA; &#xA; &#xA;&#xA; &lt;dl&gt;&#xA; &lt;dt id=&quot;issued&quot;&gt;Issued&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;time datetime=&quot;2021-05-01&quot;&gt;&#xA; May 1, 2021&#xA; &lt;/time&gt;&#xA; &lt;/dd&gt;&#xA;&#xA; &lt;dt id=&quot;package&quot;&gt;Package&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; &#xA; &#xA; openssl-src (&lt;a&#xA; href=&quot;https://crates.io/crates/openssl-src&quot;&gt;crates.io&lt;/a&gt;)&#xA; &#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &lt;dt id=&quot;type&quot;&gt;Type&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; &#xA; Vulnerability&#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &#xA; &lt;dt id=&quot;categories&quot;&gt;Categories&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;ul&gt;&#xA; &#xA; &lt;li&gt;denial-of-service&lt;/li&gt;&#xA; &#xA; &lt;/ul&gt;&#xA; &lt;/dd&gt;&#xA; &#xA;&#xA; &#xA; &lt;dt id=&quot;aliases&quot;&gt;Aliases&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;ul&gt;&#xA; &#xA; &lt;li&gt;&#xA; &#xA; &#xA; &lt;a href=&quot;https:&amp;#x2f;&amp;#x2f;cve.mitre.org&amp;#x2f;cgi-bin&amp;#x2f;cvename.cgi?name=CVE-2021-3449&quot;&gt;CVE-2021-3449&lt;/a&gt;&#xA; &#xA; &lt;/li&gt;&#xA; &#xA; &lt;/ul&gt;&#xA; &lt;/dd&gt;&#xA; &#xA;&#xA; &#xA; &lt;dt id=&quot;details&quot;&gt;Details&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;a href=&quot;https:&amp;#x2f;&amp;#x2f;www.openssl.org&amp;#x2f;news&amp;#x2f;secadv&amp;#x2f;20210325.txt&quot;&gt;&#xA; https:&amp;#x2f;&amp;#x2f;www.openssl.org&amp;#x2f;news&amp;#x2f;secadv&amp;#x2f;20210325.txt&#xA; &lt;/a&gt;&#xA; &lt;/dd&gt;&#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &#xA; &#xA;&#xA; &lt;dt id=&quot;patched&quot;&gt;Patched&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; &#xA; &lt;ul&gt;&#xA; &#xA; &lt;li&gt;&lt;code&gt;&amp;gt;=111.15.0&lt;/code&gt;&lt;/li&gt;&#xA; &#xA; &lt;/ul&gt;&#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &#xA; &#xA; &lt;/dl&gt;&#xA;&#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &lt;h3 id=&quot;description&quot;&gt;Description&lt;/h3&gt;&#xA; &lt;p&gt;An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation&#xA;ClientHello message from a client. If a TLSv1.2 renegotiation ClientHello omits&#xA;the signature_algorithms extension (where it was present in the initial&#xA;ClientHello), but includes a signature_algorithms_cert extension then a NULL&#xA;pointer dereference will result, leading to a crash and a denial of service&#xA;attack.&lt;/p&gt;&#xA;&lt;p&gt;A server is only vulnerable if it has TLSv1.2 and renegotiation enabled (which&#xA;is the default configuration). OpenSSL TLS clients are not impacted by this&#xA;issue.&lt;/p&gt;&#xA;&#xA;&#xA; &#xA; &#xA; &lt;h3 id=&quot;more&quot;&gt;More&lt;/h3&gt;&#xA;&#xA; &lt;ul&gt;&#xA; &lt;li&gt;&lt;a&#xA; href=&quot;https://github.com/RustSec/advisory-db/commits/main/crates/openssl-src/RUSTSEC-2021-0055.md&quot;&gt;Advisory&#xA; History&lt;/a&gt;&lt;/li&gt;&#xA; &lt;li&gt;&lt;a&#xA; href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/openssl-src/RUSTSEC-2021-0055.md&quot;&gt;Edit&#xA; Advisory&lt;/a&gt;&lt;/li&gt;&#xA; &lt;/ul&gt;&#xA; &#xA; &lt;/article&gt;</content></entry><entry><title>RUSTSEC-2021-0056: Vulnerability in openssl-src</title><id>https://rustsec.org/advisories/RUSTSEC-2021-0056.html</id><updated>2021-05-01T00:00:00+00:00</updated><category term="crypto-failure"/><link href="https://rustsec.org/advisories/RUSTSEC-2021-0056.html" rel="alternate" type="text/html" title="RUSTSEC-2021-0056: Vulnerability in openssl-src"/><published>2021-05-01T00:00:00+00:00</published><summary>CA certificate check bypass with X509_V_FLAG_X509_STRICT</summary><content type="html"> &lt;article&gt;&#xA; &lt;header&gt;&#xA; &lt;h1&gt;&#xA; &#xA; &#xA; RUSTSEC-2021-0056&#xA; &#xA; &lt;/h1&gt;&#xA; &lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;CA certificate check bypass with X509_V_FLAG_X509_STRICT&lt;/p&gt;&#xA;&lt;/span&gt;&#xA; &lt;/header&gt;&#xA;&#xA; &#xA; &#xA;&#xA; &lt;dl&gt;&#xA; &lt;dt id=&quot;issued&quot;&gt;Issued&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;time datetime=&quot;2021-05-01&quot;&gt;&#xA; May 1, 2021&#xA; &lt;/time&gt;&#xA; &lt;/dd&gt;&#xA;&#xA; &lt;dt id=&quot;package&quot;&gt;Package&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; &#xA; &#xA; openssl-src (&lt;a&#xA; href=&quot;https://crates.io/crates/openssl-src&quot;&gt;crates.io&lt;/a&gt;)&#xA; &#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &lt;dt id=&quot;type&quot;&gt;Type&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; &#xA; Vulnerability&#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &#xA; &lt;dt id=&quot;categories&quot;&gt;Categories&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;ul&gt;&#xA; &#xA; &lt;li&gt;crypto-failure&lt;/li&gt;&#xA; &#xA; &lt;/ul&gt;&#xA; &lt;/dd&gt;&#xA; &#xA;&#xA; &#xA; &lt;dt id=&quot;aliases&quot;&gt;Aliases&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;ul&gt;&#xA; &#xA; &lt;li&gt;&#xA; &#xA; &#xA; &lt;a href=&quot;https:&amp;#x2f;&amp;#x2f;cve.mitre.org&amp;#x2f;cgi-bin&amp;#x2f;cvename.cgi?name=CVE-2021-3450&quot;&gt;CVE-2021-3450&lt;/a&gt;&#xA; &#xA; &lt;/li&gt;&#xA; &#xA; &lt;/ul&gt;&#xA; &lt;/dd&gt;&#xA; &#xA;&#xA; &#xA; &lt;dt id=&quot;details&quot;&gt;Details&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;a href=&quot;https:&amp;#x2f;&amp;#x2f;www.openssl.org&amp;#x2f;news&amp;#x2f;secadv&amp;#x2f;20210325.txt&quot;&gt;&#xA; https:&amp;#x2f;&amp;#x2f;www.openssl.org&amp;#x2f;news&amp;#x2f;secadv&amp;#x2f;20210325.txt&#xA; &lt;/a&gt;&#xA; &lt;/dd&gt;&#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &#xA; &#xA;&#xA; &lt;dt id=&quot;patched&quot;&gt;Patched&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; &#xA; &lt;ul&gt;&#xA; &#xA; &lt;li&gt;&lt;code&gt;&amp;gt;=111.15.0&lt;/code&gt;&lt;/li&gt;&#xA; &#xA; &lt;/ul&gt;&#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &#xA; &lt;dt id=&quot;unaffected&quot;&gt;Unaffected&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;ul&gt;&#xA; &#xA; &lt;li&gt;&lt;code&gt;&amp;lt;111.11.0&lt;/code&gt;&lt;/li&gt;&#xA; &#xA; &lt;/ul&gt;&#xA; &lt;/dd&gt;&#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &#xA; &#xA; &lt;/dl&gt;&#xA;&#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &lt;h3 id=&quot;description&quot;&gt;Description&lt;/h3&gt;&#xA; &lt;p&gt;The X509_V_FLAG_X509_STRICT flag enables additional security checks of the&#xA;certificates present in a certificate chain. It is not set by default.&lt;/p&gt;&#xA;&lt;p&gt;Starting from OpenSSL version 1.1.1h a check to disallow certificates in&#xA;the chain that have explicitly encoded elliptic curve parameters was added&#xA;as an additional strict check.&lt;/p&gt;&#xA;&lt;p&gt;An error in the implementation of this check meant that the result of a&#xA;previous check to confirm that certificates in the chain are valid CA&#xA;certificates was overwritten. This effectively bypasses the check&#xA;that non-CA certificates must not be able to issue other certificates.&lt;/p&gt;&#xA;&lt;p&gt;If a &amp;quot;purpose&amp;quot; has been configured then there is a subsequent opportunity&#xA;for checks that the certificate is a valid CA. All of the named &amp;quot;purpose&amp;quot;&#xA;values implemented in libcrypto perform this check. Therefore, where&#xA;a purpose is set the certificate chain will still be rejected even when the&#xA;strict flag has been used. A purpose is set by default in libssl client and&#xA;server certificate verification routines, but it can be overridden or&#xA;removed by an application.&lt;/p&gt;&#xA;&lt;p&gt;In order to be affected, an application must explicitly set the&#xA;X509_V_FLAG_X509_STRICT verification flag and either not set a purpose&#xA;for the certificate verification or, in the case of TLS client or server&#xA;applications, override the default purpose.&lt;/p&gt;&#xA;&#xA;&#xA; &#xA; &#xA; &lt;h3 id=&quot;more&quot;&gt;More&lt;/h3&gt;&#xA;&#xA; &lt;ul&gt;&#xA; &lt;li&gt;&lt;a&#xA; href=&quot;https://github.com/RustSec/advisory-db/commits/main/crates/openssl-src/RUSTSEC-2021-0056.md&quot;&gt;Advisory&#xA; History&lt;/a&gt;&lt;/li&gt;&#xA; &lt;li&gt;&lt;a&#xA; href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/openssl-src/RUSTSEC-2021-0056.md&quot;&gt;Edit&#xA; Advisory&lt;/a&gt;&lt;/li&gt;&#xA; &lt;/ul&gt;&#xA; &#xA; &lt;/article&gt;</content></entry><entry><title>RUSTSEC-2021-0058: Vulnerability in openssl-src</title><id>https://rustsec.org/advisories/RUSTSEC-2021-0058.html</id><updated>2021-05-01T00:00:00+00:00</updated><category term="denial-of-service"/><link href="https://rustsec.org/advisories/RUSTSEC-2021-0058.html" rel="alternate" type="text/html" title="RUSTSEC-2021-0058: Vulnerability in openssl-src"/><published>2021-05-01T00:00:00+00:00</published><summary>Null pointer deref in `X509_issuer_and_serial_hash()`</summary><content type="html"> &lt;article&gt;&#xA; &lt;header&gt;&#xA; &lt;h1&gt;&#xA; &#xA; &#xA; RUSTSEC-2021-0058&#xA; &#xA; &lt;/h1&gt;&#xA; &lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;Null pointer deref in &lt;code&gt;X509_issuer_and_serial_hash()&lt;/code&gt;&lt;/p&gt;&#xA;&lt;/span&gt;&#xA; &lt;/header&gt;&#xA;&#xA; &#xA; &#xA;&#xA; &lt;dl&gt;&#xA; &lt;dt id=&quot;issued&quot;&gt;Issued&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;time datetime=&quot;2021-05-01&quot;&gt;&#xA; May 1, 2021&#xA; &lt;/time&gt;&#xA; &lt;/dd&gt;&#xA;&#xA; &lt;dt id=&quot;package&quot;&gt;Package&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; &#xA; &#xA; openssl-src (&lt;a&#xA; href=&quot;https://crates.io/crates/openssl-src&quot;&gt;crates.io&lt;/a&gt;)&#xA; &#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &lt;dt id=&quot;type&quot;&gt;Type&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; &#xA; Vulnerability&#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &#xA; &lt;dt id=&quot;categories&quot;&gt;Categories&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;ul&gt;&#xA; &#xA; &lt;li&gt;denial-of-service&lt;/li&gt;&#xA; &#xA; &lt;/ul&gt;&#xA; &lt;/dd&gt;&#xA; &#xA;&#xA; &#xA; &lt;dt id=&quot;aliases&quot;&gt;Aliases&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;ul&gt;&#xA; &#xA; &lt;li&gt;&#xA; &#xA; &#xA; &lt;a href=&quot;https:&amp;#x2f;&amp;#x2f;cve.mitre.org&amp;#x2f;cgi-bin&amp;#x2f;cvename.cgi?name=CVE-2021-23841&quot;&gt;CVE-2021-23841&lt;/a&gt;&#xA; &#xA; &lt;/li&gt;&#xA; &#xA; &lt;/ul&gt;&#xA; &lt;/dd&gt;&#xA; &#xA;&#xA; &#xA; &lt;dt id=&quot;details&quot;&gt;Details&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;a href=&quot;https:&amp;#x2f;&amp;#x2f;www.openssl.org&amp;#x2f;news&amp;#x2f;secadv&amp;#x2f;20210216.txt&quot;&gt;&#xA; https:&amp;#x2f;&amp;#x2f;www.openssl.org&amp;#x2f;news&amp;#x2f;secadv&amp;#x2f;20210216.txt&#xA; &lt;/a&gt;&#xA; &lt;/dd&gt;&#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &#xA; &#xA;&#xA; &lt;dt id=&quot;patched&quot;&gt;Patched&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; &#xA; &lt;ul&gt;&#xA; &#xA; &lt;li&gt;&lt;code&gt;&amp;gt;=111.14.0&lt;/code&gt;&lt;/li&gt;&#xA; &#xA; &lt;/ul&gt;&#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &#xA; &#xA; &lt;/dl&gt;&#xA;&#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &lt;h3 id=&quot;description&quot;&gt;Description&lt;/h3&gt;&#xA; &lt;p&gt;The OpenSSL public API function &lt;code&gt;X509_issuer_and_serial_hash()&lt;/code&gt; attempts to&#xA;create a unique hash value based on the issuer and serial number data contained&#xA;within an X509 certificate. However it fails to correctly handle any errors&#xA;that may occur while parsing the issuer field (which might occur if the issuer&#xA;field is maliciously constructed). This may subsequently result in a NULL&#xA;pointer deref and a crash leading to a potential denial of service attack.&lt;/p&gt;&#xA;&lt;p&gt;The function &lt;code&gt;X509_issuer_and_serial_hash()&lt;/code&gt; is never directly called by OpenSSL&#xA;itself so applications are only vulnerable if they use this function directly&#xA;and they use it on certificates that may have been obtained from untrusted&#xA;sources.&lt;/p&gt;&#xA;&#xA;&#xA; &#xA; &#xA; &lt;h3 id=&quot;more&quot;&gt;More&lt;/h3&gt;&#xA;&#xA; &lt;ul&gt;&#xA; &lt;li&gt;&lt;a&#xA; href=&quot;https://github.com/RustSec/advisory-db/commits/main/crates/openssl-src/RUSTSEC-2021-0058.md&quot;&gt;Advisory&#xA; History&lt;/a&gt;&lt;/li&gt;&#xA; &lt;li&gt;&lt;a&#xA; href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/openssl-src/RUSTSEC-2021-0058.md&quot;&gt;Edit&#xA; Advisory&lt;/a&gt;&lt;/li&gt;&#xA; &lt;/ul&gt;&#xA; &#xA; &lt;/article&gt;</content></entry><entry><title>RUSTSEC-2021-0060: aes-soft is unmaintained</title><id>https://rustsec.org/advisories/RUSTSEC-2021-0060.html</id><updated>2021-04-29T00:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2021-0060.html" rel="alternate" type="text/html" title="RUSTSEC-2021-0060: aes-soft is unmaintained"/><published>2021-04-29T00:00:00+00:00</published><summary>merged into the `aes` crate</summary><content type="html"> &lt;article&gt;&#xA; &lt;header&gt;&#xA; &lt;h1&gt;&#xA; &#xA; &#xA; RUSTSEC-2021-0060&#xA; &#xA; &lt;/h1&gt;&#xA; &lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;merged into the &lt;code&gt;aes&lt;/code&gt; crate&lt;/p&gt;&#xA;&lt;/span&gt;&#xA; &lt;/header&gt;&#xA;&#xA; &#xA; &#xA;&#xA; &lt;dl&gt;&#xA; &lt;dt id=&quot;issued&quot;&gt;Issued&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;time datetime=&quot;2021-04-29&quot;&gt;&#xA; April 29, 2021&#xA; &lt;/time&gt;&#xA; &lt;/dd&gt;&#xA;&#xA; &lt;dt id=&quot;package&quot;&gt;Package&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; &#xA; &#xA; aes-soft (&lt;a&#xA; href=&quot;https://crates.io/crates/aes-soft&quot;&gt;crates.io&lt;/a&gt;)&#xA; &#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &lt;dt id=&quot;type&quot;&gt;Type&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; &#xA; Unmaintained&#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &lt;dt id=&quot;details&quot;&gt;Details&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;a href=&quot;https:&amp;#x2f;&amp;#x2f;github.com&amp;#x2f;RustCrypto&amp;#x2f;block-ciphers&amp;#x2f;pull&amp;#x2f;200&quot;&gt;&#xA; https:&amp;#x2f;&amp;#x2f;github.com&amp;#x2f;RustCrypto&amp;#x2f;block-ciphers&amp;#x2f;pull&amp;#x2f;200&#xA; &lt;/a&gt;&#xA; &lt;/dd&gt;&#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &#xA; &#xA;&#xA; &lt;dt id=&quot;patched&quot;&gt;Patched&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; no patched versions&#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &#xA; &#xA; &lt;/dl&gt;&#xA;&#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &lt;h3 id=&quot;description&quot;&gt;Description&lt;/h3&gt;&#xA; &lt;p&gt;The &lt;code&gt;aes-soft&lt;/code&gt; crate has been merged into the &lt;code&gt;aes&lt;/code&gt; crate. The new repository&#xA;location is at:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/RustCrypto/block-ciphers/tree/master/aes&quot;&gt;https://github.com/RustCrypto/block-ciphers/tree/master/aes&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;AES-NI is now autodetected at runtime on &lt;code&gt;i686&lt;/code&gt;/&lt;code&gt;x86-64&lt;/code&gt; platforms.&#xA;If AES-NI is not present, the &lt;code&gt;aes&lt;/code&gt; crate will fallback to a constant-time&#xA;portable software implementation.&lt;/p&gt;&#xA;&lt;p&gt;To force the use of a constant-time portable implementation on these platforms,&#xA;even if AES-NI is available, use the new &lt;code&gt;force-soft&lt;/code&gt; feature of the &lt;code&gt;aes&lt;/code&gt;&#xA;crate to disable autodetection.&lt;/p&gt;&#xA;&#xA;&#xA; &#xA; &#xA; &lt;h3 id=&quot;more&quot;&gt;More&lt;/h3&gt;&#xA;&#xA; &lt;ul&gt;&#xA; &lt;li&gt;&lt;a&#xA; href=&quot;https://github.com/RustSec/advisory-db/commits/main/crates/aes-soft/RUSTSEC-2021-0060.md&quot;&gt;Advisory&#xA; History&lt;/a&gt;&lt;/li&gt;&#xA; &lt;li&gt;&lt;a&#xA; href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/aes-soft/RUSTSEC-2021-0060.md&quot;&gt;Edit&#xA; Advisory&lt;/a&gt;&lt;/li&gt;&#xA; &lt;/ul&gt;&#xA; &#xA; &lt;/article&gt;</content></entry><entry><title>RUSTSEC-2021-0059: aesni is unmaintained</title><id>https://rustsec.org/advisories/RUSTSEC-2021-0059.html</id><updated>2021-04-29T00:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2021-0059.html" rel="alternate" type="text/html" title="RUSTSEC-2021-0059: aesni is unmaintained"/><published>2021-04-29T00:00:00+00:00</published><summary>merged into the `aes` crate</summary><content type="html"> &lt;article&gt;&#xA; &lt;header&gt;&#xA; &lt;h1&gt;&#xA; &#xA; &#xA; RUSTSEC-2021-0059&#xA; &#xA; &lt;/h1&gt;&#xA; &lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;merged into the &lt;code&gt;aes&lt;/code&gt; crate&lt;/p&gt;&#xA;&lt;/span&gt;&#xA; &lt;/header&gt;&#xA;&#xA; &#xA; &#xA;&#xA; &lt;dl&gt;&#xA; &lt;dt id=&quot;issued&quot;&gt;Issued&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;time datetime=&quot;2021-04-29&quot;&gt;&#xA; April 29, 2021&#xA; &lt;/time&gt;&#xA; &lt;/dd&gt;&#xA;&#xA; &lt;dt id=&quot;package&quot;&gt;Package&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; &#xA; &#xA; aesni (&lt;a&#xA; href=&quot;https://crates.io/crates/aesni&quot;&gt;crates.io&lt;/a&gt;)&#xA; &#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &lt;dt id=&quot;type&quot;&gt;Type&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; &#xA; Unmaintained&#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &lt;dt id=&quot;details&quot;&gt;Details&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;a href=&quot;https:&amp;#x2f;&amp;#x2f;github.com&amp;#x2f;RustCrypto&amp;#x2f;block-ciphers&amp;#x2f;pull&amp;#x2f;200&quot;&gt;&#xA; https:&amp;#x2f;&amp;#x2f;github.com&amp;#x2f;RustCrypto&amp;#x2f;block-ciphers&amp;#x2f;pull&amp;#x2f;200&#xA; &lt;/a&gt;&#xA; &lt;/dd&gt;&#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &#xA; &#xA;&#xA; &lt;dt id=&quot;patched&quot;&gt;Patched&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; no patched versions&#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &#xA; &#xA; &lt;/dl&gt;&#xA;&#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &lt;h3 id=&quot;description&quot;&gt;Description&lt;/h3&gt;&#xA; &lt;p&gt;The &lt;code&gt;aesni&lt;/code&gt; crate has been merged into the &lt;code&gt;aes&lt;/code&gt; crate. The new repository&#xA;location is at:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/RustCrypto/block-ciphers/tree/master/aes&quot;&gt;https://github.com/RustCrypto/block-ciphers/tree/master/aes&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;AES-NI is now autodetected at runtime on &lt;code&gt;i686&lt;/code&gt;/&lt;code&gt;x86-64&lt;/code&gt; platforms.&#xA;If AES-NI is not present, the &lt;code&gt;aes&lt;/code&gt; crate will fallback to a constant-time&#xA;portable software implementation.&lt;/p&gt;&#xA;&lt;p&gt;To prevent this fallback (and have absence of AES-NI result in an illegal&#xA;instruction crash instead), continue to pass the same RUSTFLAGS which were&#xA;previously required for the &lt;code&gt;aesni&lt;/code&gt; crate to compile:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;RUSTFLAGS=-Ctarget-feature=+aes,+ssse3&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&#xA; &#xA; &#xA; &lt;h3 id=&quot;more&quot;&gt;More&lt;/h3&gt;&#xA;&#xA; &lt;ul&gt;&#xA; &lt;li&gt;&lt;a&#xA; href=&quot;https://github.com/RustSec/advisory-db/commits/main/crates/aesni/RUSTSEC-2021-0059.md&quot;&gt;Advisory&#xA; History&lt;/a&gt;&lt;/li&gt;&#xA; &lt;li&gt;&lt;a&#xA; href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/aesni/RUSTSEC-2021-0059.md&quot;&gt;Edit&#xA; Advisory&lt;/a&gt;&lt;/li&gt;&#xA; &lt;/ul&gt;&#xA; &#xA; &lt;/article&gt;</content></entry><entry><title>RUSTSEC-2021-0061: aes-ctr is unmaintained</title><id>https://rustsec.org/advisories/RUSTSEC-2021-0061.html</id><updated>2021-04-29T00:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2021-0061.html" rel="alternate" type="text/html" title="RUSTSEC-2021-0061: aes-ctr is unmaintained"/><published>2021-04-29T00:00:00+00:00</published><summary>merged into the `aes` crate</summary><content type="html"> &lt;article&gt;&#xA; &lt;header&gt;&#xA; &lt;h1&gt;&#xA; &#xA; &#xA; RUSTSEC-2021-0061&#xA; &#xA; &lt;/h1&gt;&#xA; &lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;merged into the &lt;code&gt;aes&lt;/code&gt; crate&lt;/p&gt;&#xA;&lt;/span&gt;&#xA; &lt;/header&gt;&#xA;&#xA; &#xA; &#xA;&#xA; &lt;dl&gt;&#xA; &lt;dt id=&quot;issued&quot;&gt;Issued&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;time datetime=&quot;2021-04-29&quot;&gt;&#xA; April 29, 2021&#xA; &lt;/time&gt;&#xA; &lt;/dd&gt;&#xA;&#xA; &lt;dt id=&quot;package&quot;&gt;Package&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; &#xA; &#xA; aes-ctr (&lt;a&#xA; href=&quot;https://crates.io/crates/aes-ctr&quot;&gt;crates.io&lt;/a&gt;)&#xA; &#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &lt;dt id=&quot;type&quot;&gt;Type&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; &#xA; Unmaintained&#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &lt;dt id=&quot;details&quot;&gt;Details&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;a href=&quot;https:&amp;#x2f;&amp;#x2f;github.com&amp;#x2f;RustCrypto&amp;#x2f;block-ciphers&amp;#x2f;pull&amp;#x2f;200&quot;&gt;&#xA; https:&amp;#x2f;&amp;#x2f;github.com&amp;#x2f;RustCrypto&amp;#x2f;block-ciphers&amp;#x2f;pull&amp;#x2f;200&#xA; &lt;/a&gt;&#xA; &lt;/dd&gt;&#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &#xA; &#xA;&#xA; &lt;dt id=&quot;patched&quot;&gt;Patched&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; no patched versions&#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &#xA; &#xA; &lt;/dl&gt;&#xA;&#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &lt;h3 id=&quot;description&quot;&gt;Description&lt;/h3&gt;&#xA; &lt;p&gt;The &lt;code&gt;aes-ctr&lt;/code&gt; crate has been merged into the &lt;code&gt;aes&lt;/code&gt; crate. The new repository&#xA;location is at:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/RustCrypto/block-ciphers/tree/master/aes&quot;&gt;https://github.com/RustCrypto/block-ciphers/tree/master/aes&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;The &lt;code&gt;aes&lt;/code&gt; crate now has an optional &lt;code&gt;ctr&lt;/code&gt; feature which autodetects SIMD&#xA;features on &lt;code&gt;i686&lt;/code&gt;/&lt;code&gt;x86-64&lt;/code&gt; targets and uses them if available, or otherwise&#xA;falls back to the implementation in the &lt;code&gt;ctr&lt;/code&gt; crate.&lt;/p&gt;&#xA;&lt;p&gt;If you would prefer not to have this autodetection performed, use the &lt;code&gt;aes&lt;/code&gt;&#xA;crate directly with the &lt;code&gt;ctr&lt;/code&gt; crate.&lt;/p&gt;&#xA;&#xA;&#xA; &#xA; &#xA; &lt;h3 id=&quot;more&quot;&gt;More&lt;/h3&gt;&#xA;&#xA; &lt;ul&gt;&#xA; &lt;li&gt;&lt;a&#xA; href=&quot;https://github.com/RustSec/advisory-db/commits/main/crates/aes-ctr/RUSTSEC-2021-0061.md&quot;&gt;Advisory&#xA; History&lt;/a&gt;&lt;/li&gt;&#xA; &lt;li&gt;&lt;a&#xA; href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/aes-ctr/RUSTSEC-2021-0061.md&quot;&gt;Edit&#xA; Advisory&lt;/a&gt;&lt;/li&gt;&#xA; &lt;/ul&gt;&#xA; &#xA; &lt;/article&gt;</content></entry><entry><title>RUSTSEC-2021-0054: Vulnerability in rkyv</title><id>https://rustsec.org/advisories/RUSTSEC-2021-0054.html</id><updated>2021-04-28T00:00:00+00:00</updated><category term="memory-exposure"/><link href="https://rustsec.org/advisories/RUSTSEC-2021-0054.html" rel="alternate" type="text/html" title="RUSTSEC-2021-0054: Vulnerability in rkyv"/><published>2021-04-28T00:00:00+00:00</published><summary>Archives may contain uninitialized memory</summary><content type="html"> &lt;article&gt;&#xA; &lt;header&gt;&#xA; &lt;h1&gt;&#xA; &#xA; &#xA; RUSTSEC-2021-0054&#xA; &#xA; &lt;/h1&gt;&#xA; &lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;Archives may contain uninitialized memory&lt;/p&gt;&#xA;&lt;/span&gt;&#xA; &lt;/header&gt;&#xA;&#xA; &#xA; &#xA;&#xA; &lt;dl&gt;&#xA; &lt;dt id=&quot;issued&quot;&gt;Issued&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;time datetime=&quot;2021-04-28&quot;&gt;&#xA; April 28, 2021&#xA; &lt;/time&gt;&#xA; &lt;/dd&gt;&#xA;&#xA; &lt;dt id=&quot;package&quot;&gt;Package&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; &#xA; &#xA; rkyv (&lt;a&#xA; href=&quot;https://crates.io/crates/rkyv&quot;&gt;crates.io&lt;/a&gt;)&#xA; &#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &lt;dt id=&quot;type&quot;&gt;Type&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; &#xA; Vulnerability&#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &#xA; &lt;dt id=&quot;categories&quot;&gt;Categories&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;ul&gt;&#xA; &#xA; &lt;li&gt;memory-exposure&lt;/li&gt;&#xA; &#xA; &lt;/ul&gt;&#xA; &lt;/dd&gt;&#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &lt;dt id=&quot;details&quot;&gt;Details&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;a href=&quot;https:&amp;#x2f;&amp;#x2f;github.com&amp;#x2f;djkoloski&amp;#x2f;rkyv&amp;#x2f;issues&amp;#x2f;113&quot;&gt;&#xA; https:&amp;#x2f;&amp;#x2f;github.com&amp;#x2f;djkoloski&amp;#x2f;rkyv&amp;#x2f;issues&amp;#x2f;113&#xA; &lt;/a&gt;&#xA; &lt;/dd&gt;&#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &#xA; &#xA;&#xA; &lt;dt id=&quot;patched&quot;&gt;Patched&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; &#xA; &lt;ul&gt;&#xA; &#xA; &lt;li&gt;&lt;code&gt;&amp;gt;=0.6.0&lt;/code&gt;&lt;/li&gt;&#xA; &#xA; &lt;/ul&gt;&#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &lt;dt id=&quot;keywords&quot;&gt;Keywords&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;ul&gt;&#xA; &#xA; &lt;li&gt;uninitialized&lt;/li&gt;&#xA; &#xA; &lt;li&gt;memory&lt;/li&gt;&#xA; &#xA; &lt;li&gt;information&lt;/li&gt;&#xA; &#xA; &lt;li&gt;leak&lt;/li&gt;&#xA; &#xA; &lt;/ul&gt;&#xA; &lt;/dd&gt;&#xA; &#xA;&#xA; &#xA; &#xA; &#xA; &#xA;&#xA; &#xA; &#xA; &#xA; &lt;/dl&gt;&#xA;&#xA; &#xA; &#xA; &#xA; &lt;dl&gt;&#xA; &lt;dt&gt;Affected Functions&lt;/dt&gt;&#xA; &lt;dd&gt;Version&lt;/dd&gt;&#xA; &#xA; &lt;dt&gt;&lt;code&gt;rkyv::Archive::resolve&lt;/code&gt;&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;ul&gt;&#xA; &#xA; &lt;li&gt;&lt;code&gt;&amp;lt;0.6.0&lt;/code&gt;&lt;/li&gt;&#xA; &#xA; &lt;/ul&gt;&#xA; &lt;/dd&gt;&#xA; &#xA; &lt;/dl&gt;&#xA; &#xA; &#xA;&#xA; &lt;h3 id=&quot;description&quot;&gt;Description&lt;/h3&gt;&#xA; &lt;p&gt;&lt;code&gt;rkyv&lt;/code&gt; is a serialization framework that writes struct-compatible memory to be stored or&#xA;transmitted. During serialization, struct padding bytes and unused enum bytes may not be&#xA;initialized. These bytes may be written to disk or sent over unsecured channels.&lt;/p&gt;&#xA;&#xA;&#xA; &#xA; &#xA; &lt;h3 id=&quot;more&quot;&gt;More&lt;/h3&gt;&#xA;&#xA; &lt;ul&gt;&#xA; &lt;li&gt;&lt;a&#xA; href=&quot;https://github.com/RustSec/advisory-db/commits/main/crates/rkyv/RUSTSEC-2021-0054.md&quot;&gt;Advisory&#xA; History&lt;/a&gt;&lt;/li&gt;&#xA; &lt;li&gt;&lt;a&#xA; href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/rkyv/RUSTSEC-2021-0054.md&quot;&gt;Edit&#xA; Advisory&lt;/a&gt;&lt;/li&gt;&#xA; &lt;/ul&gt;&#xA; &#xA; &lt;/article&gt;</content></entry><entry><title>RUSTSEC-2021-0041: Vulnerability in parse_duration</title><id>https://rustsec.org/advisories/RUSTSEC-2021-0041.html</id><updated>2021-03-18T00:00:00+00:00</updated><category term="denial-of-service"/><link href="https://rustsec.org/advisories/RUSTSEC-2021-0041.html" rel="alternate" type="text/html" title="RUSTSEC-2021-0041: Vulnerability in parse_duration"/><published>2021-03-18T00:00:00+00:00</published><summary>Denial of service through parsing payloads with too big exponent</summary><content type="html"> &lt;article&gt;&#xA; &lt;header&gt;&#xA; &lt;h1&gt;&#xA; &#xA; &#xA; RUSTSEC-2021-0041&#xA; &#xA; &lt;/h1&gt;&#xA; &lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;Denial of service through parsing payloads with too big exponent&lt;/p&gt;&#xA;&lt;/span&gt;&#xA; &lt;/header&gt;&#xA;&#xA; &#xA; &#xA;&#xA; &lt;dl&gt;&#xA; &lt;dt id=&quot;issued&quot;&gt;Issued&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;time datetime=&quot;2021-03-18&quot;&gt;&#xA; March 18, 2021&#xA; &lt;/time&gt;&#xA; &lt;/dd&gt;&#xA;&#xA; &lt;dt id=&quot;package&quot;&gt;Package&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; &#xA; &#xA; parse_duration (&lt;a&#xA; href=&quot;https://crates.io/crates/parse_duration&quot;&gt;crates.io&lt;/a&gt;)&#xA; &#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &lt;dt id=&quot;type&quot;&gt;Type&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; &#xA; Vulnerability&#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &#xA; &lt;dt id=&quot;categories&quot;&gt;Categories&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;ul&gt;&#xA; &#xA; &lt;li&gt;denial-of-service&lt;/li&gt;&#xA; &#xA; &lt;/ul&gt;&#xA; &lt;/dd&gt;&#xA; &#xA;&#xA; &#xA; &lt;dt id=&quot;aliases&quot;&gt;Aliases&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;ul&gt;&#xA; &#xA; &lt;li&gt;&#xA; &#xA; &#xA; CAN-2021-1000007&#xA; &#xA; &lt;/li&gt;&#xA; &#xA; &lt;li&gt;&#xA; &#xA; &#xA; &lt;a href=&quot;https:&amp;#x2f;&amp;#x2f;cve.mitre.org&amp;#x2f;cgi-bin&amp;#x2f;cvename.cgi?name=CVE-2021-29932&quot;&gt;CVE-2021-29932&lt;/a&gt;&#xA; &#xA; &lt;/li&gt;&#xA; &#xA; &lt;/ul&gt;&#xA; &lt;/dd&gt;&#xA; &#xA;&#xA; &#xA; &lt;dt id=&quot;details&quot;&gt;Details&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;a href=&quot;https:&amp;#x2f;&amp;#x2f;github.com&amp;#x2f;zeta12ti&amp;#x2f;parse_duration&amp;#x2f;issues&amp;#x2f;21&quot;&gt;&#xA; https:&amp;#x2f;&amp;#x2f;github.com&amp;#x2f;zeta12ti&amp;#x2f;parse_duration&amp;#x2f;issues&amp;#x2f;21&#xA; &lt;/a&gt;&#xA; &lt;/dd&gt;&#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &#xA; &#xA;&#xA; &lt;dt id=&quot;patched&quot;&gt;Patched&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; no patched versions&#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &lt;dt id=&quot;keywords&quot;&gt;Keywords&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;ul&gt;&#xA; &#xA; &lt;li&gt;parsing&lt;/li&gt;&#xA; &#xA; &lt;li&gt;untrusted data&lt;/li&gt;&#xA; &#xA; &lt;/ul&gt;&#xA; &lt;/dd&gt;&#xA; &#xA;&#xA; &#xA; &#xA; &#xA; &#xA;&#xA; &#xA; &#xA; &#xA; &lt;/dl&gt;&#xA;&#xA; &#xA; &#xA; &#xA; &lt;dl&gt;&#xA; &lt;dt&gt;Affected Functions&lt;/dt&gt;&#xA; &lt;dd&gt;Version&lt;/dd&gt;&#xA; &#xA; &lt;dt&gt;&lt;code&gt;parse_duration::parse&lt;/code&gt;&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;ul&gt;&#xA; &#xA; &lt;li&gt;&lt;code&gt;&amp;gt;=0.0.0&lt;/code&gt;&lt;/li&gt;&#xA; &#xA; &lt;/ul&gt;&#xA; &lt;/dd&gt;&#xA; &#xA; &lt;/dl&gt;&#xA; &#xA; &#xA;&#xA; &lt;h3 id=&quot;description&quot;&gt;Description&lt;/h3&gt;&#xA; &lt;p&gt;The &lt;code&gt;parse_duration::parse&lt;/code&gt; function allows for parsing duration strings with exponents like &lt;code&gt;5e5s&lt;/code&gt; where under the hood, the &lt;a href=&quot;https://github.com/zeta12ti/parse_duration/blob/26940ab5cd4e3a9d6bd97aa101f8d4bbfd18ee8c/src/parse.rs#L335&quot;&gt;&lt;code&gt;BigInt&lt;/code&gt; type along with the &lt;code&gt;pow&lt;/code&gt; function are used for such payloads&lt;/a&gt;. Passing an arbitrarily big exponent makes the &lt;code&gt;parse_duration::parse&lt;/code&gt; function to process the payload for a very long time taking up CPU and memory.&lt;/p&gt;&#xA;&lt;p&gt;This allows an attacker to cause a DoS if the &lt;code&gt;parse_duration::parse&lt;/code&gt; function is used to process untrusted input.&lt;/p&gt;&#xA;&#xA;&#xA; &#xA; &#xA; &lt;h3 id=&quot;more&quot;&gt;More&lt;/h3&gt;&#xA;&#xA; &lt;ul&gt;&#xA; &lt;li&gt;&lt;a&#xA; href=&quot;https://github.com/RustSec/advisory-db/commits/main/crates/parse_duration/RUSTSEC-2021-0041.md&quot;&gt;Advisory&#xA; History&lt;/a&gt;&lt;/li&gt;&#xA; &lt;li&gt;&lt;a&#xA; href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/parse_duration/RUSTSEC-2021-0041.md&quot;&gt;Edit&#xA; Advisory&lt;/a&gt;&lt;/li&gt;&#xA; &lt;/ul&gt;&#xA; &#xA; &lt;/article&gt;</content></entry><entry><title>RUSTSEC-2021-0053: Vulnerability in algorithmica</title><id>https://rustsec.org/advisories/RUSTSEC-2021-0053.html</id><updated>2021-03-07T00:00:00+00:00</updated><category term="memory-corruption"/><link href="https://rustsec.org/advisories/RUSTSEC-2021-0053.html" rel="alternate" type="text/html" title="RUSTSEC-2021-0053: Vulnerability in algorithmica"/><published>2021-03-07T00:00:00+00:00</published><summary>&apos;merge_sort::merge()&apos; crashes with double-free for `T: Drop`</summary><content type="html"> &lt;article&gt;&#xA; &lt;header&gt;&#xA; &lt;h1&gt;&#xA; &#xA; &#xA; RUSTSEC-2021-0053&#xA; &#xA; &lt;/h1&gt;&#xA; &lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;&apos;merge_sort::merge()&apos; crashes with double-free for &lt;code&gt;T: Drop&lt;/code&gt;&lt;/p&gt;&#xA;&lt;/span&gt;&#xA; &lt;/header&gt;&#xA;&#xA; &#xA; &#xA;&#xA; &lt;dl&gt;&#xA; &lt;dt id=&quot;issued&quot;&gt;Issued&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;time datetime=&quot;2021-03-07&quot;&gt;&#xA; March 7, 2021&#xA; &lt;/time&gt;&#xA; &lt;/dd&gt;&#xA;&#xA; &lt;dt id=&quot;package&quot;&gt;Package&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; &#xA; &#xA; algorithmica (&lt;a&#xA; href=&quot;https://crates.io/crates/algorithmica&quot;&gt;crates.io&lt;/a&gt;)&#xA; &#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &lt;dt id=&quot;type&quot;&gt;Type&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; &#xA; Vulnerability&#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &#xA; &lt;dt id=&quot;categories&quot;&gt;Categories&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;ul&gt;&#xA; &#xA; &lt;li&gt;memory-corruption&lt;/li&gt;&#xA; &#xA; &lt;/ul&gt;&#xA; &lt;/dd&gt;&#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &lt;dt id=&quot;details&quot;&gt;Details&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &lt;a href=&quot;https:&amp;#x2f;&amp;#x2f;github.com&amp;#x2f;AbrarNitk&amp;#x2f;algorithmica&amp;#x2f;issues&amp;#x2f;1&quot;&gt;&#xA; https:&amp;#x2f;&amp;#x2f;github.com&amp;#x2f;AbrarNitk&amp;#x2f;algorithmica&amp;#x2f;issues&amp;#x2f;1&#xA; &lt;/a&gt;&#xA; &lt;/dd&gt;&#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &#xA; &#xA;&#xA; &lt;dt id=&quot;patched&quot;&gt;Patched&lt;/dt&gt;&#xA; &lt;dd&gt;&#xA; &#xA; no patched versions&#xA; &#xA; &lt;/dd&gt;&#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &#xA; &#xA; &#xA; &lt;/dl&gt;&#xA;&#xA; &#xA;&#xA; &#xA; &#xA;&#xA; &lt;h3 id=&quot;description&quot;&gt;Description&lt;/h3&gt;&#xA; &lt;p&gt;In the affected versions of this crate, &lt;code&gt;merge_sort::merge()&lt;/code&gt; wildly duplicates and drops ownership of &lt;code&gt;T&lt;/code&gt; without guarding against double-free. Due to such implementation,&#xA;simply invoking &lt;code&gt;merge_sort::merge()&lt;/code&gt; on &lt;code&gt;Vec&amp;lt;T: Drop&amp;gt;&lt;/code&gt; can cause &lt;strong&gt;double free&lt;/strong&gt; bugs.&lt;/p&gt;&#xA;&#xA;&#xA; &#xA; &#xA; &lt;h3 id=&quot;more&quot;&gt;More&lt;/h3&gt;&#xA;&#xA; &lt;ul&gt;&#xA; &lt;li&gt;&lt;a&#xA; href=&quot;https://github.com/RustSec/advisory-db/commits/main/crates/algorithmica/RUSTSEC-2021-0053.md&quot;&gt;Advisory&#xA; History&lt;/a&gt;&lt;/li&gt;&#xA; &lt;li&gt;&lt;a&#xA; href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/algorithmica/RUSTSEC-2021-0053.md&quot;&gt;Edit&#xA; Advisory&lt;/a&gt;&lt;/li&gt;&#xA; &lt;/ul&gt;&#xA; &#xA; &lt;/article&gt;</content></entry></feed>