public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/curl] curl-v8.21.0-9: Resolves: CVE-2026-18924 - HTTP/2 server push UAF
@ 2026-11-02 14:33 Jan Macku
  0 siblings, 0 replies; only message in thread
From: Jan Macku @ 2026-11-02 14:33 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/curl
Branch : curl-v8.21.0-9
Commit : 5d92cd9b7a2086f9016741d858e073478caff02d
Author : Jan Macku <jamacku@redhat.com>
Date   : 2026-09-29T14:29:19+02:00
Stats  : +45/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/curl/c/5d92cd9b7a2086f9016741d858e073478caff02d?branch=curl-v8.21.0-9

Log:
Resolves: CVE-2026-18924 - HTTP/2 server push UAF

---
diff --git a/0002-curl-8.21.0-CVE-2026-18924.patch b/0002-curl-8.21.0-CVE-2026-18924.patch
new file mode 100644
index 0000000..aa41faf
--- /dev/null
+++ b/0002-curl-8.21.0-CVE-2026-18924.patch
@@ -0,0 +1,38 @@
+From ba8251ada2ae2e01fdd09776ac84041193aa3509 Mon Sep 17 00:00:00 2001
+From: Daniel Stenberg <daniel@haxx.se>
+Date: Wed, 5 Aug 2026 10:02:53 +0200
+Subject: [PATCH 1/2] http2: make server push transfers inherit share from
+ parent
+
+Reported-by: Stephan Zeisberg
+Closes #22488
+
+(cherry picked from commit 90325ff0444cbdff368bda5d26d6405a0bb6ee43)
+---
+ lib/http2.c | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/lib/http2.c b/lib/http2.c
+index a820439ef4..a0c147cdc1 100644
+--- a/lib/http2.c
++++ b/lib/http2.c
+@@ -46,6 +46,7 @@
+ #include "bufref.h"
+ #include "curlx/dynbuf.h"
+ #include "headers.h"
++#include "curl_share.h"
+ 
+ #if NGHTTP2_VERSION_NUM < 0x010f00
+ #error "nghttp2 1.15.0 or greater required"
+@@ -704,6 +705,8 @@ static struct Curl_easy *h2_duphandle(struct Curl_cfilter *cf,
+     struct h2_stream_ctx *second_stream;
+     http2_data_setup(cf, second, &second_stream);
+     second->state.priority.weight = data->state.priority.weight;
++    if(data->share)
++      (void)Curl_share_easy_link(second, data->share);
+   }
+   return second;
+ }
+-- 
+2.55.0
+

diff --git a/curl.spec b/curl.spec
index f30c790..5b14224 100644
--- a/curl.spec
+++ b/curl.spec
@@ -13,7 +13,7 @@
 Summary: A utility for getting files from remote servers (FTP, HTTP, and others)
 Name: curl
 Version: 8.21.0
-Release: 5%{?dist}
+Release: 6%{?dist}
 License: curl
 Source0: https://curl.se/download/%{name}-%{version_no_tilde}.tar.xz
 Source1: https://curl.se/download/%{name}-%{version_no_tilde}.tar.xz.asc
@@ -25,6 +25,9 @@ Source2: mykey.asc
 # add multi_wakeup_internal for threaded resolving (#2509107)
 Patch001: 0001-curl-8.21.0-lib-add-multi_wakeup_internal.patch
 
+# fix HTTP/2 server push UAF (CVE-2026-18924)
+Patch002: 0002-curl-8.21.0-CVE-2026-18924.patch
+
 # patch making libcurl multilib ready
 Patch101: 0101-curl-7.32.0-multilib.patch
 
@@ -477,6 +480,9 @@ rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/wcurl.1*
 %{_libdir}/libcurl.so.4.[0-9].[0-9].minimal
 
 %changelog
+* Tue Sep 29 2026 Jan Macku <jamacku@redhat.com> - 8.21.0-6
+- fix HTTP/2 server push UAF (CVE-2026-18924)
+
 * Thu Aug 06 2026 Jan Macku <jamacku@redhat.com> - 8.21.0-5
 - add multi_wakeup_internal for threaded resolving (#2509107)
 

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

only message in thread, other threads:[~2026-11-02 14:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-02 14:33 [rpms/curl] curl-v8.21.0-9: Resolves: CVE-2026-18924 - HTTP/2 server push UAF Jan Macku

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