From ef6ea1c3edc8560ce93d74ff01596ef2c3be6145 Mon Sep 17 00:00:00 2001 From: github-actions Date: Thu, 19 May 2022 17:39:45 +0000 Subject: [PATCH] Update gh-pages --- advisories/RUSTSEC-2022-0026.html | 265 +++++++++++++++++++ advisories/index.html | 21 ++ categories/crypto-failure.html | 21 ++ feed.xml | 408 ++++++++++++++++-------------- packages/index.html | 2 +- packages/openssl-src.html | 21 ++ 6 files changed, 551 insertions(+), 187 deletions(-) create mode 100644 advisories/RUSTSEC-2022-0026.html diff --git a/advisories/RUSTSEC-2022-0026.html b/advisories/RUSTSEC-2022-0026.html new file mode 100644 index 000000000..5375bb6ce --- /dev/null +++ b/advisories/RUSTSEC-2022-0026.html @@ -0,0 +1,265 @@ + + + + + + + +RUSTSEC-2022-0026: openssl-src: Incorrect MAC key used in the RC4-MD5 ciphersuite › RustSec Advisory Database + + + + + + +
+

+ +
+ +
+
+ + + + History ⋅ + Edit + + + +
+

+ + + RUSTSEC-2022-0026 + +

+

Incorrect MAC key used in the RC4-MD5 ciphersuite

+
+
+ + + + +
+
Issued
+
+ +
+ +
Package
+
+ + + + openssl-src + (crates.io) + + +
+ +
Type
+
+ + + Vulnerability + +
+ + +
Categories
+
+ +
+ + + + + + +
Aliases
+
+ +
+ + + +
Details
+
+ + https://www.openssl.org/news/secadv/20220503.txt + +
+ + + + + + + +
CVSS Score
+
5.9 + MEDIUM +
+ +
CVSS Details
+
+
+ + +
Attack vector
Network
+ + + + +
Attack complexity
High + + + + +
Privileges required
None
+ + + + +
User interaction
None
+ + + + +
Scope
Unchanged
+ + + + +
Confidentiality
None
+ + + + +
Integrity
High
+ + + + +
Availability
None
+ +
+
+ +
CVSS Vector
+
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
+ + +
Patched
+
+ + +
    + +
  • >=300.0.6
  • + +
+ +
+ + +
Unaffected
+
+
    + +
  • <300.0
  • + +
+
+ + + + + + + + +
+ + + + + + +

Description

+

The OpenSSL 3.0 implementation of the RC4-MD5 ciphersuite incorrectly uses the +AAD data as the MAC key. This makes the MAC key trivially predictable.

+

An attacker could exploit this issue by performing a man-in-the-middle attack to +modify data being sent from one endpoint to an OpenSSL 3.0 recipient such that +the modified data would still pass the MAC integrity check.

+

Note that data sent from an OpenSSL 3.0 endpoint to a non-OpenSSL 3.0 endpoint +will always be rejected by the recipient and the connection will fail at that +point. Many application protocols require data to be sent from the client to the +server first. Therefore, in such a case, only an OpenSSL 3.0 server would be +impacted when talking to a non-OpenSSL 3.0 client.

+

If both endpoints are OpenSSL 3.0 then the attacker could modify data being +sent in both directions. In this case both clients and servers could be +affected, regardless of the application protocol.

+

Note that in the absence of an attacker this bug means that an OpenSSL 3.0 +endpoint communicating with a non-OpenSSL 3.0 endpoint will fail to complete the +handshake when using this ciphersuite.

+

The confidentiality of data is not impacted by this issue, i.e. an attacker +cannot decrypt data that has been encrypted using this ciphersuite - they can +only modify it.

+

In order for this attack to work both endpoints must legitimately negotiate the +RC4-MD5 ciphersuite. This ciphersuite is not compiled by default in OpenSSL 3.0, +and is not available within the default provider or the default ciphersuite +list. This ciphersuite will never be used if TLSv1.3 has been negotiated. In +order for an OpenSSL 3.0 endpoint to use this ciphersuite the following must +have occurred:

+
    +
  1. OpenSSL must have been compiled with the (non-default) compile time option +enable-weak-ssl-ciphers
  2. +
  3. OpenSSL must have had the legacy provider explicitly loaded (either through +application code or via configuration)
  4. +
  5. The ciphersuite must have been explicitly added to the ciphersuite list
  6. +
  7. The libssl security level must have been set to 0 (default is 1)
  8. +
  9. A version of SSL/TLS below TLSv1.3 must have been negotiated
  10. +
  11. Both endpoints must negotiate the RC4-MD5 ciphersuite in preference to any +others that both endpoints have in common
  12. +
+ +
+
diff --git a/advisories/index.html b/advisories/index.html index 65b970f20..4833401e7 100644 --- a/advisories/index.html +++ b/advisories/index.html @@ -231,6 +231,27 @@

Resource leakage when decoding certificates and keys

+ + +
  • + + + + +

    + + + MEDIUM + + + RUSTSEC-2022-0026: Vulnerability in openssl-src + +

    +

    Incorrect MAC key used in the RC4-MD5 ciphersuite

    +
    +
  • diff --git a/categories/crypto-failure.html b/categories/crypto-failure.html index 73acdea00..2c5a5aef0 100644 --- a/categories/crypto-failure.html +++ b/categories/crypto-failure.html @@ -92,6 +92,27 @@

    Resource leakage when decoding certificates and keys

    +
  • + +
  • + + + + +

    + + + MEDIUM + + + RUSTSEC-2022-0026: Vulnerability in openssl-src + +

    +

    Incorrect MAC key used in the RC4-MD5 ciphersuite

    +
    +
  • diff --git a/feed.xml b/feed.xml index aca4e0e92..b604733a2 100644 --- a/feed.xml +++ b/feed.xml @@ -1061,6 +1061,228 @@ entries will take increasingly more time.</p> <p>Typically such long lived processes might be TLS clients or TLS servers configured to accept client certificate authentication.</p> + </article>RUSTSEC-2022-0026: Vulnerability in openssl-srchttps://rustsec.org/advisories/RUSTSEC-2022-0026.html2022-05-03T00:00:00+00:002022-05-03T00:00:00+00:00Incorrect MAC key used in the RC4-MD5 ciphersuite <article> + + + <span class="floating-menu"> + <a href="https://github.com/RustSec/advisory-db/commits/main/crates/openssl-src/RUSTSEC-2022-0026.md">History</a> ⋅ + <a href="https://github.com/RustSec/advisory-db/edit/main/crates/openssl-src/RUSTSEC-2022-0026.md">Edit</a> + </span> + + + <header> + <h1> + + + RUSTSEC-2022-0026 + + </h1> + <span class="subtitle"><p>Incorrect MAC key used in the RC4-MD5 ciphersuite</p> +</span> + </header> + + + + + <dl> + <dt id="issued">Issued</dt> + <dd> + <time datetime="2022-05-03"> + May 3, 2022 + </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><a href="/categories/crypto-failure.html">crypto-failure</a></li> + + </ul> + </dd> + + + + + + + <dt id="aliases">Aliases</dt> + <dd> + <ul> + + <li> + + + <a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-1434">CVE-2022-1434</a> + + </li> + + </ul> + </dd> + + + + <dt id="details">Details</dt> + <dd> + <a href="https://www.openssl.org/news/secadv/20220503.txt"> + https://www.openssl.org/news/secadv/20220503.txt + </a> + </dd> + + + + + + + + <dt id="cvss_score">CVSS Score</dt> + <dd>5.9 <span class="tag medium"> + MEDIUM + </span></dd> + + <dt id="cvss_details">CVSS Details</dt> + <dd> + <dl> + + + <dt>Attack vector</dt><dd>Network</dd> + + + + + <dt>Attack complexity</dt><dd>High</d> + + + + + <dt>Privileges required</dt><dd>None</dd> + + + + + <dt>User interaction</dt><dd>None</dd> + + + + + <dt>Scope</dt><dd>Unchanged</dd> + + + + + <dt>Confidentiality</dt><dd>None</dd> + + + + + <dt>Integrity</dt><dd>High</dd> + + + + + <dt>Availability</dt><dd>None</dd> + + </dl> + </dd> + + <dt id="cvss">CVSS Vector</dt> + <dd><a href="https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N">CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N</a></dd> + + + <dt id="patched">Patched</dt> + <dd> + + + <ul> + + <li><code>&gt;=300.0.6</code></li> + + </ul> + + </dd> + + + <dt id="unaffected">Unaffected</dt> + <dd> + <ul> + + <li><code>&lt;300.0</code></li> + + </ul> + </dd> + + + + + + + + + </dl> + + + + + + + <h3 id="description">Description</h3> + <p>The OpenSSL 3.0 implementation of the RC4-MD5 ciphersuite incorrectly uses the +AAD data as the MAC key. This makes the MAC key trivially predictable.</p> +<p>An attacker could exploit this issue by performing a man-in-the-middle attack to +modify data being sent from one endpoint to an OpenSSL 3.0 recipient such that +the modified data would still pass the MAC integrity check.</p> +<p>Note that data sent from an OpenSSL 3.0 endpoint to a non-OpenSSL 3.0 endpoint +will always be rejected by the recipient and the connection will fail at that +point. Many application protocols require data to be sent from the client to the +server first. Therefore, in such a case, only an OpenSSL 3.0 server would be +impacted when talking to a non-OpenSSL 3.0 client.</p> +<p>If both endpoints are OpenSSL 3.0 then the attacker could modify data being +sent in both directions. In this case both clients and servers could be +affected, regardless of the application protocol.</p> +<p>Note that in the absence of an attacker this bug means that an OpenSSL 3.0 +endpoint communicating with a non-OpenSSL 3.0 endpoint will fail to complete the +handshake when using this ciphersuite.</p> +<p>The confidentiality of data is not impacted by this issue, i.e. an attacker +cannot decrypt data that has been encrypted using this ciphersuite - they can +only modify it.</p> +<p>In order for this attack to work both endpoints must legitimately negotiate the +RC4-MD5 ciphersuite. This ciphersuite is not compiled by default in OpenSSL 3.0, +and is not available within the default provider or the default ciphersuite +list. This ciphersuite will never be used if TLSv1.3 has been negotiated. In +order for an OpenSSL 3.0 endpoint to use this ciphersuite the following must +have occurred:</p> +<ol> +<li>OpenSSL must have been compiled with the (non-default) compile time option +enable-weak-ssl-ciphers</li> +<li>OpenSSL must have had the legacy provider explicitly loaded (either through +application code or via configuration)</li> +<li>The ciphersuite must have been explicitly added to the ciphersuite list</li> +<li>The libssl security level must have been set to 0 (default is 1)</li> +<li>A version of SSL/TLS below TLSv1.3 must have been negotiated</li> +<li>Both endpoints must negotiate the RC4-MD5 ciphersuite in preference to any +others that both endpoints have in common</li> +</ol> + </article>RUSTSEC-2022-0017: Unsoundness in array-macrohttps://rustsec.org/advisories/RUSTSEC-2022-0017.html2022-04-27T00:00:00+00:002022-04-27T00:00:00+00:00`array!` macro is unsound when its length is impure constant <article> @@ -1191,190 +1413,4 @@ configured to accept client certificate authentication.</p> <p>When an impure constant expression is passed as an array length (such as a result of an impure procedural macro), this can result in the initialization of an array with uninitialized types, which in turn can allow an attacker to execute arbitrary code.</p> <p>The flaw was corrected in commit <a href="https://gitlab.com/KonradBorowski/array-macro/-/commit/d5b63f72090f3809c21ac28f9cfd84f12559bf7d">d5b63f72</a> by making sure that array length is substituted just once.</p> - </article>RUSTSEC-2022-0016: Vulnerability in wasmtimehttps://rustsec.org/advisories/RUSTSEC-2022-0016.html2022-03-31T00:00:00+00:002022-03-31T00:00:00+00:00Use after free with `externref`s and epoch interruption in Wasmtime <article> - - - <span class="floating-menu"> - <a href="https://github.com/RustSec/advisory-db/commits/main/crates/wasmtime/RUSTSEC-2022-0016.md">History</a> ⋅ - <a href="https://github.com/RustSec/advisory-db/edit/main/crates/wasmtime/RUSTSEC-2022-0016.md">Edit</a> - </span> - - - <header> - <h1> - - - RUSTSEC-2022-0016 - - </h1> - <span class="subtitle"><p>Use after free with <code>externref</code>s and epoch interruption in Wasmtime</p> -</span> - </header> - - - - - <dl> - <dt id="issued">Issued</dt> - <dd> - <time datetime="2022-03-31"> - March 31, 2022 - </time> - </dd> - - <dt id="package">Package</dt> - <dd> - - - - <a href="/packages/wasmtime.html">wasmtime</a> - (<a href="https://crates.io/crates/wasmtime">crates.io</a>) - - - </dd> - - <dt id="type">Type</dt> - <dd> - - - Vulnerability - - </dd> - - - <dt id="categories">Categories</dt> - <dd> - <ul> - - <li><a href="/categories/memory-corruption.html">memory-corruption</a></li> - - <li><a href="/categories/memory-exposure.html">memory-exposure</a></li> - - </ul> - </dd> - - - - <dt id="keywords">Keywords</dt> - <dd> - - <a href="/keywords/use-after-free.html">#use-after-free</a> - - <a href="/keywords/Wasm.html">#Wasm</a> - - <a href="/keywords/garbage-collection.html">#garbage-collection</a> - - </dd> - - - - <dt id="aliases">Aliases</dt> - <dd> - <ul> - - <li> - - - <a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-24791">CVE-2022-24791</a> - - </li> - - </ul> - </dd> - - - - <dt id="details">Details</dt> - <dd> - <a href="https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-gwc9-348x-qwv2"> - https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-gwc9-348x-qwv2 - </a> - </dd> - - - - - - - - - - - <dt id="patched">Patched</dt> - <dd> - - - <ul> - - <li><code>&gt;=0.35.2</code></li> - - <li><code>&gt;=0.34.2, &lt;0.35.0</code></li> - - </ul> - - </dd> - - - <dt id="unaffected">Unaffected</dt> - <dd> - <ul> - - <li><code>&lt;0.34.0</code></li> - - </ul> - </dd> - - - - <dt id="keywords">Keywords</dt> - <dd> - - <a href="/keywords/use-after-free.html">#use-after-free</a> - - <a href="/keywords/Wasm.html">#Wasm</a> - - <a href="/keywords/garbage-collection.html">#garbage-collection</a> - - </dd> - - - - - - - - - - - </dl> - - - - - <dl> - <dt>Affected Functions</dt> - <dd>Version</dd> - - <dt><code>wasmtime::Config::epoch_interruption</code></dt> - <dd> - <ul> - - <li><code>^0.34.0</code></li> - - <li><code>^0.34.1</code></li> - - <li><code>^0.35.0</code></li> - - <li><code>^0.35.1</code></li> - - </ul> - </dd> - - </dl> - - - - <h3 id="description">Description</h3> - <p><a href="https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-gwc9-348x-qwv2">Use after free with <code>externref</code>s and epoch interruption in Wasmtime</a></p> - </article> \ No newline at end of file diff --git a/packages/index.html b/packages/index.html index 47410822e..ddb18b3a3 100644 --- a/packages/index.html +++ b/packages/index.html @@ -1427,7 +1427,7 @@
  • openssl-src - (10) + (11)
  • diff --git a/packages/openssl-src.html b/packages/openssl-src.html index 5c36a9fa5..fdfc73f19 100644 --- a/packages/openssl-src.html +++ b/packages/openssl-src.html @@ -71,6 +71,27 @@

    Resource leakage when decoding certificates and keys

    + + +
  • + + + + +

    + + + MEDIUM + + + RUSTSEC-2022-0026: Vulnerability in openssl-src + +

    +

    Incorrect MAC key used in the RC4-MD5 ciphersuite

    +
    +