Open
fix CVE-2026-119618 #67
zhangtao99Add on 5 days ago
fix CVE-2026-119618 #67
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,7 +2,7 @@ | |||
| 2 | 2 | ||
| 3 | Name: mod_http2 | 3 | Name: mod_http2 |
| 4 | Version: 2.0.25 | 4 | Version: 2.0.25 |
| 5 | -Release: 6 | 5 | +Release: 7 |
| 6 | Summary: Support for the HTTP/2 transport layer | 6 | Summary: Support for the HTTP/2 transport layer |
| 7 | License: ASL 2.0 | 7 | License: ASL 2.0 |
| 8 | URL: https://icing.github.io/mod_h2/ | 8 | URL: https://icing.github.io/mod_h2/ |
| @@ -15,6 +15,7 @@ Patch3: backport-CVE-2026-49975.patch | |||
| 15 | Patch4: backport-CVE-2025-53020-1.patch | 15 | Patch4: backport-CVE-2025-53020-1.patch |
| 16 | Patch5: backport-CVE-2025-53020-2.patch | 16 | Patch5: backport-CVE-2025-53020-2.patch |
| 17 | Patch6: backport-CVE-2026-57941.patch | 17 | Patch6: backport-CVE-2026-57941.patch |
| 18 | +Patch7: backport-CVE-2026-119618.patch | ||
| 18 | 19 | ||
| 19 | BuildRequires: make gcc pkgconfig httpd-devel >= 2.4.20 libnghttp2-devel >= 1.7.0 openssl-devel >= 1.0.2 autoconf libtool hostname | 20 | BuildRequires: make gcc pkgconfig httpd-devel >= 2.4.20 libnghttp2-devel >= 1.7.0 openssl-devel >= 1.0.2 autoconf libtool hostname |
| 20 | Requires: httpd-mmn = %{_httpd_mmn} | 21 | Requires: httpd-mmn = %{_httpd_mmn} |
| @@ -56,6 +57,12 @@ make check | |||
| 56 | %exclude /etc/httpd/share/doc/* | 57 | %exclude /etc/httpd/share/doc/* |
| 57 | 58 | ||
| 58 | %changelog | 59 | %changelog |
| 60 | +* Sat Nov 14 2026 zhangtao99 <zhangtao@kylinos.cn> - 2.0.25-7 | ||
| 61 | +- Type:cves | ||
| 62 | +- CVE:CVE-2026-119618 | ||
| 63 | +- SUG:https://httpd.apache.org/security/vulnerabilities_24.html | ||
| 64 | +- DESC:fix CVE-2026-119618 | ||
| 65 | + | ||
| 59 | * Fri Nov 06 2026 liyunqing <liyunqing@kylinos.cn> - 2.0.25-6 | 66 | * Fri Nov 06 2026 liyunqing <liyunqing@kylinos.cn> - 2.0.25-6 |
| 60 | - Type:cves | 67 | - Type:cves |
| 61 | - CVE:CVE-2025-53020 CVE-2026-57941 | 68 | - CVE:CVE-2025-53020 CVE-2026-57941 |