RustSec Advisorieshttps://rustsec.org/feed.xml2021-05-22T00:00:00+00:00RustSechttps://rustsec.org/favicon.icoSecurity advisories filed against Rust cratesRUSTSEC-2021-0069: Vulnerability in lettrehttps://rustsec.org/advisories/RUSTSEC-2021-0069.html2021-05-22T00:00:00+00:002021-05-22T00:00:00+00:00SMTP command injection in body <article> <header> <h1> RUSTSEC-2021-0069 </h1> <span class="subtitle"><p>SMTP command injection in body</p> </span> </header> <dl> <dt id="issued">Issued</dt> <dd> <time datetime="2021-05-22"> May 22, 2021 </time> </dd> <dt id="package">Package</dt> <dd> <a href="/packages/lettre.html">lettre</a> (<a href="https://crates.io/crates/lettre">crates.io</a>) </dd> <dt id="type">Type</dt> <dd> Vulnerability </dd> <dt id="categories">Categories</dt> <dd> <ul> <li>format-injection</li> </ul> </dd> <dt id="aliases">Aliases</dt> <dd> <ul> <li> GHSA-qc36-q22q-cjw3 </li> </ul> </dd> <dt id="details">Details</dt> <dd> <a href="https:&#x2f;&#x2f;github.com&#x2f;lettre&#x2f;lettre&#x2f;pull&#x2f;627&#x2f;commits&#x2f;93458d01fed0ec81c0e7b4e98e6f35961356fae2"> https:&#x2f;&#x2f;github.com&#x2f;lettre&#x2f;lettre&#x2f;pull&#x2f;627&#x2f;commits&#x2f;93458d01fed0ec81c0e7b4e98e6f35961356fae2 </a> </dd> <dt id="patched">Patched</dt> <dd> <ul> <li><code>&gt;=0.10.0-rc.3</code></li> <li><code>&lt;0.10.0-alpha.1, &gt;=0.9.6</code></li> </ul> </dd> <dt id="unaffected">Unaffected</dt> <dd> <ul> <li><code>&lt;0.7.0</code></li> </ul> </dd> <dt id="keywords">Keywords</dt> <dd> <ul> <li>email</li> <li>smtp</li> </ul> </dd> </dl> <dl> <dt>Affected Functions</dt> <dd>Version</dd> <dt><code>lettre::smtp::SmtpTransport::send</code></dt> <dd> <ul> <li><code>&lt;0.10.0-alpha.1</code></li> </ul> </dd> <dt><code>lettre::transport::smtp::SmtpTransport::send</code></dt> <dd> <ul> <li><code>&gt;=0.10.0-alpha.1, &lt;0.10.0-rc.3</code></li> </ul> </dd> <dt><code>lettre::transport::smtp::SmtpTransport::send_raw</code></dt> <dd> <ul> <li><code>&gt;=0.10.0-alpha.1, &lt;0.10.0-rc.3</code></li> </ul> </dd> </dl> <h3 id="description">Description</h3> <p>Affected versions of lettre allowed SMTP command injection through an attacker's controlled message body. The module for escaping lines starting with a period wouldn't catch a period that was placed after a double CRLF sequence, allowing the attacker to end the current message and write arbitrary SMTP commands after it.</p> <p>The flaw is fixed by correctly handling consecutive CRLF sequences.</p> <h3 id="more">More</h3> <ul> <li><a href="https://github.com/RustSec/advisory-db/commits/main/crates/lettre/RUSTSEC-2021-0069.md">Advisory History</a></li> <li><a href="https://github.com/RustSec/advisory-db/edit/main/crates/lettre/RUSTSEC-2021-0069.md">Edit Advisory</a></li> </ul> </article>RUSTSEC-2021-0067: Vulnerability in cranelift-codegenhttps://rustsec.org/advisories/RUSTSEC-2021-0067.html2021-05-21T00:00:00+00:002021-05-21T00:00:00+00:00Memory access due to code generation flaw in Cranelift module <article> <header> <h1> RUSTSEC-2021-0067 </h1> <span class="subtitle"><p>Memory access due to code generation flaw in Cranelift module</p> </span> </header> <dl> <dt id="issued">Issued</dt> <dd> <time datetime="2021-05-21"> May 21, 2021 </time> </dd> <dt id="package">Package</dt> <dd> <a href="/packages/cranelift-codegen.html">cranelift-codegen</a> (<a href="https://crates.io/crates/cranelift-codegen">crates.io</a>) </dd> <dt id="type">Type</dt> <dd> Vulnerability </dd> <dt id="categories">Categories</dt> <dd> <ul> <li>code-execution</li> <li>memory-corruption</li> <li>memory-exposure</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-32629">CVE-2021-32629</a> </li> </ul> </dd> <dt id="details">Details</dt> <dd> <a href="https:&#x2f;&#x2f;github.com&#x2f;bytecodealliance&#x2f;wasmtime&#x2f;security&#x2f;advisories&#x2f;GHSA-hpqh-2wqx-7qp5"> https:&#x2f;&#x2f;github.com&#x2f;bytecodealliance&#x2f;wasmtime&#x2f;security&#x2f;advisories&#x2f;GHSA-hpqh-2wqx-7qp5 </a> </dd> <dt id="patched">Patched</dt> <dd> <ul> <li><code>&gt;=0.73.1</code></li> <li><code>&gt;=0.74.0</code></li> </ul> </dd> <dt id="keywords">Keywords</dt> <dd> <ul> <li>miscompile</li> <li>sandbox</li> <li>wasm</li> </ul> </dd> <dt>Affected Architectures</dt> <dd> <ul> <li><code>x86</code></li> </ul> </dd> </dl> <h3 id="description">Description</h3> <p>There is a bug in 0.73.0 of the Cranelift x64 backend that can create a scenario that could result in a potential sandbox escape in a WebAssembly module. Users of versions 0.73.0 of Cranelift should upgrade to either 0.73.1 or 0.74 to remediate this vulnerability. Users of Cranelift prior to 0.73.0 should update to 0.73.1 or 0.74 if they were not using the old default backend.</p> <p>More details can be found in the GitHub Security Advisory at:</p> <p><a href="https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-hpqh-2wqx-7qp5">https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-hpqh-2wqx-7qp5</a></p> <h3 id="more">More</h3> <ul> <li><a href="https://github.com/RustSec/advisory-db/commits/main/crates/cranelift-codegen/RUSTSEC-2021-0067.md">Advisory History</a></li> <li><a href="https://github.com/RustSec/advisory-db/edit/main/crates/cranelift-codegen/RUSTSEC-2021-0067.md">Edit Advisory</a></li> </ul> </article>RUSTSEC-2021-0068: Vulnerability in iced-x86https://rustsec.org/advisories/RUSTSEC-2021-0068.html2021-05-19T00:00:00+00:002021-05-19T00:00:00+00:00Soundness issue in `iced-x86` versions <= 1.10.3 <article> <header> <h1> RUSTSEC-2021-0068 </h1> <span class="subtitle"><p>Soundness issue in <code>iced-x86</code> versions &lt;= 1.10.3</p> </span> </header> <dl> <dt id="issued">Issued</dt> <dd> <time datetime="2021-05-19"> May 19, 2021 </time> </dd> <dt id="package">Package</dt> <dd> <a href="/packages/iced-x86.html">iced-x86</a> (<a href="https://crates.io/crates/iced-x86">crates.io</a>) </dd> <dt id="type">Type</dt> <dd> Vulnerability </dd> <dt id="details">Details</dt> <dd> <a href="https:&#x2f;&#x2f;github.com&#x2f;icedland&#x2f;iced&#x2f;issues&#x2f;168"> https:&#x2f;&#x2f;github.com&#x2f;icedland&#x2f;iced&#x2f;issues&#x2f;168 </a> </dd> <dt id="patched">Patched</dt> <dd> <ul> <li><code>&gt;1.10.3</code></li> </ul> </dd> <dt id="keywords">Keywords</dt> <dd> <ul> <li>soundness</li> </ul> </dd> </dl> <dl> <dt>Affected Functions</dt> <dd>Version</dd> <dt><code>iced_x86::Decoder::new</code></dt> <dd> <ul> <li><code>&lt;=1.10.3</code></li> </ul> </dd> </dl> <h3 id="description">Description</h3> <p>Versions of iced-x86 &lt;= 1.10.3 invoke undefined behavior which may cause soundness issues in crates using the <code>iced_x86::Decoder</code> struct. The <code>Decoder::new()</code> function made a call to <code>slice.get_unchecked(slice.length())</code> to get the end position of the input buffer. The flaw was fixed with safe logic that does not invoke undefined behavior.</p> <p>More details can be found at <a href="https://github.com/icedland/iced/issues/168">https://github.com/icedland/iced/issues/168</a>.</p> <h3 id="more">More</h3> <ul> <li><a href="https://github.com/RustSec/advisory-db/commits/main/crates/iced-x86/RUSTSEC-2021-0068.md">Advisory History</a></li> <li><a href="https://github.com/RustSec/advisory-db/edit/main/crates/iced-x86/RUSTSEC-2021-0068.md">Edit Advisory</a></li> </ul> </article>RUSTSEC-2021-0066: Vulnerability in evm-corehttps://rustsec.org/advisories/RUSTSEC-2021-0066.html2021-05-11T00:00:00+00:002021-05-11T00:00:00+00:00Denial of service on EVM execution due to memory over-allocation <article> <header> <h1> RUSTSEC-2021-0066 </h1> <span class="subtitle"><p>Denial of service on EVM execution due to memory over-allocation</p> </span> </header> <dl> <dt id="issued">Issued</dt> <dd> <time datetime="2021-05-11"> May 11, 2021 </time> </dd> <dt id="package">Package</dt> <dd> <a href="/packages/evm-core.html">evm-core</a> (<a href="https://crates.io/crates/evm-core">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="details">Details</dt> <dd> <a href="https:&#x2f;&#x2f;github.com&#x2f;rust-blockchain&#x2f;evm"> https:&#x2f;&#x2f;github.com&#x2f;rust-blockchain&#x2f;evm </a> </dd> <dt id="patched">Patched</dt> <dd> <ul> <li><code>&gt;=0.26.1</code></li> <li><code>&gt;=0.25.1, &lt;0.26.0</code></li> <li><code>&gt;=0.24.1, &lt;0.25.0</code></li> <li><code>&gt;=0.23.1, &lt;0.24.0</code></li> <li><code>&gt;=0.21.1, &lt;0.22.0</code></li> </ul> </dd> </dl> <h3 id="description">Description</h3> <p>Prior to the patch, when executing specific EVM opcodes related to memory operations that use <code>evm_core::Memory::copy_large</code>, the crate can over-allocate memory when it is not needed, making it possible for an attacker to perform denial-of-service attack.</p> <p>The flaw was corrected in commit <code>19ade85</code>.</p> <h3 id="more">More</h3> <ul> <li><a href="https://github.com/RustSec/advisory-db/commits/main/crates/evm-core/RUSTSEC-2021-0066.md">Advisory History</a></li> <li><a href="https://github.com/RustSec/advisory-db/edit/main/crates/evm-core/RUSTSEC-2021-0066.md">Edit Advisory</a></li> </ul> </article>RUSTSEC-2021-0065: anymap is unmaintainedhttps://rustsec.org/advisories/RUSTSEC-2021-0065.html2021-05-07T00:00:00+00:002021-05-07T00:00:00+00:00anymap is unmaintained. <article> <header> <h1> RUSTSEC-2021-0065 </h1> <span class="subtitle"><p>anymap is unmaintained.</p> </span> </header> <dl> <dt id="issued">Issued</dt> <dd> <time datetime="2021-05-07"> May 7, 2021 </time> </dd> <dt id="package">Package</dt> <dd> <a href="/packages/anymap.html">anymap</a> (<a href="https://crates.io/crates/anymap">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;chris-morgan&#x2f;anymap&#x2f;issues&#x2f;37"> https:&#x2f;&#x2f;github.com&#x2f;chris-morgan&#x2f;anymap&#x2f;issues&#x2f;37 </a> </dd> <dt id="patched">Patched</dt> <dd> no patched versions </dd> </dl> <h3 id="description">Description</h3> <p>The <code>anymap</code> crate does not appear to be maintained, and the most recent published version 0.12.1 includes a soundness bug. This has been <a href="https://github.com/chris-morgan/anymap/pull/32">fixed</a> a few years ago, but was never released.</p> <h3 id="more">More</h3> <ul> <li><a href="https://github.com/RustSec/advisory-db/commits/main/crates/anymap/RUSTSEC-2021-0065.md">Advisory History</a></li> <li><a href="https://github.com/RustSec/advisory-db/edit/main/crates/anymap/RUSTSEC-2021-0065.md">Edit Advisory</a></li> </ul> </article>RUSTSEC-2021-0064: cpuid-bool is unmaintainedhttps://rustsec.org/advisories/RUSTSEC-2021-0064.html2021-05-06T00:00:00+00:002021-05-06T00:00:00+00:00`cpuid-bool` has been renamed to `cpufeatures` <article> <header> <h1> RUSTSEC-2021-0064 </h1> <span class="subtitle"><p><code>cpuid-bool</code> has been renamed to <code>cpufeatures</code></p> </span> </header> <dl> <dt id="issued">Issued</dt> <dd> <time datetime="2021-05-06"> May 6, 2021 </time> </dd> <dt id="package">Package</dt> <dd> <a href="/packages/cpuid-bool.html">cpuid-bool</a> (<a href="https://crates.io/crates/cpuid-bool">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;utils&#x2f;pull&#x2f;381"> https:&#x2f;&#x2f;github.com&#x2f;RustCrypto&#x2f;utils&#x2f;pull&#x2f;381 </a> </dd> <dt id="patched">Patched</dt> <dd> no patched versions </dd> </dl> <h3 id="description">Description</h3> <p>Please use the `cpufeatures`` crate going forward:</p> <p><a href="https://github.com/RustCrypto/utils/tree/master/cpufeatures">https://github.com/RustCrypto/utils/tree/master/cpufeatures</a></p> <p>There will be no further releases of <code>cpuid-bool</code>.</p> <h3 id="more">More</h3> <ul> <li><a href="https://github.com/RustSec/advisory-db/commits/main/crates/cpuid-bool/RUSTSEC-2021-0064.md">Advisory History</a></li> <li><a href="https://github.com/RustSec/advisory-db/edit/main/crates/cpuid-bool/RUSTSEC-2021-0064.md">Edit Advisory</a></li> </ul> </article>RUSTSEC-2021-0063: Vulnerability in comrakhttps://rustsec.org/advisories/RUSTSEC-2021-0063.html2021-05-04T00:00:00+00:002021-05-04T00:00:00+00:00XSS in `comrak` <article> <header> <h1> RUSTSEC-2021-0063 </h1> <span class="subtitle"><p>XSS in <code>comrak</code></p> </span> </header> <dl> <dt id="issued">Issued</dt> <dd> <time datetime="2021-05-04"> May 4, 2021 </time> </dd> <dt id="package">Package</dt> <dd> <a href="/packages/comrak.html">comrak</a> (<a href="https://crates.io/crates/comrak">crates.io</a>) </dd> <dt id="type">Type</dt> <dd> Vulnerability </dd> <dt id="categories">Categories</dt> <dd> <ul> <li>format-injection</li> </ul> </dd> <dt id="details">Details</dt> <dd> <a href="https:&#x2f;&#x2f;github.com&#x2f;kivikakk&#x2f;comrak&#x2f;releases&#x2f;tag&#x2f;0.10.1"> https:&#x2f;&#x2f;github.com&#x2f;kivikakk&#x2f;comrak&#x2f;releases&#x2f;tag&#x2f;0.10.1 </a> </dd> <dt id="patched">Patched</dt> <dd> <ul> <li><code>&gt;=0.10.1</code></li> </ul> </dd> <dt id="keywords">Keywords</dt> <dd> <ul> <li>xss</li> </ul> </dd> </dl> <h3 id="description">Description</h3> <p><a href="https://github.com/kivikakk/comrak">comrak</a> operates by default in a &quot;safe&quot; mode of operation where unsafe content, such as arbitrary raw HTML or URLs with non-standard schemes, are not permitted in the output. This is per the reference GFM implementation, <a href="https://github.com/github/cmark">cmark-gfm</a>.</p> <p>Ampersands were not being correctly escaped in link targets, making it possible to fashion unsafe URLs using schemes like <code>data:</code> or <code>javascript:</code> by entering them as HTML entities, e.g. <code>&amp;#x64&amp;#x61&amp;#x74&amp;#x61&amp;#x3a</code>. The intended behaviour, demonstrated upstream, is that these should be escaped and therefore harmless, but this behaviour was broken in comrak.</p> <h3 id="more">More</h3> <ul> <li><a href="https://github.com/RustSec/advisory-db/commits/main/crates/comrak/RUSTSEC-2021-0063.md">Advisory History</a></li> <li><a href="https://github.com/RustSec/advisory-db/edit/main/crates/comrak/RUSTSEC-2021-0063.md">Edit Advisory</a></li> </ul> </article>RUSTSEC-2021-0056: Vulnerability in openssl-srchttps://rustsec.org/advisories/RUSTSEC-2021-0056.html2021-05-01T00:00:00+00:002021-05-01T00:00:00+00:00CA certificate check bypass with X509_V_FLAG_X509_STRICT <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> <a href="/packages/openssl-src.html">openssl-src</a> (<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>RUSTSEC-2021-0057: Vulnerability in openssl-srchttps://rustsec.org/advisories/RUSTSEC-2021-0057.html2021-05-01T00:00:00+00:002021-05-01T00:00:00+00:00Integer overflow in CipherUpdate <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> <a href="/packages/openssl-src.html">openssl-src</a> (<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>RUSTSEC-2021-0058: Vulnerability in openssl-srchttps://rustsec.org/advisories/RUSTSEC-2021-0058.html2021-05-01T00:00:00+00:002021-05-01T00:00:00+00:00Null pointer deref in `X509_issuer_and_serial_hash()` <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> <a href="/packages/openssl-src.html">openssl-src</a> (<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>