mirror of
https://github.com/rustsec/advisory-db.git
synced 2026-11-30 22:41:17 -06:00
1 line
44 KiB
XML
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"> <article>
 <header>
 <h1>
 
 
 RUSTSEC-2021-0057
 
 </h1>
 <span class="subtitle"><p>Integer overflow in CipherUpdate</p>
</span>
 </header>

 
 

 <dl>
 <dt id="issued">Issued</dt>
 <dd>
 <time datetime="2021-05-01">
 May 1, 2021
 </time>
 </dd>

 <dt id="package">Package</dt>
 <dd>
 
 
 
 openssl-src (<a
 href="https://crates.io/crates/openssl-src">crates.io</a>)
 
 
 </dd>

 <dt id="type">Type</dt>
 <dd>
 
 
 Vulnerability
 
 </dd>

 
 <dt id="categories">Categories</dt>
 <dd>
 <ul>
 
 <li>denial-of-service</li>
 
 </ul>
 </dd>
 

 
 <dt id="aliases">Aliases</dt>
 <dd>
 <ul>
 
 <li>
 
 
 <a href="https:&#x2f;&#x2f;cve.mitre.org&#x2f;cgi-bin&#x2f;cvename.cgi?name=CVE-2021-23840">CVE-2021-23840</a>
 
 </li>
 
 </ul>
 </dd>
 

 
 <dt id="details">Details</dt>
 <dd>
 <a href="https:&#x2f;&#x2f;www.openssl.org&#x2f;news&#x2f;secadv&#x2f;20210216.txt">
 https:&#x2f;&#x2f;www.openssl.org&#x2f;news&#x2f;secadv&#x2f;20210216.txt
 </a>
 </dd>
 

 
 

 
 
 

 <dt id="patched">Patched</dt>
 <dd>
 
 
 <ul>
 
 <li><code>&gt;=111.14.0</code></li>
 
 </ul>
 
 </dd>

 
 

 
 

 
 
 
 </dl>

 

 
 

 <h3 id="description">Description</h3>
 <p>Calls to <code>EVP_CipherUpdate</code>, <code>EVP_EncryptUpdate</code> and <code>EVP_DecryptUpdate</code> may overflow
the output length argument in some cases where the input length is close to the
maximum permissable length for an integer on the platform. In such cases the
return value from the function call will be 1 (indicating success), but the
output length value will be negative. This could cause applications to behave
incorrectly or crash.</p>


 
 
 <h3 id="more">More</h3>

 <ul>
 <li><a
 href="https://github.com/RustSec/advisory-db/commits/main/crates/openssl-src/RUSTSEC-2021-0057.md">Advisory
 History</a></li>
 <li><a
 href="https://github.com/RustSec/advisory-db/edit/main/crates/openssl-src/RUSTSEC-2021-0057.md">Edit
 Advisory</a></li>
 </ul>
 
 </article></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"> <article>
 <header>
 <h1>
 
 
 RUSTSEC-2021-0055
 
 </h1>
 <span class="subtitle"><p>NULL pointer deref in signature_algorithms processing</p>
</span>
 </header>

 
 

 <dl>
 <dt id="issued">Issued</dt>
 <dd>
 <time datetime="2021-05-01">
 May 1, 2021
 </time>
 </dd>

 <dt id="package">Package</dt>
 <dd>
 
 
 
 openssl-src (<a
 href="https://crates.io/crates/openssl-src">crates.io</a>)
 
 
 </dd>

 <dt id="type">Type</dt>
 <dd>
 
 
 Vulnerability
 
 </dd>

 
 <dt id="categories">Categories</dt>
 <dd>
 <ul>
 
 <li>denial-of-service</li>
 
 </ul>
 </dd>
 

 
 <dt id="aliases">Aliases</dt>
 <dd>
 <ul>
 
 <li>
 
 
 <a href="https:&#x2f;&#x2f;cve.mitre.org&#x2f;cgi-bin&#x2f;cvename.cgi?name=CVE-2021-3449">CVE-2021-3449</a>
 
 </li>
 
 </ul>
 </dd>
 

 
 <dt id="details">Details</dt>
 <dd>
 <a href="https:&#x2f;&#x2f;www.openssl.org&#x2f;news&#x2f;secadv&#x2f;20210325.txt">
 https:&#x2f;&#x2f;www.openssl.org&#x2f;news&#x2f;secadv&#x2f;20210325.txt
 </a>
 </dd>
 

 
 

 
 
 

 <dt id="patched">Patched</dt>
 <dd>
 
 
 <ul>
 
 <li><code>&gt;=111.15.0</code></li>
 
 </ul>
 
 </dd>

 
 

 
 

 
 
 
 </dl>

 

 
 

 <h3 id="description">Description</h3>
 <p>An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation
