public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jan Macku <jamacku@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/curl] f43: Resolves: CVE-2026-80230 - OpenSSL pinning bypass
Date: Thu, 15 Oct 2026 11:48:35 GMT [thread overview]
Message-ID: <179206491560.1.416089405370035026.rpms-curl-f58485708699@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/curl
Branch : f43
Commit : f58485708699e6c3f6c8fd6797d44dd64e4bf45a
Author : Jan Macku <jamacku@redhat.com>
Date : 2026-10-14T09:46:25+02:00
Stats : +52/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/curl/c/f58485708699e6c3f6c8fd6797d44dd64e4bf45a?branch=f43
Log:
Resolves: CVE-2026-80230 - OpenSSL pinning bypass
---
diff --git a/0026-curl-8.15.0-CVE-2026-80230.patch b/0026-curl-8.15.0-CVE-2026-80230.patch
new file mode 100644
index 0000000..f3f30c8
--- /dev/null
+++ b/0026-curl-8.15.0-CVE-2026-80230.patch
@@ -0,0 +1,48 @@
+From 3160728bd26fc2ee98136557fdf865867976719b Mon Sep 17 00:00:00 2001
+From: Daniel Stenberg <daniel@haxx.se>
+Date: Mon, 24 Aug 2026 23:37:49 +0200
+Subject: [PATCH 3/3] openssl: no server cert is only okay if also not pinned
+
+Reported-by: Stanislav Fort
+Closes #22660
+
+(cherry picked from commit 5267ed859d545534d0c21675a2b70af5a3b6e3ef)
+---
+ lib/vtls/openssl.c | 14 +++++++++++++-
+ 1 file changed, 13 insertions(+), 1 deletion(-)
+
+diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c
+index 63b2a05133..83a45ca6d6 100644
+--- a/lib/vtls/openssl.c
++++ b/lib/vtls/openssl.c
+@@ -4847,6 +4847,18 @@ static void infof_certstack(struct Curl_easy *data, const SSL *ssl)
+ #define infof_certstack(data, ssl)
+ #endif
+
++static const char *pinned(struct Curl_cfilter *cf,
++ struct Curl_easy *data)
++{
++ (void)cf;
++ return
++#ifndef CURL_DISABLE_PROXY
++ Curl_ssl_cf_is_proxy(cf) ?
++ data->set.str[STRING_SSL_PINNEDPUBLICKEY_PROXY] :
++#endif
++ data->set.str[STRING_SSL_PINNEDPUBLICKEY];
++}
++
+ #define MAX_CERT_NAME_LENGTH 2048
+
+ CURLcode Curl_oss_check_peer_cert(struct Curl_cfilter *cf,
+@@ -4887,7 +4899,7 @@ CURLcode Curl_oss_check_peer_cert(struct Curl_cfilter *cf,
+ octx->server_cert = SSL_get1_peer_certificate(octx->ssl);
+ if(!octx->server_cert) {
+ BIO_free(mem);
+- if(!strict)
++ if(!strict && !pinned(cf, data))
+ return CURLE_OK;
+
+ failf(data, "SSL: could not get peer certificate");
+--
+2.56.0
+
diff --git a/curl.spec b/curl.spec
index 5bc21e4..c78fbc0 100644
--- a/curl.spec
+++ b/curl.spec
@@ -91,6 +91,9 @@ Patch024: 0024-curl-8.15.0-CVE-2026-8932.patch
# fix OpenLDAP SASL authentication bypass (CVE-2026-13608)
Patch025: 0025-curl-8.15.0-CVE-2026-13608.patch
+# fix OpenSSL pinning bypass (CVE-2026-80230)
+Patch026: 0026-curl-8.15.0-CVE-2026-80230.patch
+
# patch making libcurl multilib ready
Patch101: 0101-curl-7.32.0-multilib.patch
@@ -499,6 +502,7 @@ rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/wcurl.1*
* Tue Oct 13 2026 Jan Macku <jamacku@redhat.com> - 8.15.0-12
- fix incomplete mTLS config matching in conn reuse (CVE-2026-8932)
- fix OpenLDAP SASL authentication bypass (CVE-2026-13608)
+- fix OpenSSL pinning bypass (CVE-2026-80230)
* Tue Oct 06 2026 Jan Macku <jamacku@redhat.com> - 8.15.0-11
- fix secure cookie attribute bypass with tab (CVE-2026-80255)
reply other threads:[~2026-10-15 11:48 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=179206491560.1.416089405370035026.rpms-curl-f58485708699@fedoraproject.org \
--to=jamacku@redhat.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