Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package apache2 for openSUSE:Factory checked in at 2026-11-13 20:12:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/apache2 (Old) and /work/SRC/openSUSE:Factory/.apache2.new.1251 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "apache2" Fri Nov 13 20:12:51 2026 rev:226 rq:1397333 version:2.4.71 Changes: -------- --- /work/SRC/openSUSE:Factory/apache2/apache2.changes 2026-05-16 19:25:43.416981471 +0200 +++ /work/SRC/openSUSE:Factory/.apache2.new.1251/apache2.changes 2026-11-13 20:13:28.648328826 +0100 @@ -1,0 +2,305 @@ +Thu Nov 12 22:26:47 UTC 2026 - Martin Schreiner <[email protected]> + +- Fix the apache_mmn provides (boo#1289278, bsc#1286911). The macro + scanned the whole source tarball, and since 2.4.69 it also matched + a line in test/pytest_suite/tests/t/apache/test_mmn.py, generating + apache_mmn_201202110 instead of apache_mmn_20120211. This made + modules requiring apache_mmn_20120211, such as apache2-mod_php8, + uninstallable. Only parse include/ap_mmn.h, stop at the first + match, and fail the build in the prep section if the provides does + not match the sources. + +------------------------------------------------------------------- +Wed Nov 11 16:10:09 UTC 2026 - Arjen de Korte <[email protected]> + +- update to 2.4.71 + *) SECURITY: CVE-2026-119618: mod_http2: heap corruption and RCE in + assign_headers (cve.mitre.org) [bsc#1290166] + Concurrent Execution using Shared Resource with Improper + Synchronization vulnerability in Apache HTTP Server's mod_http2 + in assign_headers() can lead to RCE. + This issue affects Apache HTTP Server: from 2.4.55 through + 2.4.70. + *) SECURITY: CVE-2026-109163: mod_vhost_alias 1 byte stack buffer + overwrite (after CVE-2026-63292) (cve.mitre.org) [bsc#1290169] + Stack-based buffer overflow vulnerability in Apache HTTP + Server's mod_vhost_alias (after CVE-2026-63292) + This issue affects Apache HTTP Server: 2.4.69 and 2.4.70. + *) SECURITY: CVE-2026-106023: mod_md NULL pointer dereference leads + to child process crash (cve.mitre.org) [bsc#1290167] + NULL pointer dereference vulnerability in Apache HTTP Server's + mod_md during HTTP request processing. + This issue affects Apache HTTP Server: from 2.4.30 through + 2.4.70. + *) mod_md: MDHttpProxy and MDCACertificateFile can now be set per MDomain. + New directive MDHttpProxyCACertificateFile sets the CA certificates + used to verify an HTTPS proxy. + *) mod_deflate: Read the gzip extra-field (FEXTRA) length as unsigned so a + length byte with the high bit set is no longer sign-extended, fixing + inflation of gzip streams that carry an extra field. + *) mod_remoteip: Apply RemoteIP{Trusted,Internal}ProxyList to the virtual host + they are configured in, and merge the proxy entries of the main server + and of the virtual host, logging a warning when both have some. + PR 70207. + *) mod_dav: Fix handling of invalid or overflowing "Timeout:" + request headers, which could silently grant a lock with an + already-expired timeout instead of the RFC 4918 maximum. + PR 65788 + *) mod_http2: Correctly handle the asterisk-form of OPTIONS requests + instead of rejecting them as malformed. PR 70195. + *) mod_http2: Fix duplicate logging of header limit violations. + *) mod_http2: Fix a crash creating an HTTP/2 session with + "H2PushDiarySize 0" and debug logging enabled. + *) mod_dav_lock: Fix dav_generic_load_lock_record() reading the + indirect-lock key length with the wrong width, which could read + back a wrong length on big-endian platforms. PR 70299 + *) mod_remoteip: Log a connection closed before a complete PROXY protocol + header was received at info level rather than as an error. PR 63893. + +------------------------------------------------------------------- +Fri Nov 6 15:05:54 UTC 2026 - Arjen de Korte <[email protected]> + +- update to 2.4.70 + *) mod_authnz_ldap: Fix crashes in 2.4.69 reported on Windows. + PR 70261. + *) mod_cgid: Increase limits for number and length of + environment variables, URI and arguments. PR 70270. + *) mod_substitute: Fix an integer overflow that can happen in very special + setups. PR 66034 + *) mod_cache: Do not store a response whose "Vary: *" was set via + "Header always". PR 70289 + *) mod_dav_lock: Fix a heap buffer overflow in dav_size_indirect(), which + under-reserved space for the stored key length field, written as + apr_size_t but sized as int. PR 70298 + +------------------------------------------------------------------- +Fri Nov 6 11:43:16 UTC 2026 - Martin Schreiner <[email protected]> + +- Fix severe CPU usage / performance drop with OpenSSL 3.5, caused by + mod_ssl reseeding the OpenSSL PRNG on every new TLS connection + (bsc#1282733, bsc#1246913): + * With OpenSSL 1.1.1 and later, mod_ssl and ab no longer seed the + OpenSSL PRNG themselves; the SSLRandomSeed directive is ignored + and only logs a deprecation warning. + * Comment out the SSLRandomSeed directives in the default + ssl-global.conf. +- Add patch file: + * apache2-mod_ssl-SSLRandomSeed-noop-openssl-1.1.1.patch + +------------------------------------------------------------------- +Sat Oct 24 13:16:34 UTC 2026 - Arjen de Korte <[email protected]> + +- upstream switched from svn to git for the testing framework + + apache-test-remove-broken-cgi-test.patch + +------------------------------------------------------------------- +Thu Oct 1 18:21:08 UTC 2026 - Arjen de Korte <[email protected]> + +- update to 2.4.69 + *) SECURITY: CVE-2026-93546: mod_dav_fs namespace overflow + (cve.mitre.org) [bsc#1284053] + Integer overflow in mod_dav_fs in Apache HTTP Server through + 2.4.68 allows an authenticated WebDAV client with write access + to crash worker processes and persistently corrupt a directory's + property database via PROPPATCH requests declaring many XML + namespaces. + *) SECURITY: CVE-2026-79768: mod_userdir information disclosure + (cve.mitre.org) [bsc#1284054] + Path equivalence: '/./' (single dot directory) vulnerability in + Apache HTTP Server's mod_userdir module when configured + with absolute non-wildcard UserDir directive (the 2nd form + in https://httpd.apache.org/docs/2.4/mod/mod_userdir.html#userdir) + *) SECURITY: CVE-2026-73637: mod_auth_digest DoS attack + (cve.mitre.org) [bsc#1284055] + Use after free in mod_auth_digest in Apache Software Foundation + Apache HTTP Server before 2.4.69 on all platforms allows an + unauthenticated remote client to cause authentication state + corruption via concurrent Digest authentication requests when + AuthDigestNcCheck is enabled or AuthDigestNonceLifetime is set + to 0. + *) SECURITY: CVE-2026-73636: mod_auth_digest one-time-nonce replay + attack (cve.mitre.org) [bsc#1284056] + Authentication bypass by capture-replay in mod_auth_digest in + Apache Software Foundation Apache HTTP Server 2.4.x on all + platforms allows a man-in-the-middle (MITM) attacker to replay + captured digest authentication credentials via crafted requests + that trigger garbage collection of the client's shared memory + entry when AuthDigestNonceLifetime is set to 0. + *) SECURITY: CVE-2026-63718: mod_proxy_uwsgi Transfer-Encoding + response smuggling (cve.mitre.org) [bsc#1284057] + Inconsistent Interpretation of HTTP Requests ('HTTP + Request/Response Smuggling') response smuggling vulnerability in + Apache HTTP Server via mod_proxy_uwsgi and a crafted uwsgi + response with Transfer-Encoding. + *) SECURITY: CVE-2026-63686: mod_xml2enc crash on charset + conversion failure (cve.mitre.org) [bsc#1284058] + A NULL pointer dereference in mod_xml2enc in Apache Software + Foundation Apache HTTP Server before 2.4.69 on all platforms + allows an untrusted backend server to cause a denial of service + via a proxied response with a charset whose conversion partially + succeeds then fails. + *) SECURITY: CVE-2026-63292: mod_vhost_alias stack overflow + (cve.mitre.org) [bsc#1284061] + Stack-based buffer overflow in mod_vhost_alias in Apache + Software Foundation Apache HTTP Server through 2.4.68 on all + platforms allows a remote client to cause a denial of service or + potentially execute arbitrary code via an HTTP request with a + Host header exceeding 8192 bytes when VirtualDocumentRoot uses a + hostname format specifier and LimitRequestFieldSize is raised + above the default. + *) SECURITY: CVE-2026-63045: mod_proxy_ftp PASV address handling + (cve.mitre.org) [bsc#1284060] + Improper validation of FTP PASV reply address in mod_proxy_ftp + in Apache Software Foundation Apache HTTP Server through 2.4.68 + on all platforms allows, in forward proxy configurations, an + untrusted FTP server to cause the proxy to open a data + connection to an arbitrary third-party host via a crafted PASV + response. + *) SECURITY: CVE-2026-59797: mod_ssl SSLRequire allows .htaccess + ap_expr file-function (cve.mitre.org) [bsc#1284059] + Improper Privilege Management vulnerability in Apache HTTP + Server's mod_ssl via SSLRequire and file-related expressions. + *) SECURITY: CVE-2026-59685: Out-of-Bounds Write in + ap_directory_walk() Canonical-Name Rewrite on + CASE_BLIND_FILESYSTEM (cve.mitre.org) [bsc#1284052] + Out-of-bounds Write vulnerability in Apache HTTP Server on + Windows while processing paths with 8.3 names that may grow when + expanded. + *) SECURITY: CVE-2026-58415: mod_dav_fs property database read + access (cve.mitre.org) [bsc#1284051] + Internal state files accessible to external parties in + mod_dav_fs in Apache Software Foundation Apache HTTP Server + before 2.4.69 on all platforms allows a remote client to read + WebDAV dead properties of resources it cannot author via a GET + request for the .DAV state directory + *) SECURITY: CVE-2026-57941: mod_http2 use-after-free / wild write + via shared session->bbtmp re-entrancy (cve.mitre.org) + [bsc#1284050] + Use After Free vulnerability in Apache HTTP Server's + mod_http2 via shared session->bbtmp re-entrancy + *) SECURITY: CVE-2026-56449: mod_proxy_html: crash in dump_content + (cve.mitre.org) + Out-of-bounds Write vulnerability in Apache HTTP Server's + mod_proxy_html with crafted HTTP response bodies. + *) SECURITY: CVE-2026-56154: mod_rewrite use-after-free via + %{LA-U:HTTP:...} (cve.mitre.org) [bsc#1284049] + Use After Free vulnerability in Apache HTTP Server's mod_rewrite + when using lookahead (%{LA-U:HTTP:...}) + *) SECURITY: CVE-2026-56153: mod_charset_lite: Heap overflow in + finish_partial_char (cve.mitre.org) [bsc#1284048] + Out-of-bounds Write vulnerability in Apache HTTP Server's + mod_charset_lite. + *) SECURITY: CVE-2026-48005: mod_auth_digest reauthentication + attack (cve.mitre.org) [bsc#1284047] + Missing authentication checks in mod_auth_digest in Apache + Software Foundation Apache HTTP Server before 2.4.69 on all + platforms allows an unauthenticated remote client to cause a + denial of service (forced re-authentication) via forged + Authorization headers when Digest authentication is enabled with + AuthDigestNcCheck . + *) SECURITY: CVE-2026-47360: mod_session: Session cookie not + removed during internal redirect (cve.mitre.org) [bsc#1284046] + Exposure of Sensitive Information to an Unauthorized Actor + vulnerability in Apache HTTP Server's mod_session_cookie module. + When SessionCookieRemove changes across internal redirects, the + session cookie may still be passed to a backend server. + *) SECURITY: CVE-2026-46729: mod_heartmonitor denial of service + (cve.mitre.org) [bsc#1284045] + NULL Pointer Dereference vulnerability in Apache HTTP Servers + mod_heartmonitor over unicast listener. + *) SECURITY: CVE-2026-42528: mod_dav shared lock overflow + (cve.mitre.org) [bsc#1284044] + A memory calculation bug in mod_dav in Apache httpd 2.4.67 and + earlier allows an attacker with permission to create WebDAV + locks to crash server child processes. + *) SECURITY: CVE-2026-42356: limited RCE for some internal + redirects to non-CGI files in CGI directories (cve.mitre.org) + [bsc#1284043] + Deployment of wrong handler vulnerability in Apache HTTP Server + allows the target of some internal redirects from CGI programs + to also be treated as CGI and executed. The target must already + be in a directory enabled for CGI and have no other extension + understood by mod_mime. + *) Fix the tar icon in the documentation so that its background is + transparent. PR 70238. + *) mod_ssl: Fix OpenSSL compatibility macros for X509_get0_notBefore, + X509_get0_notAfter, and X509_get0_serialNumber with OpenSSL < 1.1. + PR 70205. + *) mod_cgid, mod_ssl, mod_md: Various hardening fixes. + *) mod_md: MDServerStatus is now disabled by default. + *) mod_auth_digest: Fix compatibility with expression-based AuthName. + PR 59039. + *) mod_auth_digest.c: Drop RFC 2069 support; rewrite shared memory + handling and client nonce handling; "authdigest-opaque" mutex is + now longer needed. + *) mod_lbmethod_heartbeat: Use safe integer parsing with range + validation, replacing atoi(). + *) core: Reject control characters in the reason phrase of interim + responses. Only accept space as status-code separator. + *) mod_substitute: Fix SubstituteMaxLineLength to reject values too + large for the K/M/G suffix. + *) mod_substitute: Fix crash or misbehaviour when loading a Substitute + directive with a missing closing delimiter. + *) mod_dir: Fix a crash in fixup_dir for a request not mapped to any type. + PR68527. + *) mod_http2: Do not drop an in-flight response when a client sends a + graceful GOAWAY (error code 0) while streams it opened are still + being processed. The session now drains open streams instead of + tearing down immediately, which async MPMs hit far more than event. + Fixes a silently dropped response; RFC 9113 compliant. + *) mod_md: OpenSSL 4 compatibility. + *) pytest_suite: Port of the old PERL test framework to Python + and pytest. Now included in the source tree under ./test + +------------------------------------------------------------------- +Fri Jun 26 16:16:39 UTC 2026 - Martin Schreiner <[email protected]> + +- update to 2.4.68 + Security fixes (all affecting 2.4.x through 2.4.67 unless noted): + *) CVE-2026-49975: mod_http2 denial of service via memory + allocation with excessive size value (2.4.17-2.4.67) + *) CVE-2026-48913: mod_http2 use-after-free when file handles are + already exhausted (2.4.55-2.4.67) + *) CVE-2026-44186: mod_proxy_ftp infinite loop via an + attacker-controlled backend FTP server + *) CVE-2026-44185: mod_ssl stack buffer over-read in OCSP + send_request via an attacker-controlled OCSP server + *) CVE-2026-44119: escalation of privilege through expressions in + .htaccess allowing local authors to read files as the httpd + user + *) CVE-2026-43951: out-of-bounds read in merge_response_headers + with mod_headers and mod_mime and multiple response languages + *) CVE-2026-42536: mod_xml2enc heap-based buffer overflow with + untrusted content + *) CVE-2026-42535: mod_dav_fs path handling allows a WebDAV author + to manipulate trusted DAV property databases, crashing child + processes + *) CVE-2026-34356: ProxyPassReverseCookieMap heap-based buffer + overflow via malicious backend servers + *) CVE-2026-34355: mod_proxy_html buffer overflow exploitable by + an untrusted backend + *) CVE-2026-29170: mod_proxy_ftp XSS in HTML directory listing + generation + *) CVE-2026-29167: mod_ldap per-directory use-after-free + Non-security changes: + *) mod_ssl, ab: add support for OpenSSL 4.0 + *) mod_ssl: add SerialNumber as a recognised attribute type for + SSL distinguished name variables + *) mod_ssl: set auth type to "ClientCert" when client certificate + authentication has been performed + *) mod_http2: update to 2.0.42; fix excessive file descriptor use + for non-TLS frontend connections when sending files + *) mod_http2: update to 2.0.41; fix cookie header accounting + against LimitRequestFields + *) mod_http2: update to 2.0.40; fix error handling on upload + requests when the server runs out of file handles + *) mod_include: do not print any if/elsif/else content when a + conditional evaluation returns an error ++++ 8 more lines (skipped) ++++ between /work/SRC/openSUSE:Factory/apache2/apache2.changes ++++ and /work/SRC/openSUSE:Factory/.apache2.new.1251/apache2.changes Old: ---- httpd-2.4.67.tar.bz2 httpd-2.4.67.tar.bz2.asc httpd-framework-svn1929573.tar.bz2 New: ---- apache-test-remove-broken-cgi-test.patch apache2-mod_ssl-SSLRandomSeed-noop-openssl-1.1.1.patch httpd-2.4.71.tar.bz2 httpd-2.4.71.tar.bz2.asc httpd-framework-git4c187f2.tar.bz2 ----------(New B)---------- New:- upstream switched from svn to git for the testing framework + apache-test-remove-broken-cgi-test.patch New:- Add patch file: * apache2-mod_ssl-SSLRandomSeed-noop-openssl-1.1.1.patch ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ apache2.spec ++++++ --- /var/tmp/diff_new_pack.bA9Udw/_old 2026-11-13 20:13:32.311483886 +0100 +++ /var/tmp/diff_new_pack.bA9Udw/_new 2026-11-13 20:13:32.312483929 +0100 @@ -47,8 +47,8 @@ %define default_mpm prefork %define suse_maintenance_mmn 0 %define apache_mmn %(test -s %{SOURCE0} && \ - { echo -n apache_mmn_; bzcat %{SOURCE0} | \ - awk '/^#define MODULE_MAGIC_NUMBER_MAJOR/ {printf "%d", $3}'; } || \ + { echo -n apache_mmn_; tar -xjOf %{SOURCE0} %{upstream_name}-%{version}/include/ap_mmn.h | \ + awk '/^#define MODULE_MAGIC_NUMBER_MAJOR/ {printf "%d", $3; exit}'; } || \ echo apache_mmn_notfound) %define static_modules unixd systemd %define dynamic_modules authz_core access_compat actions alias allowmethods asis auth_basic auth_digest \\\ @@ -104,15 +104,15 @@ %define build_http2 1 Name: apache2%{psuffix} -Version: 2.4.67 +Version: 2.4.71 Release: 0 Summary: The Apache HTTPD Server License: Apache-2.0 Group: Productivity/Networking/Web/Servers URL: https://httpd.apache.org/ # essential sources -Source0: https://www.apache.org/dist/httpd/%{upstream_name}-%{version}.tar.bz2 -Source1: https://www.apache.org/dist/httpd/%{upstream_name}-%{version}.tar.bz2.asc +Source0: https://dlcdn.apache.org/httpd/%{upstream_name}-%{version}.tar.bz2 +Source1: https://dlcdn.apache.org/httpd/%{upstream_name}-%{version}.tar.bz2.asc Source2: apache2.keyring Source3: apache2.service Source4: [email protected] @@ -122,8 +122,8 @@ Source7: apache2.tmpfiles Source10: apache2-ssl-dirs.tar.bz2 # test -# svn checkout http://svn.apache.org/repos/asf/httpd/test/framework/trunk/ httpd-framework -Source20: %{testsuite_name}-%{tversion}.tar.bz2 +# git checkout https://github.com/apache/httpd-tests/ commit 4c187f27ecbf498a28c5a1c9b4de5873a8ad1ca4 +Source20: httpd-framework-git4c187f2.tar.bz2 Source21: apache2-mod_example.c # integration settings Source30: sysconfig.apache2 @@ -180,6 +180,8 @@ Patch3: apache2-LimitRequestFieldSize-limits-headers.patch # [fate317766] backport of an upstream commit Patch4: apache2-HttpContentLengthHeadZero-HttpExpectStrict.patch +# PATCH-FIX-UPSTREAM bsc#1282733 bsc#1246913 mod_ssl: ignore SSLRandomSeed with OpenSSL 1.1.1+ +Patch5: apache2-mod_ssl-SSLRandomSeed-noop-openssl-1.1.1.patch # PATCH: https://marc.info/?l=apache-httpd-users&m=147448312531134&w=2 Patch100: apache-test-application-xml-type.patch # PATCH: /test_ssl_var_lookup?SSL_SERVER_SAN_DNS_0 returns <build-host-name> @@ -189,6 +191,8 @@ # even if in live system I do not experience this inconsistency, let's turn off # these variables from the test Patch101: apache-test-turn-off-variables-in-ssl-var-lookup.patch +# PATCH this test always fails as the server returns the hostname of the buildserver (not localhost) +Patch102: apache-test-remove-broken-cgi-test.patch BuildRequires: apache-rpm-macros-control #Since 2.4.7 the event MPM requires apr 1.5.0 or later. BuildRequires: apr-devel >= 1.5.0 @@ -311,6 +315,8 @@ %prep %autosetup -p1 -n %{upstream_name}-%{version} -a20 +# Make sure the apache_mmn provides matches the module magic number of the sources +test "%{apache_mmn}" = "apache_mmn_$(awk '/^#define MODULE_MAGIC_NUMBER_MAJOR/ {print $3; exit}' include/ap_mmn.h)" # # BUILD ++++++ apache-test-remove-broken-cgi-test.patch ++++++ diff -purN a/httpd-framework/t/modules/cgi.t b/httpd-framework/t/modules/cgi.t --- a/httpd-framework/t/modules/cgi.t 2026-10-24 19:07:56.674161949 +0200 +++ b/httpd-framework/t/modules/cgi.t 2026-10-24 19:57:45.608978057 +0200 @@ -100,10 +100,6 @@ my %test = ( 'rc' => 200, 'expect' => 'GATEWAY_INTERFACE = CGI/1.1' }, - 'env.pl?host' => { - 'rc' => 200, - 'expect' => 'HTTP_HOST = localhost' - }, ); ++++++ apache2-mod_ssl-SSLRandomSeed-noop-openssl-1.1.1.patch ++++++ From: Martin Schreiner <[email protected]> Subject: mod_ssl, ab: Ignore SSLRandomSeed / skip own PRNG seeding with OpenSSL 1.1.1+ References: bsc#1282733 bsc#1246913 Upstream: backport of https://github.com/apache/httpd/commit/c2321e5b8fa6792662deaaeb05f1c24bd71503eb (r1877467) https://github.com/apache/httpd/commit/5be0a5fe0ad85448bf7c4ed3c88cd84ba57534d9 (r1895659) With OpenSSL 1.1.1 and later, the library seeds its DRBG itself and handles fork() safety on its own, so there is no need for mod_ssl to feed it entropy. "SSLRandomSeed connect builtin" made mod_ssl call RAND_seed() on every new connection; with OpenSSL 3.5 each such call reseeds the primary DRBG from jitterentropy, which costs several ms of CPU per handshake and saturates loaded servers. With OpenSSL >= 1.1.1, SSLRandomSeed is now accepted but ignored (a warning is logged), and mod_ssl fails startup if the library PRNG is not properly seeded. ab gets the same treatment. Differences to upstream: - pid and aRandSeed are kept in SSLModConfigRec (and aRandSeed is still initialised), because that structure is cached in the process pool and reused across graceful restarts after mod_ssl.so is reloaded, so its layout must not change within the 2.4.x series. - CHANGES and docs/log-message-tags hunks dropped. diff -uprN a/modules/ssl/ssl_engine_config.c b/modules/ssl/ssl_engine_config.c --- a/modules/ssl/ssl_engine_config.c 2026-09-29 05:34:48.000000000 -0300 +++ b/modules/ssl/ssl_engine_config.c 2026-11-04 04:53:14.732165052 -0300 @@ -644,6 +644,7 @@ const char *ssl_cmd_SSLRandomSeed(cmd_pa const char *arg2, const char *arg3) { +#ifdef MODSSL_USE_SSLRAND SSLModConfigRec *mc = myModConfig(cmd->server); const char *err; ssl_randseed_t *seed; @@ -728,6 +729,12 @@ const char *ssl_cmd_SSLRandomSeed(cmd_pa } } +#else + ap_log_error(APLOG_MARK, APLOG_WARNING, 0, cmd->server, APLOGNO(10235) + "SSLRandomSeed is deprecated and has no effect " + "with OpenSSL 1.1.1 and later"); +#endif + return NULL; } diff -uprN a/modules/ssl/ssl_engine_init.c b/modules/ssl/ssl_engine_init.c --- a/modules/ssl/ssl_engine_init.c 2025-11-06 06:09:18.000000000 -0300 +++ b/modules/ssl/ssl_engine_init.c 2026-11-04 04:53:14.732382344 -0300 @@ -358,11 +358,13 @@ apr_status_t ssl_init_Module(apr_pool_t runtime_lib_version); } +#ifdef MODSSL_USE_SSLRAND /* We initialize mc->pid per-process in the child init, * but it should be initialized for startup before we * call ssl_rand_seed() below. */ mc->pid = getpid(); +#endif /* * Let us cleanup on restarts and exits @@ -446,6 +448,14 @@ apr_status_t ssl_init_Module(apr_pool_t */ ssl_rand_seed(base_server, ptemp, SSL_RSCTX_STARTUP, "Init: "); + if (RAND_status() == 0) { + ap_log_error(APLOG_MARK, APLOG_CRIT, 0, base_server, APLOGNO(01990) + MODSSL_LIBRARY_NAME " PRNG does not contain sufficient " + "randomness. Build the SSL library with a suitable " + "entropy source configured."); + return APR_EGENERAL; + } + #ifdef HAVE_FIPS if (!modssl_fips_is_enabled() && mc->fips == TRUE) { if (!modssl_fips_enable(1)) { @@ -2459,11 +2469,13 @@ STACK_OF(X509_NAME) *ssl_init_FindCAList void ssl_init_Child(apr_pool_t *p, server_rec *s) { +#ifdef MODSSL_USE_SSLRAND SSLModConfigRec *mc = myModConfig(s); mc->pid = getpid(); /* only call getpid() once per-process */ /* XXX: there should be an ap_srand() function */ srand((unsigned int)time(NULL)); +#endif /* open the mutex lockfile */ ssl_mutex_reinit(s, p); diff -uprN a/modules/ssl/ssl_engine_rand.c b/modules/ssl/ssl_engine_rand.c --- a/modules/ssl/ssl_engine_rand.c 2015-05-13 09:48:13.000000000 -0300 +++ b/modules/ssl/ssl_engine_rand.c 2026-11-04 04:53:14.732555651 -0300 @@ -29,6 +29,8 @@ #include "ssl_private.h" +#ifdef MODSSL_USE_SSLRAND + /* _________________________________________________________________ ** ** Support for better seeding of SSL library's RNG @@ -38,7 +40,7 @@ static int ssl_rand_choosenum(int, int); static int ssl_rand_feedfp(apr_pool_t *, apr_file_t *, int); -int ssl_rand_seed(server_rec *s, apr_pool_t *p, ssl_rsctx_t nCtx, char *prefix) +void ssl_rand_seed(server_rec *s, apr_pool_t *p, ssl_rsctx_t nCtx, char *prefix) { SSLModConfigRec *mc; apr_array_header_t *apRandSeed; @@ -124,12 +126,6 @@ int ssl_rand_seed(server_rec *s, apr_poo } ap_log_error(APLOG_MARK, APLOG_TRACE2, 0, s, "%sSeeding PRNG with %d bytes of entropy", prefix, nDone); - - if (RAND_status() == 0) - ap_log_error(APLOG_MARK, APLOG_WARNING, 0, s, APLOGNO(01990) - "%sPRNG still contains insufficient entropy!", prefix); - - return nDone; } #define BUFSIZE 8192 @@ -175,3 +171,4 @@ static int ssl_rand_choosenum(int l, int return i; } +#endif /* MODSSL_USE_SSLRAND */ diff -uprN a/modules/ssl/ssl_private.h b/modules/ssl/ssl_private.h --- a/modules/ssl/ssl_private.h 2026-09-18 03:54:37.000000000 -0300 +++ b/modules/ssl/ssl_private.h 2026-11-04 04:53:14.732638092 -0300 @@ -178,6 +178,10 @@ #endif #endif /* defined(LIBRESSL_VERSION_NUMBER) */ +#if OPENSSL_VERSION_NUMBER < 0x10101000 +#define MODSSL_USE_SSLRAND +#endif + #if defined(OPENSSL_FIPS) || OPENSSL_VERSION_NUMBER >= 0x30000000L #define HAVE_FIPS #endif @@ -677,7 +681,8 @@ typedef struct { * for safety. */ typedef struct { - pid_t pid; + pid_t pid; /* used for seeding after fork(), only + * with MODSSL_USE_SSLRAND; kept for ABI */ apr_pool_t *pPool; BOOL bFixed; @@ -690,7 +695,8 @@ typedef struct { ap_socache_instance_t *sesscache_context; apr_global_mutex_t *pMutex; - apr_array_header_t *aRandSeed; + apr_array_header_t *aRandSeed; /* only used with MODSSL_USE_SSLRAND; + * kept for ABI */ apr_hash_t *tVHostKeys; /* A hash table of pointers to ssl_asn1_t structures. The structures @@ -1101,8 +1107,12 @@ void modssl_set_io_callbacks(SSL * to allow an SSL renegotiation to take place. */ int ssl_io_buffer_fill(request_rec *r, apr_size_t maxlen); +#ifdef MODSSL_USE_SSLRAND /** PRNG */ -int ssl_rand_seed(server_rec *, apr_pool_t *, ssl_rsctx_t, char *); +void ssl_rand_seed(server_rec *, apr_pool_t *, ssl_rsctx_t, char *); +#else +#define ssl_rand_seed(s, p, ctx, c) /* noop */ +#endif /** Utility Functions */ char *ssl_util_vhostid(apr_pool_t *, server_rec *); diff -uprN a/support/ab.c b/support/ab.c --- a/support/ab.c 2026-06-04 05:50:44.000000000 -0300 +++ b/support/ab.c 2026-11-04 04:53:14.732813242 -0300 @@ -610,6 +610,8 @@ static void ssl_state_cb(const SSL *s, i } } +#if OPENSSL_VERSION_NUMBER < 0x10101000 + #ifndef RAND_MAX #define RAND_MAX INT_MAX #endif @@ -655,6 +657,9 @@ static void ssl_rand_seed(void) n = ssl_rand_choosenum(0, sizeof(stackdata)-128-1); RAND_seed(stackdata+n, 128); } +#else +#define ssl_rand_seed() /* noop */ +#endif static int ssl_print_connection_info(BIO *bio, SSL *ssl) { @@ -2685,6 +2690,16 @@ int main(int argc, const char * const ar bio_out=BIO_new_fp(stdout,BIO_NOCLOSE); bio_err=BIO_new_fp(stderr,BIO_NOCLOSE); +#if OPENSSL_VERSION_NUMBER >= 0x10101000 + if (RAND_status() == 0) { + fprintf(stderr, "%s: Error: Crypto library PRNG does not contain " + "sufficient randomness.\n" + "%s: Build the library with a suitable entropy source configured.\n", + argv[0], argv[0]); + exit(1); + } +#endif + if (!(ssl_ctx = SSL_CTX_new(meth))) { BIO_printf(bio_err, "Could not initialize SSL Context.\n"); ERR_print_errors(bio_err); ++++++ apache2-ssl-global.conf ++++++ --- /var/tmp/diff_new_pack.bA9Udw/_old 2026-11-13 20:13:32.934510259 +0100 +++ /var/tmp/diff_new_pack.bA9Udw/_new 2026-11-13 20:13:32.942510598 +0100 @@ -69,17 +69,15 @@ SSLStaplingReturnResponderErrors Off # Pseudo Random Number Generator (PRNG): - # Configure one or more sources to seed the PRNG of the - # SSL library. The seed data should be of good random quality. - # WARNING! On some platforms /dev/random blocks if not enough entropy - # is available. This means you then cannot use the /dev/random device - # because it would lead to very long connection times (as long as - # it requires to make more entropy available). But usually those - # platforms additionally provide a /dev/urandom device which doesn't - # block. So, if available, use this one instead. Read the mod_ssl User - # Manual for more details. - SSLRandomSeed startup builtin - SSLRandomSeed connect builtin + # The SSLRandomSeed directive is deprecated and ignored when mod_ssl + # is built against OpenSSL 1.1.1 or later, as is the case here: the + # SSL library seeds its PRNG from the operating system on its own. + # Using it only results in a warning being logged at startup. + # In particular, "SSLRandomSeed connect ..." used to force a reseed + # of the SSL library's PRNG on every new connection, which is very + # expensive with OpenSSL 3.5 and later (bsc#1282733, bsc#1246913). + #SSLRandomSeed startup builtin + #SSLRandomSeed connect builtin #SSLRandomSeed startup file:/dev/random 512 #SSLRandomSeed connect file:/dev/random 512 #SSLRandomSeed startup file:/dev/urandom 512 ++++++ httpd-2.4.67.tar.bz2 -> httpd-2.4.71.tar.bz2 ++++++ /work/SRC/openSUSE:Factory/apache2/httpd-2.4.67.tar.bz2 /work/SRC/openSUSE:Factory/.apache2.new.1251/httpd-2.4.71.tar.bz2 differ: char 11, line 1