ClientHello message from a client. If a TLSv1.2 renegotiation ClientHello omits
the signature_algorithms extension (where it was present in the initial
ClientHello), but includes a signature_algorithms_cert extension then a NULL
pointer dereference will result, leading to a crash and a denial of service
attack.</p>
<p>A server is only vulnerable if it has TLSv1.2 and renegotiation enabled (which
is the default configuration). OpenSSL TLS clients are not impacted by this
issue.</p>


 
 
 <h3 id="more">More</h3>

 <ul>
 <li><a
 href="https://github.com/RustSec/advisory-db/commits/main/crates/openssl-src/RUSTSEC-2021-0055.md">Advisory
 History</a></li>
 <li><a
 href="https://github.com/RustSec/advisory-db/edit/main/crates/openssl-src/RUSTSEC-2021-0055.md">Edit
 Advisory</a></li>
 </ul>
 
 </article></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"> <article>
 <header>
 <h1>
 
 
 RUSTSEC-2021-0056
 
 </h1>
 <span class="subtitle"><p>CA certificate check bypass with X509_V_FLAG_X509_STRICT</p>
</span>
 </header>

 
 

 <dl>
 <dt id="issued">Issued</dt>
 <dd>
 <time datetime="2021-05-01">
 May 1, 2021
 </time>
 </dd>

 <dt id="package">Package</dt>
 <dd>
 
 
 
 openssl-src (<a
 href="https://crates.io/crates/openssl-src">crates.io</a>)
 
 
 </dd>

 <dt id="type">Type</dt>
 <dd>
 
 
 Vulnerability
 
 </dd>

 
 <dt id="categories">Categories</dt>
 <dd>
 <ul>
 
 <li>crypto-failure</li>
 
 </ul>
 </dd>
 

 
 <dt id="aliases">Aliases</dt>
 <dd>
 <ul>
 
 <li>
 
 
 <a href="https:&#x2f;&#x2f;cve.mitre.org&#x2f;cgi-bin&#x2f;cvename.cgi?name=CVE-2021-3450">CVE-2021-3450</a>
 
 </li>
 
 </ul>
 </dd>
 

 
 <dt id="details">Details</dt>
 <dd>
 <a href="https:&#x2f;&#x2f;www.openssl.org&#x2f;news&#x2f;secadv&#x2f;20210325.txt">
 https:&#x2f;&#x2f;www.openssl.org&#x2f;news&#x2f;secadv&#x2f;20210325.txt
 </a>
 </dd>
 

 
 

 
 
 

 <dt id="patched">Patched</dt>
 <dd>
 
 
 <ul>
 
 <li><code>&gt;=111.15.0</code></li>
 
 </ul>
 
 </dd>

 
 <dt id="unaffected">Unaffected</dt>
 <dd>
 <ul>
 
 <li><code>&lt;111.11.0</code></li>
 
 </ul>
 </dd>
 

 
 

 
 
 
 </dl>

 

 
 

 <h3 id="description">Description</h3>
 <p>The X509_V_FLAG_X509_STRICT flag enables additional security checks of the
