Open
fix CVE-2026-119618 #61
zhangtao99Add on 5 days ago
fix CVE-2026-119618 #61
Open
Total: 2 files changed+39-1
| @@ -0,0 +1,31 @@ | |||
| 1 | +Origin: https://github.com/apache/httpd/commit/5ed39287660daacd1233cb9bbc984b25fa9a4fe3 | ||
| 2 | + | ||
| 3 | +From 5ed39287660daacd1233cb9bbc984b25fa9a4fe3 Mon Sep 17 00:00:00 2001 | ||
| 4 | +From: Eric Covener <covener@apache.org> | ||
| 5 | +Date: Mon, 9 Nov 2026 01:51:55 +0000 | ||
| 6 | +Subject: [PATCH] mod_http2: assign_headers update table (#975) | ||
| 7 | + | ||
| 8 | +Backport of the upstream Apache httpd fix for CVE-2026-119618: store the | ||
| 9 | +synthetic Content-Length header in the per-request r->headers_in table | ||
| 10 | +instead of the h2_request table shared with stream clones, which is not | ||
| 11 | +thread-safe. | ||
| 12 | + | ||
| 13 | +CVE: CVE-2026-119618 | ||
| 14 | +--- | ||
| 15 | + mod_http2/h2_request.c | 2 +- | ||
| 16 | + 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 17 | + | ||
| 18 | +diff --git a/mod_http2/h2_request.c b/mod_http2/h2_request.c | ||
| 19 | +--- a/mod_http2/h2_request.c | ||
| 20 | ++++ b/mod_http2/h2_request.c | ||
| 21 | +@@ -350,7 +350,7 @@ static void assign_headers(request_rec *r, const h2_request *req, | ||
| 22 | + /* If we have a content-type, but already seen eos, no more | ||
| 23 | + * data will come. Signal a zero content length explicitly. | ||
| 24 | + */ | ||
| 25 | +- apr_table_setn(req->headers, "Content-Length", "0"); | ||
| 26 | ++ apr_table_setn(r->headers_in, "Content-Length", "0"); | ||
| 27 | + } | ||
| 28 | + } | ||
| 29 | + #if !AP_HAS_RESPONSE_BUCKETS | ||
| 30 | +-- | ||
| 31 | +2.33.0 | ||
| @@ -2,13 +2,14 @@ | |||
| 2 | 2 | ||
| 3 | Name: mod_http2 | 3 | Name: mod_http2 |
| 4 | Version: 2.0.42 | 4 | Version: 2.0.42 |
| 5 | -Release: 2 | 5 | +Release: 3 |
| 6 | Summary: Support for the HTTP/2 transport layer | 6 | Summary: Support for the HTTP/2 transport layer |
| 7 | License: Apache-2.0 | 7 | License: Apache-2.0 |
| 8 | URL: https://icing.github.io/mod_h2/ | 8 | URL: https://icing.github.io/mod_h2/ |
| 9 | Source0: https://github.com/icing/mod_h2/releases/download/v%{version}/%{name}-%{version}.tar.gz | 9 | Source0: https://github.com/icing/mod_h2/releases/download/v%{version}/%{name}-%{version}.tar.gz |
| 10 | 10 | ||
| 11 | Patch0: backport-CVE-2026-57941.patch | 11 | Patch0: backport-CVE-2026-57941.patch |
| 12 | +Patch1: backport-CVE-2026-119618.patch | ||
| 12 | 13 | ||
| 13 | BuildRequires: make gcc pkgconfig httpd-devel >= 2.4.20 libnghttp2-devel >= 1.7.0 openssl-devel >= 1.0.2 autoconf libtool hostname | 14 | BuildRequires: make gcc pkgconfig httpd-devel >= 2.4.20 libnghttp2-devel >= 1.7.0 openssl-devel >= 1.0.2 autoconf libtool hostname |
| 14 | Requires: httpd-mmn = %{_httpd_mmn} | 15 | Requires: httpd-mmn = %{_httpd_mmn} |
| @@ -50,6 +51,12 @@ make check | |||
| 50 | %doc ChangeLog README README.md | 51 | %doc ChangeLog README README.md |
| 51 | 52 | ||
| 52 | %changelog | 53 | %changelog |
| 54 | +* Sat Nov 14 2026 zhangtao99 <zhangtao@kylinos.cn> - 2.0.42-3 | ||
| 55 | +- Type:CVE | ||
| 56 | +- CVE:CVE-2026-119618 | ||
| 57 | +- SUG:https://httpd.apache.org/security/vulnerabilities_24.html | ||
| 58 | +- DESC:fix CVE-2026-119618 | ||
| 59 | + | ||
| 53 | * Mon Nov 16 2026 gaihuiying <eaglegai@163.com> - 2.0.42-2 | 60 | * Mon Nov 16 2026 gaihuiying <eaglegai@163.com> - 2.0.42-2 |
| 54 | - Type:CVE | 61 | - Type:CVE |
| 55 | - CVE:CVE-2026-57941 | 62 | - CVE:CVE-2026-57941 |