Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Mar 2022 08:07:05 GMT
From:      Philip Paeps <philip@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: d4b5bde59a13 - main - security/vuxml: add OpenSSL CVE-2022-0778
Message-ID:  <202203160807.22G875eW092619@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by philip:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d4b5bde59a13effc5cb39ffb53a5d8e88b968cda

commit d4b5bde59a13effc5cb39ffb53a5d8e88b968cda
Author:     Philip Paeps <philip@FreeBSD.org>
AuthorDate: 2022-03-16 08:04:46 +0000
Commit:     Philip Paeps <philip@FreeBSD.org>
CommitDate: 2022-03-16 08:04:46 +0000

    security/vuxml: add OpenSSL CVE-2022-0778
    
    Also FreeBSD SA-22:03.openssl.
---
 security/vuxml/vuln-2022.xml | 66 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 66 insertions(+)

diff --git a/security/vuxml/vuln-2022.xml b/security/vuxml/vuln-2022.xml
index 377563dbe782..45c94b41b934 100644
--- a/security/vuxml/vuln-2022.xml
+++ b/security/vuxml/vuln-2022.xml
@@ -1,3 +1,69 @@
+  <vuln vid="ea05c456-a4fd-11ec-90de-1c697aa5a594">
+    <topic>OpenSSL -- Infinite loop in BN_mod_sqrt parsing certificates</topic>
+    <affects>
+      <package>
+	<name>openssl</name>
+	<range><lt>1.1.1n,1</lt></range>
+      </package>
+      <package>
+	<name>openssl-devel</name>
+	<range><lt>3.0.2</lt></range>
+      </package>
+      <package>
+	<name>FreeBSD</name>
+	<range><ge>13.0</ge><lt>13.0_8</lt></range>
+	<range><ge>12.3</ge><lt>12.3_3</lt></range>
+	<range><ge>12.2</ge><lt>12.2_14</lt></range>
+      </package>
+    </affects>
+    <description>
+      <body xmlns="http://www.w3.org/1999/xhtml">;
+	<p>The OpenSSL project reports:</p>
+	<blockquote cite="https://www.openssl.org/news/secadv/20220315.txt">;
+	<p>Infinite loop in BN_mod_sqrt() reachable when parsing certificates
+	  (High)</p>
+	<p>The BN_mod_sqrt() function, which computes a modular square root,
+	  contains a bug that can cause it to loop forever for non-prime
+	  moduli.</p>
+	<p>Internally this function is used when parsing certificates that
+	  contain elliptic curve public keys in compressed form or explicit
+	  elliptic curve parameters with a base point encoded in compressed
+	  form.</p>
+	<p>It is possible to trigger the infinite loop by crafting a
+	  certificate that has invalid explicit curve parameters.</p>
+	<p>Since certificate parsing happens prior to verification of the
+	  certificate signature, any process that parses an externally
+	  supplied certificate may thus be subject to a denial of service
+	  attack. The infinite loop can also be reached when parsing crafted
+	  private keys as they can contain explicit elliptic curve
+	  parameters.</p>
+	<p>Thus vulnerable situations include:</p>
+	<ul>
+	  <li>TLS clients consuming server certificates</li>
+	  <li>TLS servers consuming client certificates</li>
+	  <li>Hosting providers taking certificates or private keys from
+	    customers</li>
+	  <li>Certificate authorities parsing certification requests from
+	    subscribers</li>
+	  <li>Anything else which parses ASN.1 elliptic curve parameters</li>
+	</ul>
+	<p>Also any other applications that use the BN_mod_sqrt() where the
+	  attacker can control the parameter values are vulnerable to this DoS
+	  issue.</p>
+	</blockquote>
+      </body>
+    </description>
+    <references>
+      <cvename>CVE-2022-0778</cvename>
+      <url>https://www.openssl.org/news/secadv/20220315.txt</url>;
+      <freebsdsa>SA-22:03.openssl</freebsdsa>
+    </references>
+    <dates>
+      <discovery>2022-03-15</discovery>
+      <entry>2022-03-16</entry>
+    </dates>
+  </vuln>
+
   <vuln vid="8d20bd48-a4f3-11ec-90de-1c697aa5a594">
     <topic>FreeBSD-kernel -- Multiple WiFi issues</topic>
     <affects>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202203160807.22G875eW092619>