certificates present in a certificate chain. It is not set by default.</p>
<p>Starting from OpenSSL version 1.1.1h a check to disallow certificates in
the chain that have explicitly encoded elliptic curve parameters was added
as an additional strict check.</p>
<p>An error in the implementation of this check meant that the result of a
previous check to confirm that certificates in the chain are valid CA
certificates was overwritten. This effectively bypasses the check
that non-CA certificates must not be able to issue other certificates.</p>
<p>If a &quot;purpose&quot; has been configured then there is a subsequent opportunity
for checks that the certificate is a valid CA. All of the named &quot;purpose&quot;
values implemented in libcrypto perform this check. Therefore, where
a purpose is set the certificate chain will still be rejected even when the
strict flag has been used. A purpose is set by default in libssl client and
server certificate verification routines, but it can be overridden or
removed by an application.</p>
<p>In order to be affected, an application must explicitly set the
X509_V_FLAG_X509_STRICT verification flag and either not set a purpose
for the certificate verification or, in the case of TLS client or server
applications, override the default purpose.</p>


 
 
 <h3 id="more">More</h3>

 <ul>
 <li><a
 href="https://github.com/RustSec/advisory-db/commits/main/crates/openssl-src/RUSTSEC-2021-0056.md">Advisory
 History</a></li>
 <li><a
 href="https://github.com/RustSec/advisory-db/edit/main/crates/openssl-src/RUSTSEC-2021-0056.md">Edit
 Advisory</a></li>
 </ul>
 
 </article></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"> <article>
 <header>
 <h1>
 
 
 RUSTSEC-2021-0058
 
 </h1>
 <span class="subtitle"><p>Null pointer deref in <code>X509_issuer_and_serial_hash()</code></p>
</span>
 </header>

 
 

 <dl>
 <dt id="issued">Issued</dt>
 <dd>
 <time datetime="2021-05-01">
 May 1, 2021
 </time>
 </dd>

 <dt id="package">Package</dt>
 <dd>
 
 
 
 openssl-src (<a
 href="https://crates.io/crates/openssl-src">crates.io</a>)
 
 
 </dd>

 <dt id="type">Type</dt>
 <dd>
 
 
 Vulnerability
 
 </dd>

 
 <dt id="categories">Categories</dt>
 <dd>
 <ul>
 
 <li>denial-of-service</li>
 
 </ul>
 </dd>
 

 
 <dt id="aliases">Aliases</dt>
 <dd>
 <ul>
 
 <li>
 
 
 <a href="https:&#x2f;&#x2f;cve.mitre.org&#x2f;cgi-bin&#x2f;cvename.cgi?name=CVE-2021-23841">CVE-2021-23841</a>
 
 </li>
 
 </ul>
 </dd>
 

 
 <dt id="details">Details</dt>
 <dd>
 <a href="https:&#x2f;&#x2f;www.openssl.org&#x2f;news&#x2f;secadv&#x2f;20210216.txt">
 https:&#x2f;&#x2f;www.openssl.org&#x2f;news&#x2f;secadv&#x2f;20210216.txt
 </a>
 </dd>
 

 
 

 
 
 

 <dt id="patched">Patched</dt>
 <dd>
 
 
 <ul>
 
 <li><code>&gt;=111.14.0</code></li>
 
 </ul>
 
 </dd>

 
 

 
 

 
 
 
 </dl>

 

 
 

 <h3 id="description">Description</h3>
 <p>The OpenSSL public API function <code>X509_issuer_and_serial_hash()</code> attempts to
create a unique hash value based on the issuer and serial number data contained
within an X509 certificate. However it fails to correctly handle any errors
that may occur while parsing the issuer field (which might occur if the issuer
field is maliciously constructed). This may subsequently result in a NULL
pointer deref and a crash leading to a potential denial of service attack.</p>
<p>The function <code>X509_issuer_and_serial_hash()</code> is never directly called by OpenSSL
itself so applications are only vulnerable if they use this function directly
and they use it on certificates that may have been obtained from untrusted
sources.</p>


 
 
 <h3 id="more">More</h3>

 <ul>
 <li><a
 href="https://github.com/RustSec/advisory-db/commits/main/crates/openssl-src/RUSTSEC-2021-0058.md">Advisory
 History</a></li>
 <li><a
 href="https://github.com/RustSec/advisory-db/edit/main/crates/openssl-src/RUSTSEC-2021-0058.md">Edit
 Advisory</a></li>
 </ul>
 
 </article></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"> <article>
 <header>
 <h1>
 
 
 RUSTSEC-2021-0060
 
 </h1>
 <span class="subtitle"><p>merged into the <code>aes</code> crate</p>
