public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/curl] f43: Resolves: CVE-2026-80230 - OpenSSL pinning bypass
@ 2026-10-15 11:48 Jan Macku
  0 siblings, 0 replies; only message in thread
From: Jan Macku @ 2026-10-15 11:48 UTC (permalink / raw)
  To: git-commits

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)

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-15 11:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-15 11:48 [rpms/curl] f43: Resolves: CVE-2026-80230 - OpenSSL pinning bypass Jan Macku

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox