Search
Clear search
Close search
Main menu
Google apps
Groups
Sign in
Groups
dev-tech-crypto@mozilla.org
Conversations
About
Send feedback
Help
about CVE-2024-6609 for nss 3.61 in Debian Bullseye
34 views
Skip to first unread message
Arturo Borrero Gonzalez
unread,
Sep 25, 2024, 8:02:51 PM
9/25/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dev-tec...@mozilla.org
Hi there,
I'm interested in having a patch for CVE-2024-6609 available for the nss version we have in Debian Bullseye (nss 3.61).
We have a note [0] that mentions this:
=== 8< ===
To address CVE in older versions of src:nss what is needed is to add the error
handling code (confirmed by upstream):
https://searchfox.org/nss/rev/ba9330537e6e94971de8b9bc49460891b23afd4f/lib/freebl/ec.c#379-382
to the ec_NewKey function, in the cleanup section, after mp_clear and
before `if (rv)`.
=== 8< ===
I was hoping that you could provide this patch yourself, because I don't think just a copy/paste (like the note seems to suggest), would be enough.
Please, let me know if you can help with this.
thanks, regards.
[0]
https://security-tracker.debian.org/tracker/CVE-2024-6609
John Schanck
unread,
Sep 30, 2024, 5:31:01 PM
9/30/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Arturo Borrero Gonzalez, dev-tec...@mozilla.org
Hi Arturo, the note is correct. Here's the patch:
diff --git lib/freebl/ec.c lib/freebl/ec.c
--- lib/freebl/ec.c
+++ lib/freebl/ec.c
@@ -297,6 +297,10 @@ done:
cleanup:
mp_clear(&k);
+ if (err < MP_OKAY) {
+ MP_TO_SEC_ERROR(err);
+ rv = SECFailure;
+ }
if (rv) {
PORT_FreeArena(arena, PR_TRUE);
}
Cheers,
John
> --
> You received this message because you are subscribed to the Google Groups "
dev-tec...@mozilla.org
" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
dev-tech-cryp...@mozilla.org
.
> To view this discussion on the web visit
https://groups.google.com/a/mozilla.org/d/msgid/dev-tech-crypto/66071e21-a687-49f2-a709-5244a06438b6n%40mozilla.org
.
Reply all
Reply to author
Forward
0 new messages