</span>
 </header>

 
 

 <dl>
 <dt id="issued">Issued</dt>
 <dd>
 <time datetime="2021-04-29">
 April 29, 2021
 </time>
 </dd>

 <dt id="package">Package</dt>
 <dd>
 
 
 
 aes-soft (<a
 href="https://crates.io/crates/aes-soft">crates.io</a>)
 
 
 </dd>

 <dt id="type">Type</dt>
 <dd>
 
 
 Unmaintained
 
 </dd>

 
 

 
 

 
 <dt id="details">Details</dt>
 <dd>
 <a href="https:&#x2f;&#x2f;github.com&#x2f;RustCrypto&#x2f;block-ciphers&#x2f;pull&#x2f;200">
 https:&#x2f;&#x2f;github.com&#x2f;RustCrypto&#x2f;block-ciphers&#x2f;pull&#x2f;200
 </a>
 </dd>
 

 
 

 
 
 

 <dt id="patched">Patched</dt>
 <dd>
 
 no patched versions
 
 </dd>

 
 

 
 

 
 
 
 </dl>

 

 
 

 <h3 id="description">Description</h3>
 <p>The <code>aes-soft</code> crate has been merged into the <code>aes</code> crate. The new repository
location is at:</p>
<p><a href="https://github.com/RustCrypto/block-ciphers/tree/master/aes">https://github.com/RustCrypto/block-ciphers/tree/master/aes</a></p>
<p>AES-NI is now autodetected at runtime on <code>i686</code>/<code>x86-64</code> platforms.
If AES-NI is not present, the <code>aes</code> crate will fallback to a constant-time
portable software implementation.</p>
<p>To force the use of a constant-time portable implementation on these platforms,
even if AES-NI is available, use the new <code>force-soft</code> feature of the <code>aes</code>
crate to disable autodetection.</p>


 
 
 <h3 id="more">More</h3>

 <ul>
 <li><a
 href="https://github.com/RustSec/advisory-db/commits/main/crates/aes-soft/RUSTSEC-2021-0060.md">Advisory
 History</a></li>
 <li><a
 href="https://github.com/RustSec/advisory-db/edit/main/crates/aes-soft/RUSTSEC-2021-0060.md">Edit
 Advisory</a></li>
 </ul>
 
 </article></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"> <article>
 <header>
 <h1>
 
 
 RUSTSEC-2021-0059
 
 </h1>
 <span class="subtitle"><p>merged into the <code>aes</code> crate</p>
</span>
 </header>

 
 

 <dl>
 <dt id="issued">Issued</dt>
 <dd>
 <time datetime="2021-04-29">
 April 29, 2021
 </time>
 </dd>

 <dt id="package">Package</dt>
 <dd>
 
 
 
 aesni (<a
 href="https://crates.io/crates/aesni">crates.io</a>)
 
 
 </dd>

 <dt id="type">Type</dt>
 <dd>
 
 
 Unmaintained
 
 </dd>

 
 

 
 

 
 <dt id="details">Details</dt>
 <dd>
 <a href="https:&#x2f;&#x2f;github.com&#x2f;RustCrypto&#x2f;block-ciphers&#x2f;pull&#x2f;200">
 https:&#x2f;&#x2f;github.com&#x2f;RustCrypto&#x2f;block-ciphers&#x2f;pull&#x2f;200
 </a>
 </dd>
 

 
 

 
 
 

 <dt id="patched">Patched</dt>
 <dd>
 
 no patched versions
 
 </dd>

 
 

 
 

 
 
 
 </dl>

 

 
 

 <h3 id="description">Description</h3>
 <p>The <code>aesni</code> crate has been merged into the <code>aes</code> crate. The new repository
