public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Peter Lemenkov <lemenkov@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/erlang] f43: Backported fixes for CVE-2026-124286
Date: Wed, 25 Nov 2026 16:04:25 GMT [thread overview]
Message-ID: <179562266517.1.17546100484271252720.rpms-erlang-46f43e5b0bd2@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/erlang
Branch : f43
Commit : 46f43e5b0bd20883ac03549d09a3a6a0f2363eec
Author : Peter Lemenkov <lemenkov@gmail.com>
Date : 2026-11-25T17:02:59+01:00
Stats : +46/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/erlang/c/46f43e5b0bd20883ac03549d09a3a6a0f2363eec?branch=f43
Log:
Backported fixes for CVE-2026-124286
- CVE-2026-124286: reject anonymous server signature on TLS 1.2/DTLS client
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
---
diff --git a/erlang.spec b/erlang.spec
index 83e0bcb..87bb97e 100644
--- a/erlang.spec
+++ b/erlang.spec
@@ -70,7 +70,7 @@
Name: erlang
Version: 26.2.5.21
-Release: 11%{?dist}
+Release: 12%{?dist}
Summary: General-purpose programming language and runtime environment
License: Apache-2.0
@@ -128,6 +128,7 @@ Patch26: otp-0026-ssl-Check-message-type-for-extension-decoding.patch
Patch27: otp-0027-inets-stdlib-eldap-Bound-integer-parsing-to-mitigate.patch
Patch28: otp-0028-snmp-Bound-integer-parsing-in-the-BER-decoder.patch
Patch29: otp-0029-ssl-Check-SNI-in-TLS-1.2-session-reuse.patch
+Patch30: otp-0030-ssl-Make-anonymous-handling-stricter.patch
# end of autogenerated patch tag list
BuildRequires: gcc
@@ -1976,6 +1977,9 @@ ERL_TOP=${ERL_TOP} make TARGET=${TARGET} release_tests
%changelog
+* Wed Nov 25 2026 Peter Lemenkov <lemenkov@gmail.com> - 26.2.5.21-12
+- CVE-2026-124286: reject anonymous server signature on TLS 1.2/DTLS client
+
* Mon Nov 2 2026 Peter Lemenkov <lemenkov@gmail.com> - 26.2.5.21-11
- CVE-2026-59696: bound integer parsing in uri_string, httpc, eldap, snmp
- CVE-2026-94200: check message type when decoding TLS extensions
diff --git a/otp-0030-ssl-Make-anonymous-handling-stricter.patch b/otp-0030-ssl-Make-anonymous-handling-stricter.patch
new file mode 100644
index 0000000..6dc9fa3
--- /dev/null
+++ b/otp-0030-ssl-Make-anonymous-handling-stricter.patch
@@ -0,0 +1,41 @@
+From: Ingela Anderton Andin <ingela@erlang.org>
+Date: Tue, 9 Jun 2026 08:47:27 +0200
+Subject: [PATCH] ssl: Make anonymous handling stricter
+
+Only possibly affets legacy DHE_DSS
+
+Fixes CVE-2026-124286.
+
+(cherry picked from commit d9a931963d3d49c7f73ea509221c9c66737977c7)
+
+Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
+Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
+---
+ lib/ssl/src/ssl_handshake.erl | 7 +------
+ 1 file changed, 1 insertion(+), 6 deletions(-)
+
+diff --git a/lib/ssl/src/ssl_handshake.erl b/lib/ssl/src/ssl_handshake.erl
+index 59611e50c4..381a3a5e3e 100644
+--- a/lib/ssl/src/ssl_handshake.erl
++++ b/lib/ssl/src/ssl_handshake.erl
+@@ -422,9 +422,6 @@ verify_signature(?TLS_1_3, Msg, {_, eddsa}, Signature, {?'id-Ed448', PubKey, Pub
+ verify_signature(_, Msg, {HashAlgo, _SignAlg}, Signature,
+ {?'id-ecPublicKey', PublicKey, PublicKeyParams}) ->
+ public_key:verify(Msg, HashAlgo, Signature, {PublicKey, PublicKeyParams});
+-verify_signature(Version, _Msg, {_HashAlgo, anon}, _Signature, _)
+- when ?TLS_1_X(Version), ?TLS_LTE(Version, ?TLS_1_2) ->
+- true;
+ verify_signature(Version, Msg, {HashAlgo, dsa}, Signature, {?'id-dsa', PublicKey, PublicKeyParams})
+ when ?TLS_1_X(Version), ?TLS_LTE(Version, ?TLS_1_2) ->
+ public_key:verify(Msg, HashAlgo, Signature, {PublicKey, PublicKeyParams}).
+@@ -2794,9 +2791,7 @@ dec_server_key_signature(Params, <<?BYTE(HashAlgo), ?BYTE(SignAlgo),
+ when ?TLS_GTE(Version, ?TLS_1_2) ->
+ HashSign = {ssl_cipher:hash_algorithm(HashAlgo), ssl_cipher:sign_algorithm(SignAlgo)},
+ {Params, HashSign, Signature};
+-dec_server_key_signature(Params, <<>>, _) ->
+- {Params, {null, anon}, <<>>};
+-dec_server_key_signature(Params, <<?UINT16(0)>>, _) ->
++dec_server_key_signature(Params, <<>>, Version) when ?TLS_LTE(Version, ?TLS_1_2) ->
+ {Params, {null, anon}, <<>>};
+ dec_server_key_signature(Params, <<?UINT16(Len), Signature:Len/binary>>, _) ->
+ {Params, undefined, Signature};
reply other threads:[~2026-11-25 16:04 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=179562266517.1.17546100484271252720.rpms-erlang-46f43e5b0bd2@fedoraproject.org \
--to=lemenkov@gmail.com \
--cc=git-commits@fedoraproject.org \
/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