public inbox for ipfire-scm@lists.ipfire.org
 help / color / mirror / Atom feed
* [git.ipfire.org] IPFire 2.x development tree branch, master, updated. e41bb76cc34e17e165cecfbfcd8f974faed23bb7
@ 2022-03-15 17:53 Michael Tremer
  0 siblings, 0 replies; only message in thread
From: Michael Tremer @ 2022-03-15 17:53 UTC (permalink / raw)
  To: ipfire-scm

[-- Attachment #1: Type: text/plain, Size: 9428 bytes --]

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 2.x development tree".

The branch, master has been updated
       via  e41bb76cc34e17e165cecfbfcd8f974faed23bb7 (commit)
       via  0dc98b19ee29348a869b74965e8eb7c15d6415ba (commit)
      from  ebe404ef020fc5091f5b9cee6e2617fc2e45d279 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit e41bb76cc34e17e165cecfbfcd8f974faed23bb7
Author: Stefan Schantl <stefan.schantl(a)ipfire.org>
Date:   Tue Mar 15 18:25:57 2022 +0100

    ids-functions.pl: Skip deleted.rules files
    
    These rulefiles are used by various providers as a kind of reference and
    to store rules which have been taken out for correctness, performance
    reasons or because of other reasons.
    
    Fixes #12794.
    
    Signed-off-by: Stefan Schantl <stefan.schantl(a)ipfire.org>
    Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>

commit 0dc98b19ee29348a869b74965e8eb7c15d6415ba
Author: Michael Tremer <michael.tremer(a)ipfire.org>
Date:   Tue Mar 15 17:51:13 2022 +0000

    openssl: Update to 1.1.1n
    
    OpenSSL Security Advisory [15 March 2022]
    ============================================
    
    Infinite loop in BN_mod_sqrt() reachable when parsing certificates
    (CVE-2022-0778)
    ==================================================================================
    
    Severity: High
    
    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.
    
    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.
    
    It is possible to trigger the infinite loop by crafting a certificate
    that
    has invalid explicit curve parameters.
    
    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.
    
    Thus vulnerable situations include:
    
     - TLS clients consuming server certificates
     - TLS servers consuming client certificates
     - Hosting providers taking certificates or private keys from customers
     - Certificate authorities parsing certification requests from
       subscribers
     - Anything else which parses ASN.1 elliptic curve parameters
    
    Also any other applications that use the BN_mod_sqrt() where the
    attacker
    can control the parameter values are vulnerable to this DoS issue.
    
    In the OpenSSL 1.0.2 version the public key is not parsed during initial
    parsing of the certificate which makes it slightly harder to trigger
    the infinite loop. However any operation which requires the public key
    from the certificate will trigger the infinite loop. In particular the
    attacker can use a self-signed certificate to trigger the loop during
    verification of the certificate signature.
    
    This issue affects OpenSSL versions 1.0.2, 1.1.1 and 3.0.  It was
    addressed in the releases of 1.1.1n and 3.0.2 on the 15th March 2022.
    
    OpenSSL 1.0.2 users should upgrade to 1.0.2zd (premium support customers
    only)
    OpenSSL 1.1.1 users should upgrade to 1.1.1n
    OpenSSL 3.0 users should upgrade to 3.0.2
    
    This issue was reported to OpenSSL on the 24th February 2022 by Tavis
    Ormandy
    from Google. The fix was developed by David Benjamin from Google and
    Tomáš Mráz
    from OpenSSL.
    
    Note
    ====
    
    OpenSSL 1.0.2 is out of support and no longer receiving public updates.
    Extended
    support is available for premium support customers:
    https://www.openssl.org/support/contracts.html
    
    OpenSSL 1.1.0 is out of support and no longer receiving updates of any
    kind.
    It is affected by the issue.
    
    Users of these versions should upgrade to OpenSSL 3.0 or 1.1.1.
    
    References
    ==========
    
    URL for this Security Advisory:
    https://www.openssl.org/news/secadv/20220315.txt
    
    Note: the online version of the advisory may be updated with additional
    details
    over time.
    
    For details of OpenSSL severity classifications please see:
    https://www.openssl.org/policies/secpolicy.html
    
    Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>

-----------------------------------------------------------------------

Summary of changes:
 config/cfgroot/ids-functions.pl | 6 ++++++
 config/rootfiles/common/openssl | 8 ++++++++
 lfs/openssl                     | 4 ++--
 3 files changed, 16 insertions(+), 2 deletions(-)

Difference in files:
diff --git a/config/cfgroot/ids-functions.pl b/config/cfgroot/ids-functions.pl
index c4edd968d..94dccc8ae 100644
--- a/config/cfgroot/ids-functions.pl
+++ b/config/cfgroot/ids-functions.pl
@@ -547,6 +547,12 @@ sub extractruleset ($) {
 				# Skip rule files which are not located in the rules directory or archive root.
 				next unless(($packed_file =~ /^rules\//) || ($packed_file !~ /\//));
 
+				# Skip deleted.rules.
+				#
+				# Mostly they have been taken out for correctness or performance reasons and therfore
+				# it is not a great idea to enable any of them.
+				next if($file =~ m/deleted.rules$/);
+
 				my $rulesfilename;
 
 				# Splitt the filename into chunks.
diff --git a/config/rootfiles/common/openssl b/config/rootfiles/common/openssl
index d690f5be0..a83eb4c47 100644
--- a/config/rootfiles/common/openssl
+++ b/config/rootfiles/common/openssl
@@ -661,6 +661,7 @@ usr/lib/libssl.so.1.1
 #usr/share/doc/openssl/html/man3/BN_mod_mul_montgomery.html
 #usr/share/doc/openssl/html/man3/BN_mod_mul_reciprocal.html
 #usr/share/doc/openssl/html/man3/BN_mod_sqr.html
+#usr/share/doc/openssl/html/man3/BN_mod_sqrt.html
 #usr/share/doc/openssl/html/man3/BN_mod_sub.html
 #usr/share/doc/openssl/html/man3/BN_mod_word.html
 #usr/share/doc/openssl/html/man3/BN_mpi2bn.html
@@ -3481,6 +3482,7 @@ usr/lib/libssl.so.1.1
 #usr/share/doc/openssl/html/man3/X509_STORE_CTX_lookup_certs_fn.html
 #usr/share/doc/openssl/html/man3/X509_STORE_CTX_lookup_crls_fn.html
 #usr/share/doc/openssl/html/man3/X509_STORE_CTX_new.html
+#usr/share/doc/openssl/html/man3/X509_STORE_CTX_purpose_inherit.html
 #usr/share/doc/openssl/html/man3/X509_STORE_CTX_set0_crls.html
 #usr/share/doc/openssl/html/man3/X509_STORE_CTX_set0_param.html
 #usr/share/doc/openssl/html/man3/X509_STORE_CTX_set0_trusted_stack.html
@@ -3492,6 +3494,8 @@ usr/lib/libssl.so.1.1
 #usr/share/doc/openssl/html/man3/X509_STORE_CTX_set_error.html
 #usr/share/doc/openssl/html/man3/X509_STORE_CTX_set_error_depth.html
 #usr/share/doc/openssl/html/man3/X509_STORE_CTX_set_ex_data.html
+#usr/share/doc/openssl/html/man3/X509_STORE_CTX_set_purpose.html
+#usr/share/doc/openssl/html/man3/X509_STORE_CTX_set_trust.html
 #usr/share/doc/openssl/html/man3/X509_STORE_CTX_set_verify.html
 #usr/share/doc/openssl/html/man3/X509_STORE_CTX_set_verify_cb.html
 #usr/share/doc/openssl/html/man3/X509_STORE_CTX_verify_cb.html
@@ -4638,6 +4642,7 @@ usr/lib/libssl.so.1.1
 #usr/share/man/man3/BN_mod_mul_montgomery.3
 #usr/share/man/man3/BN_mod_mul_reciprocal.3
 #usr/share/man/man3/BN_mod_sqr.3
+#usr/share/man/man3/BN_mod_sqrt.3
 #usr/share/man/man3/BN_mod_sub.3
 #usr/share/man/man3/BN_mod_word.3
 #usr/share/man/man3/BN_mpi2bn.3
@@ -7458,6 +7463,7 @@ usr/lib/libssl.so.1.1
 #usr/share/man/man3/X509_STORE_CTX_lookup_certs_fn.3
 #usr/share/man/man3/X509_STORE_CTX_lookup_crls_fn.3
 #usr/share/man/man3/X509_STORE_CTX_new.3
+#usr/share/man/man3/X509_STORE_CTX_purpose_inherit.3
 #usr/share/man/man3/X509_STORE_CTX_set0_crls.3
 #usr/share/man/man3/X509_STORE_CTX_set0_param.3
 #usr/share/man/man3/X509_STORE_CTX_set0_trusted_stack.3
@@ -7469,6 +7475,8 @@ usr/lib/libssl.so.1.1
 #usr/share/man/man3/X509_STORE_CTX_set_error.3
 #usr/share/man/man3/X509_STORE_CTX_set_error_depth.3
 #usr/share/man/man3/X509_STORE_CTX_set_ex_data.3
+#usr/share/man/man3/X509_STORE_CTX_set_purpose.3
+#usr/share/man/man3/X509_STORE_CTX_set_trust.3
 #usr/share/man/man3/X509_STORE_CTX_set_verify.3
 #usr/share/man/man3/X509_STORE_CTX_set_verify_cb.3
 #usr/share/man/man3/X509_STORE_CTX_verify_cb.3
diff --git a/lfs/openssl b/lfs/openssl
index ababd7635..868288560 100644
--- a/lfs/openssl
+++ b/lfs/openssl
@@ -24,7 +24,7 @@
 
 include Config
 
-VER        = 1.1.1m
+VER        = 1.1.1n
 
 THISAPP    = openssl-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
@@ -74,7 +74,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 8ec70f665c145c3103f6e330f538a9db
+$(DL_FILE)_MD5 = 2aad5635f9bb338bc2c6b7d19cbc9676
 
 install : $(TARGET)
 


hooks/post-receive
--
IPFire 2.x development tree

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-15 17:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-15 17:53 [git.ipfire.org] IPFire 2.x development tree branch, master, updated. e41bb76cc34e17e165cecfbfcd8f974faed23bb7 Michael Tremer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox