Skip to contentSkip to conversation

package/libnspr: bump to version 4.23

PATCH New Giulio Benetti 3 participants 6 messages Oct 21, 2019 – Oct 30, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 package/libnspr: bump to version 4.23

---
 package/libnspr/libnspr.hash | 2 +-
 package/libnspr/libnspr.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
package/libnspr/libnspr.hash +1 -1
index 321b67956a..0317f20b19 100644
@@ -1,4 +1,4 @@
 # From https://ftp.mozilla.org/pub/nspr/releases/v4.20/src/SHA256SUMS
-sha256	c9e4b6cc24856ec93202fe13704b38b38ba219f0f2aeac93090ce2b6c696d430  nspr-4.22.tar.gz
+sha256	4b9d821037faf5723da901515ed9cac8b23ef1ea3729022259777393453477a4  nspr-4.23.tar.gz
 # Locally calculated
 sha256	fab3dd6bdab226f1c08630b1dd917e11fcb4ec5e1e020e2c16f83a0a13863e85  nspr/LICENSE
package/libnspr/libnspr.mk +1 -1
index 29005d526a..f21f69a746 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBNSPR_VERSION = 4.22
+LIBNSPR_VERSION = 4.23
 LIBNSPR_SOURCE = nspr-$(LIBNSPR_VERSION).tar.gz
 LIBNSPR_SITE = https://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v$(LIBNSPR_VERSION)/src
 LIBNSPR_SUBDIR = nspr
Signature · 1 line
2.20.1
#1 lore raw

PATCH 2/2 package/libnss: security bump to version 3.47

Fixes the following security issues:
CVE-2019-11756: Remove refcounting from sftk_FreeSession

---
 ...build-failure-on-aarch64_be-while-bu.patch | 36 -------------------
 package/libnss/libnss.hash                    |  2 +-
 package/libnss/libnss.mk                      |  2 +-
 3 files changed, 2 insertions(+), 38 deletions(-)
 delete mode 100644 package/libnss/0003-Bug-1580126-Fix-build-failure-on-aarch64_be-while-bu.patch
package/libnss/0003-Bug-1580126-Fix-build-failure-on-aarch64_be-while-bu.patch deleted +0 -36
deleted file mode 100644
index ed415c13d4..0000000000
@@ -1,36 +0,0 @@
-From 6b3819159949ed7fc099e588e2e0669407135121 Mon Sep 17 00:00:00 2001
-From: Giulio Benetti <[email protected]>
-Date: Tue, 10 Sep 2019 11:29:02 +0200
-Subject: [PATCH] Bug 1580126 - Fix build failure on aarch64_be while building
- freebl/gcm
-
-Build failure is caused by different #ifdef conditions in gcm.c and
-gcm-aarch64.c that leads to double declaration of the same gcm_*
-functions.
-
-Fix #ifdef condition in gcm-aarch64.c making it the same as the one in
-gcm.c.
-
-[Upstream: https://bugzilla.mozilla.org/show_bug.cgi?id=1580126]
-Signed-off-by: Giulio Benetti <[email protected]>
----
- nss/lib/freebl/gcm-aarch64.c | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/nss/lib/freebl/gcm-aarch64.c b/nss/lib/freebl/gcm-aarch64.c
-index 65ea9fb5f..3f3c046d7 100644
---- a/nss/lib/freebl/gcm-aarch64.c
-+++ b/nss/lib/freebl/gcm-aarch64.c
-@@ -9,7 +9,8 @@
- #include "secerr.h"
- 
- /* old gcc doesn't support some poly64x2_t intrinsic */
--#if defined(__clang__) || (defined(__GNUC__) && __GNUC__ > 6)
-+#if defined(__aarch64__) && defined(IS_LITTLE_ENDIAN) && \
-+    (defined(__clang__) || defined(__GNUC__) && __GNUC__ > 6)
- 
- #include <arm_neon.h>
- 
--- 
-2.17.1
-
package/libnss/libnss.hash +1 -1
index 53c20149a0..92d6fd3908 100644
@@ -1,4 +1,4 @@
 # From https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_46_1_RTM/src/SHA256SUMS
-sha256	3bf7e0ed7db98803f134c527c436cc68415ff17257d34bd75de14e9a09d13651  nss-3.46.1.tar.gz
+sha256	6cd0c4438b616bdacc0b5f25ff1506b0d07ee97ea6c95d514c5487200a155fa7  nss-3.47.tar.gz
 # Locally calculated
 sha256	a20c1a32d1f8102432360b42e932869f7c11c7cdbacf9cac554c422132af47f4  nss/COPYING
package/libnss/libnss.mk +1 -1
index 5bbd013538..472936db89 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBNSS_VERSION = 3.46.1
+LIBNSS_VERSION = 3.47
 LIBNSS_SOURCE = nss-$(LIBNSS_VERSION).tar.gz
 LIBNSS_SITE = https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_$(subst .,_,$(LIBNSS_VERSION))_RTM/src
 LIBNSS_DISTDIR = dist
Signature · 1 line
2.20.1
#2 lore raw

PATCH 2/2 package/libnss: security bump to version 3.47

Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Giulio" == Giulio Benetti <[email protected]> writes:

Fixes the following security issues:
CVE-2019-11756: Remove refcounting from sftk_FreeSession

Committed to 2019.02.x and 2019.08.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#3 lore raw

PATCH 1/2 package/libnspr: bump to version 4.23

In reply to Giulio Benetti
Quoted 5 lines · On Mon, 21 Oct 2019 16:30:44 +0200 Giulio Benetti…
---
 package/libnspr/libnspr.hash | 2 +-
 package/libnspr/libnspr.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Both applied, thanks. Does the bump of libnss for security reasons requires the bump of libnspr ? This is quite important for the LTS branch.

Thanks,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#4 lore raw

PATCH 1/2 package/libnspr: bump to version 4.23

Quoted 11 lines · Thomas Petazzoni
Quoted 5 lines · On Mon, 21 Oct 2019 16:30:44 +0200 Giulio Benetti…
---
  package/libnspr/libnspr.hash | 2 +-
  package/libnspr/libnspr.mk   | 2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)

Both applied, thanks. Does the bump of libnss for security reasons requires the bump of libnspr ?

Yes, libnss 3.47 requires libnspr >= 4.23 as stated here:
https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_3.47_release_notes#Distribution_Information

Best regards

Signature · 2 lines
Giulio Benetti
Benetti Engineering sas
Quoted 1 line

This is quite important for the LTS branch.