location is at:</p>
<p><a href="https://github.com/RustCrypto/block-ciphers/tree/master/aes">https://github.com/RustCrypto/block-ciphers/tree/master/aes</a></p>
<p>AES-NI is now autodetected at runtime on <code>i686</code>/<code>x86-64</code> platforms.
If AES-NI is not present, the <code>aes</code> crate will fallback to a constant-time
portable software implementation.</p>
<p>To prevent this fallback (and have absence of AES-NI result in an illegal
instruction crash instead), continue to pass the same RUSTFLAGS which were
previously required for the <code>aesni</code> crate to compile:</p>
<pre><code>RUSTFLAGS=-Ctarget-feature=+aes,+ssse3
</code></pre>


 
 
 <h3 id="more">More</h3>

 <ul>
 <li><a
 href="https://github.com/RustSec/advisory-db/commits/main/crates/aesni/RUSTSEC-2021-0059.md">Advisory
 History</a></li>
 <li><a
 href="https://github.com/RustSec/advisory-db/edit/main/crates/aesni/RUSTSEC-2021-0059.md">Edit
 Advisory</a></li>
 </ul>
 
 </article></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"> <article>
 <header>
 <h1>
 
 
 RUSTSEC-2021-0061
 
 </h1>
 <span class="subtitle"><p>merged into the <code>aes</code> crate</p>
</span>
 </header>

 
 

 <dl>
 <dt id="issued">Issued</dt>
 <dd>
 <time datetime="2021-04-29">
 April 29, 2021
 </time>
 </dd>

 <dt id="package">Package</dt>
 <dd>
 
 
 
 aes-ctr (<a
 href="https://crates.io/crates/aes-ctr">crates.io</a>)
 
 
 </dd>

 <dt id="type">Type</dt>
 <dd>
 
 
 Unmaintained
 
 </dd>

 
 

 
 

 
 <dt id="details">Details</dt>
 <dd>
 <a href="https:&#x2f;&#x2f;github.com&#x2f;RustCrypto&#x2f;block-ciphers&#x2f;pull&#x2f;200">
 https:&#x2f;&#x2f;github.com&#x2f;RustCrypto&#x2f;block-ciphers&#x2f;pull&#x2f;200
 </a>
 </dd>
 

 
 

 
 
 

 <dt id="patched">Patched</dt>
 <dd>
 
 no patched versions
 
 </dd>

 
 

 
 

 
 
 
 </dl>

 

 
 

 <h3 id="description">Description</h3>
 <p>The <code>aes-ctr</code> crate has been merged into the <code>aes</code> crate. The new repository
location is at:</p>
<p><a href="https://github.com/RustCrypto/block-ciphers/tree/master/aes">https://github.com/RustCrypto/block-ciphers/tree/master/aes</a></p>
<p>The <code>aes</code> crate now has an optional <code>ctr</code> feature which autodetects SIMD
features on <code>i686</code>/<code>x86-64</code> targets and uses them if available, or otherwise
falls back to the implementation in the <code>ctr</code> crate.</p>
<p>If you would prefer not to have this autodetection performed, use the <code>aes</code>
crate directly with the <code>ctr</code> crate.</p>


 
 
 <h3 id="more">More</h3>

 <ul>
 <li><a
 href="https://github.com/RustSec/advisory-db/commits/main/crates/aes-ctr/RUSTSEC-2021-0061.md">Advisory
 History</a></li>
 <li><a
 href="https://github.com/RustSec/advisory-db/edit/main/crates/aes-ctr/RUSTSEC-2021-0061.md">Edit
 Advisory</a></li>
 </ul>
 
 </article></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"> <article>
 <header>
 <h1>
 
 
 RUSTSEC-2021-0054
 
 </h1>
 <span class="subtitle"><p>Archives may contain uninitialized memory</p>
</span>
 </header>

 
 

 <dl>
 <dt id="issued">Issued</dt>
 <dd>
 <time datetime="2021-04-28">
 April 28, 2021
 </time>
 </dd>

 <dt id="package">Package</dt>
 <dd>
 
 
 
 rkyv (<a
 href="https://crates.io/crates/rkyv">crates.io</a>)
 
 
 </dd>

 <dt id="type">Type</dt>
 <dd>
 
 
 Vulnerability
 
 </dd>

 
 <dt id="categories">Categories</dt>
 <dd>
 <ul>
 
 <li>memory-exposure</li>
 
 </ul>
 </dd>
 

 
 

 
 <dt id="details">Details</dt>
 <dd>
 <a href="https:&#x2f;&#x2f;github.com&#x2f;djkoloski&#x2f;rkyv&#x2f;issues&#x2f;113">
 https:&#x2f;&#x2f;github.com&#x2f;djkoloski&#x2f;rkyv&#x2f;issues&#x2f;113
 </a>
 </dd>
 

 
 

 
 
 

 <dt id="patched">Patched</dt>
 <dd>
 
 
 <ul>
 
 <li><code>&gt;=0.6.0</code></li>
 
 </ul>
 
 </dd>

 
 

 
 <dt id="keywords">Keywords</dt>
 <dd>
 <ul>
 
 <li>uninitialized</li>
 
 <li>memory</li>
 
 <li>information</li>
 
 <li>leak</li>
 
 </ul>
 </dd>
 

 
 
 
 

 
 
 
 </dl>

 
 
 
 <dl>
 <dt>Affected Functions</dt>
 <dd>Version</dd>
 
 <dt><code>rkyv::Archive::resolve</code></dt>
 <dd>
 <ul>
 
 <li><code>&lt;0.6.0</code></li>
 
 </ul>
 </dd>
 
 </dl>
 
 

 <h3 id="description">Description</h3>
 <p><code>rkyv</code> is a serialization framework that writes struct-compatible memory to be stored or
transmitted. During serialization, struct padding bytes and unused enum bytes may not be
initialized. These bytes may be written to disk or sent over unsecured channels.</p>


 
 
 <h3 id="more">More</h3>

 <ul>
 <li><a
 href="https://github.com/RustSec/advisory-db/commits/main/crates/rkyv/RUSTSEC-2021-0054.md">Advisory
 History</a></li>
 <li><a
 href="https://github.com/RustSec/advisory-db/edit/main/crates/rkyv/RUSTSEC-2021-0054.md">Edit
 Advisory</a></li>
 </ul>
 
 </article></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"> <article>
 <header>
 <h1>
 
 
 RUSTSEC-2021-0041
 
 </h1>
 <span class="subtitle"><p>Denial of service through parsing payloads with too big exponent</p>
</span>
 </header>

 
 

 <dl>
 <dt id="issued">Issued</dt>
 <dd>
 <time datetime="2021-03-18">
 March 18, 2021
 </time>
 </dd>

 <dt id="package">Package</dt>
 <dd>
 
 
 
 parse_duration (<a
 href="https://crates.io/crates/parse_duration">crates.io</a>)
 
 
 </dd>

 <dt id="type">Type</dt>
 <dd>
 
 
 Vulnerability
 
 </dd>

 
 <dt id="categories">Categories</dt>
 <dd>
 <ul>
 
 <li>denial-of-service</li>
 
 </ul>
 </dd>
 

 
 <dt id="aliases">Aliases</dt>
 <dd>
 <ul>
 
 <li>
 
 
 CAN-2021-1000007
 
 </li>
 
 <li>
 
 
 <a href="https:&#x2f;&#x2f;cve.mitre.org&#x2f;cgi-bin&#x2f;cvename.cgi?name=CVE-2021-29932">CVE-2021-29932</a>
 
 </li>
 
 </ul>
 </dd>
 

 
 <dt id="details">Details</dt>
 <dd>
 <a href="https:&#x2f;&#x2f;github.com&#x2f;zeta12ti&#x2f;parse_duration&#x2f;issues&#x2f;21">
 https:&#x2f;&#x2f;github.com&#x2f;zeta12ti&#x2f;parse_duration&#x2f;issues&#x2f;21
 </a>
 </dd>
 

 
 

 
 
 

 <dt id="patched">Patched</dt>
 <dd>
 
 no patched versions
 
 </dd>

 
 

 
 <dt id="keywords">Keywords</dt>
 <dd>
 <ul>
 
 <li>parsing</li>
 
 <li>untrusted data</li>
 
 </ul>
 </dd>
 

 
 
 
 

 
 
 
 </dl>

 
 
 
 <dl>
 <dt>Affected Functions</dt>
 <dd>Version</dd>
 
 <dt><code>parse_duration::parse</code></dt>
 <dd>
 <ul>
 
 <li><code>&gt;=0.0.0</code></li>
 
 </ul>
 </dd>
 
 </dl>
 
 

 <h3 id="description">Description</h3>
 <p>The <code>parse_duration::parse</code> function allows for parsing duration strings with exponents like <code>5e5s</code> where under the hood, the <a href="https://github.com/zeta12ti/parse_duration/blob/26940ab5cd4e3a9d6bd97aa101f8d4bbfd18ee8c/src/parse.rs#L335"><code>BigInt</code> type along with the <code>pow</code> function are used for such payloads</a>. Passing an arbitrarily big exponent makes the <code>parse_duration::parse</code> function to process the payload for a very long time taking up CPU and memory.</p>
<p>This allows an attacker to cause a DoS if the <code>parse_duration::parse</code> function is used to process untrusted input.</p>


 
 
 <h3 id="more">More</h3>

 <ul>
 <li><a
 href="https://github.com/RustSec/advisory-db/commits/main/crates/parse_duration/RUSTSEC-2021-0041.md">Advisory
 History</a></li>
 <li><a
 href="https://github.com/RustSec/advisory-db/edit/main/crates/parse_duration/RUSTSEC-2021-0041.md">Edit
 Advisory</a></li>
 </ul>
 
 </article></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>'merge_sort::merge()' crashes with double-free for `T: Drop`</summary><content type="html"> <article>
 <header>
 <h1>
 
 
 RUSTSEC-2021-0053
 
 </h1>
 <span class="subtitle"><p>'merge_sort::merge()' crashes with double-free for <code>T: Drop</code></p>
</span>
 </header>

 
 

 <dl>
 <dt id="issued">Issued</dt>
 <dd>
 <time datetime="2021-03-07">
 March 7, 2021
 </time>
 </dd>

 <dt id="package">Package</dt>
 <dd>
 
 
 
 algorithmica (<a
 href="https://crates.io/crates/algorithmica">crates.io</a>)
 
 
 </dd>

 <dt id="type">Type</dt>
 <dd>
 
 
 Vulnerability
 
 </dd>

 
 <dt id="categories">Categories</dt>
 <dd>
 <ul>
 
 <li>memory-corruption</li>
 
 </ul>
 </dd>
 

 
 

 
 <dt id="details">Details</dt>
 <dd>
 <a href="https:&#x2f;&#x2f;github.com&#x2f;AbrarNitk&#x2f;algorithmica&#x2f;issues&#x2f;1">
 https:&#x2f;&#x2f;github.com&#x2f;AbrarNitk&#x2f;algorithmica&#x2f;issues&#x2f;1
 </a>
 </dd>
 

 
 

 
 
 

 <dt id="patched">Patched</dt>
 <dd>
 
 no patched versions
 
 </dd>

 
 

 
 

 
 
 
 </dl>

 

 
 

 <h3 id="description">Description</h3>
 <p>In the affected versions of this crate, <code>merge_sort::merge()</code> wildly duplicates and drops ownership of <code>T</code> without guarding against double-free. Due to such implementation,
simply invoking <code>merge_sort::merge()</code> on <code>Vec&lt;T: Drop&gt;</code> can cause <strong>double free</strong> bugs.</p>


 
 
 <h3 id="more">More</h3>

 <ul>
 <li><a
 href="https://github.com/RustSec/advisory-db/commits/main/crates/algorithmica/RUSTSEC-2021-0053.md">Advisory
 History</a></li>
 <li><a
 href="https://github.com/RustSec/advisory-db/edit/main/crates/algorithmica/RUSTSEC-2021-0053.md">Edit
 Advisory</a></li>
 </ul>
 
 </article></content></entry></feed> |