mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 05:49:57 +00:00
nss: patch CVE-2024-6609
Pick the same patch as Debian took for bullseye. There is no direct backport to version prior 3.102 because commit NSS_3_101_BETA2-12-g8d94c529b [1] rewrote this code. Applied patch was proposed for old versions in [2] and already applied in Debian bullseye. I could not find suitable upstream status, inappropriate is the best I could pick from offered possibilities. [1] https://github.com/nss-dev/nss/commit/8d94c529b333194d080c4885ddd3a40e6c296ae9< [2] https://groups.google.com/a/mozilla.org/g/dev-tech-crypto/c/t9JmsYkujWM/m/HjKuk-ngBAAJ Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
committed by
Armin Kuster
parent
8ad3c43248
commit
277128e71a
@@ -0,0 +1,30 @@
|
||||
From 41550b24b92c4a5971da9842e5e9f2b452aceca8 Tue Oct 29 22:44:57 2024
|
||||
From: Peter Marko <peter.marko@siemens.com>
|
||||
Date: Tue, 29 Oct 2024 22:44:57 +0100
|
||||
Subject: [PATCH] fix CVE-2024-6609
|
||||
|
||||
CVE: CVE-2024-6609
|
||||
Upstream-Status: Inappropriate [upstream ticket: https://groups.google.com/a/mozilla.org/g/dev-tech-crypto/c/t9JmsYkujWM/m/HjKuk-ngBAAJ]
|
||||
Signed-off-by: Peter Marko <peter.marko@siemens.com>
|
||||
---
|
||||
nss/lib/freebl/ec.c | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/nss/lib/freebl/ec.c b/nss/lib/freebl/ec.c
|
||||
index 73a625a..c9490da 100644
|
||||
--- a/nss/lib/freebl/ec.c
|
||||
+++ b/nss/lib/freebl/ec.c
|
||||
@@ -302,6 +302,10 @@ done:
|
||||
|
||||
cleanup:
|
||||
mp_clear(&k);
|
||||
+ if (err < MP_OKAY) {
|
||||
+ MP_TO_SEC_ERROR(err);
|
||||
+ rv = SECFailure;
|
||||
+ }
|
||||
if (rv) {
|
||||
PORT_FreeArena(arena, PR_TRUE);
|
||||
}
|
||||
--
|
||||
2.30.2
|
||||
|
||||
@@ -33,6 +33,7 @@ SRC_URI = "http://ftp.mozilla.org/pub/security/nss/releases/${VERSION_DIR}/src/$
|
||||
file://nss-fix-nsinstall-build.patch \
|
||||
file://0001-freebl-add-a-configure-option-to-disable-ARM-HW-cryp.patch \
|
||||
file://CVE-2024-6602.patch \
|
||||
file://CVE-2024-6609.patch \
|
||||
"
|
||||
SRC_URI[sha256sum] = "f549cc33d35c0601674bfacf7c6ad683c187595eb4125b423238d3e9aa4209ce"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user