mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Christian Melki <christian.melki@t2data.com>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] openssl: Version bump. 3.3.1 -> 3.3.2
Date: Wed,  4 Sep 2024 19:29:39 +0200	[thread overview]
Message-ID: <20240904172939.2400500-1-christian.melki@t2data.com> (raw)

Minor security fix release.
https://github.com/openssl/openssl/blob/master/CHANGES.md#openssl-33

Plugs CVEs:
CVE-2024-6119 - Possible denial of service in X.509 name checks
CVE-2024-5535 - SSL_select_next_proto buffer overread

* OpenSSL moved permanently redirect to github. New releases
are not available any more at the old URLs.
Add yet another URL to github.

* Forward patches. Applies cleanly with a slight
rework of offset.

Signed-off-by: Christian Melki <christian.melki@t2data.com>
---
 .../0001-debian-targets.patch                               | 0
 patches/{openssl-3.3.1 => openssl-3.3.2}/0002-pic.patch     | 0
 ...nfigure-allow-to-enable-ktls-if-target-does-not-st.patch | 6 +++---
 .../0004-conf-Serialize-allocation-free-of-ssl_names.patch  | 0
 ...nfigure-drop-fzero-call-used-regs-used-gpr-from-De.patch | 0
 patches/{openssl-3.3.1 => openssl-3.3.2}/series             | 0
 rules/openssl.make                                          | 5 +++--
 7 files changed, 6 insertions(+), 5 deletions(-)
 rename patches/{openssl-3.3.1 => openssl-3.3.2}/0001-debian-targets.patch (100%)
 rename patches/{openssl-3.3.1 => openssl-3.3.2}/0002-pic.patch (100%)
 rename patches/{openssl-3.3.1 => openssl-3.3.2}/0003-Configure-allow-to-enable-ktls-if-target-does-not-st.patch (93%)
 rename patches/{openssl-3.3.1 => openssl-3.3.2}/0004-conf-Serialize-allocation-free-of-ssl_names.patch (100%)
 rename patches/{openssl-3.3.1 => openssl-3.3.2}/0005-Configure-drop-fzero-call-used-regs-used-gpr-from-De.patch (100%)
 rename patches/{openssl-3.3.1 => openssl-3.3.2}/series (100%)

diff --git a/patches/openssl-3.3.1/0001-debian-targets.patch b/patches/openssl-3.3.2/0001-debian-targets.patch
similarity index 100%
rename from patches/openssl-3.3.1/0001-debian-targets.patch
rename to patches/openssl-3.3.2/0001-debian-targets.patch
diff --git a/patches/openssl-3.3.1/0002-pic.patch b/patches/openssl-3.3.2/0002-pic.patch
similarity index 100%
rename from patches/openssl-3.3.1/0002-pic.patch
rename to patches/openssl-3.3.2/0002-pic.patch
diff --git a/patches/openssl-3.3.1/0003-Configure-allow-to-enable-ktls-if-target-does-not-st.patch b/patches/openssl-3.3.2/0003-Configure-allow-to-enable-ktls-if-target-does-not-st.patch
similarity index 93%
rename from patches/openssl-3.3.1/0003-Configure-allow-to-enable-ktls-if-target-does-not-st.patch
rename to patches/openssl-3.3.2/0003-Configure-allow-to-enable-ktls-if-target-does-not-st.patch
index 0c49d752e..561cca3b6 100644
--- a/patches/openssl-3.3.1/0003-Configure-allow-to-enable-ktls-if-target-does-not-st.patch
+++ b/patches/openssl-3.3.2/0003-Configure-allow-to-enable-ktls-if-target-does-not-st.patch
@@ -28,7 +28,7 @@ Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
  2 files changed, 2 insertions(+), 2 deletions(-)
 
 diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf
-index c9db9aac28eb..d5ea4737494f 100644
+index cba57b41273f..7fa3eeae412f 100644
 --- a/Configurations/10-main.conf
 +++ b/Configurations/10-main.conf
 @@ -693,7 +693,7 @@ my %targets = (
@@ -41,10 +41,10 @@ index c9db9aac28eb..d5ea4737494f 100644
      "linux-latomic" => {
          inherit_from     => [ "linux-generic32" ],
 diff --git a/Configure b/Configure
-index 3b6617c17719..eeb36812ae0f 100755
+index 238152b2901b..3c7e04a082eb 100755
 --- a/Configure
 +++ b/Configure
-@@ -1778,7 +1778,7 @@ unless ($disabled{devcryptoeng}) {
+@@ -1777,7 +1777,7 @@ unless ($disabled{devcryptoeng}) {
  unless ($disabled{ktls}) {
      $config{ktls}="";
      my $cc = $config{CROSS_COMPILE}.$config{CC};
diff --git a/patches/openssl-3.3.1/0004-conf-Serialize-allocation-free-of-ssl_names.patch b/patches/openssl-3.3.2/0004-conf-Serialize-allocation-free-of-ssl_names.patch
similarity index 100%
rename from patches/openssl-3.3.1/0004-conf-Serialize-allocation-free-of-ssl_names.patch
rename to patches/openssl-3.3.2/0004-conf-Serialize-allocation-free-of-ssl_names.patch
diff --git a/patches/openssl-3.3.1/0005-Configure-drop-fzero-call-used-regs-used-gpr-from-De.patch b/patches/openssl-3.3.2/0005-Configure-drop-fzero-call-used-regs-used-gpr-from-De.patch
similarity index 100%
rename from patches/openssl-3.3.1/0005-Configure-drop-fzero-call-used-regs-used-gpr-from-De.patch
rename to patches/openssl-3.3.2/0005-Configure-drop-fzero-call-used-regs-used-gpr-from-De.patch
diff --git a/patches/openssl-3.3.1/series b/patches/openssl-3.3.2/series
similarity index 100%
rename from patches/openssl-3.3.1/series
rename to patches/openssl-3.3.2/series
diff --git a/rules/openssl.make b/rules/openssl.make
index 066437c9b..b8ca897ab 100644
--- a/rules/openssl.make
+++ b/rules/openssl.make
@@ -16,11 +16,12 @@ PACKAGES-$(PTXCONF_OPENSSL) += openssl
 #
 # Paths and names
 #
-OPENSSL_VERSION		:= 3.3.1
-OPENSSL_MD5		:= 8a4342b399c18f870ca6186299195984
+OPENSSL_VERSION		:= 3.3.2
+OPENSSL_MD5		:= 015fca2692596560b6fe8a2d8fecd84b
 OPENSSL			:= openssl-$(OPENSSL_VERSION)
 OPENSSL_SUFFIX		:= tar.gz
 OPENSSL_URL		:= \
+	https://github.com/openssl/openssl/releases/download/$(OPENSSL)/$(OPENSSL).$(OPENSSL_SUFFIX) \
 	https://www.openssl.org/source/$(OPENSSL).$(OPENSSL_SUFFIX) \
 	https://www.openssl.org/source/old/$(basename $(OPENSSL_VERSION))/$(OPENSSL).$(OPENSSL_SUFFIX)
 OPENSSL_SOURCE		:= $(SRCDIR)/$(OPENSSL).$(OPENSSL_SUFFIX)
-- 
2.34.1




             reply	other threads:[~2024-09-04 17:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-04 17:29 Christian Melki [this message]
2024-09-12 12:12 ` [ptxdist] [APPLIED] " Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240904172939.2400500-1-christian.melki@t2data.com \
    --to=christian.melki@t2data.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox