Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package nginx for openSUSE:Factory checked 
in at 2026-11-25 16:11:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nginx (Old)
 and      /work/SRC/openSUSE:Factory/.nginx.new.1340718 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nginx"

Wed Nov 25 16:11:18 2026 rev:124 rq:1400023 version:1.31.10

Changes:
--------
--- /work/SRC/openSUSE:Factory/nginx/nginx.changes      2026-11-20 
14:44:28.486673682 +0100
+++ /work/SRC/openSUSE:Factory/.nginx.new.1340718/nginx.changes 2026-11-25 
16:11:20.726254320 +0100
@@ -1,0 +2,9 @@
+Mon Nov 23 16:37:54 UTC 2026 - Marcus Rueckert <[email protected]>
+
+- Update to 1.31.10 (boo#1291441)
+  - Security: when using the "ssl_early_data" directive a client
+    might cause excessive CPU usage (CVE-2026-132779).
+  - Bugfix: nginx might hog CPU if SSL connections to backends were
+    used.
+
+-------------------------------------------------------------------

Old:
----
  nginx-1.31.9.tar.gz
  nginx-1.31.9.tar.gz.asc

New:
----
  nginx-1.31.10.tar.gz
  nginx-1.31.10.tar.gz.asc

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ nginx.spec ++++++
--- /var/tmp/diff_new_pack.LDdGnl/_old  2026-11-25 16:11:21.678294902 +0100
+++ /var/tmp/diff_new_pack.LDdGnl/_new  2026-11-25 16:11:21.680294987 +0100
@@ -24,7 +24,7 @@
 %bcond_with    awslc
 #
 Name:           nginx
-Version:        1.31.9
+Version:        1.31.10
 Release:        0
 Summary:        A HTTP server and IMAP/POP3 proxy server
 License:        BSD-2-Clause

++++++ nginx-1.31.9.tar.gz -> nginx-1.31.10.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nginx-1.31.9/CHANGES new/nginx-1.31.10/CHANGES
--- old/nginx-1.31.9/CHANGES    2026-11-11 18:59:10.000000000 +0100
+++ new/nginx-1.31.10/CHANGES   2026-11-19 18:12:40.000000000 +0100
@@ -1,4 +1,12 @@
 
+Changes with nginx 1.31.10                                       23 Nov 2026
+
+    *) Security: when using the "ssl_early_data" directive a client might
+       cause excessive CPU usage (CVE-2026-132779).
+
+    *) Bugfix: nginx might hog CPU if SSL connections to backends were used.
+
+
 Changes with nginx 1.31.9                                        18 Nov 2026
 
     *) Security: a buffer overflow might occur in a worker process when
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nginx-1.31.9/CHANGES.ru new/nginx-1.31.10/CHANGES.ru
--- old/nginx-1.31.9/CHANGES.ru 2026-11-11 18:59:10.000000000 +0100
+++ new/nginx-1.31.10/CHANGES.ru        2026-11-19 18:12:39.000000000 +0100
@@ -1,4 +1,13 @@
 
+Изменения в nginx 1.31.10                                         23.11.2026
+
+    *) Безопасность: при использовании директивы ssl_early_data клиент мог
+       вызвать чрезмерное потребление ресурсов процессора (CVE-2026-132779).
+
+    *) Исправление: nginx мог нагружать процессор, если использовались
+       SSL-соединения с бэкендами.
+
+
 Изменения в nginx 1.31.9                                          18.11.2026
 
     *) Безопасность: при совместном использовании директив try_files и alias
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nginx-1.31.9/src/core/nginx.h 
new/nginx-1.31.10/src/core/nginx.h
--- old/nginx-1.31.9/src/core/nginx.h   2026-11-11 18:48:23.000000000 +0100
+++ new/nginx-1.31.10/src/core/nginx.h  2026-11-19 17:56:13.000000000 +0100
@@ -9,8 +9,8 @@
 #define _NGINX_H_INCLUDED_
 
 
-#define nginx_version      1031009
-#define NGINX_VERSION      "1.31.9"
+#define nginx_version      1031010
+#define NGINX_VERSION      "1.31.10"
 #define NGINX_VER          "nginx/" NGINX_VERSION
 
 #ifdef NGX_BUILD
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nginx-1.31.9/src/core/ngx_output_chain.c 
new/nginx-1.31.10/src/core/ngx_output_chain.c
--- old/nginx-1.31.9/src/core/ngx_output_chain.c        2026-11-11 
18:48:23.000000000 +0100
+++ new/nginx-1.31.10/src/core/ngx_output_chain.c       2026-11-19 
17:56:13.000000000 +0100
@@ -670,7 +670,7 @@
 {
     ngx_chain_writer_ctx_t *ctx = data;
 
-    off_t              size;
+    off_t              size, sent;
     ngx_chain_t       *cl, *ln, *chain;
     ngx_connection_t  *c;
 
@@ -787,6 +787,8 @@
         return NGX_OK;
     }
 
+    sent = c->sent;
+
     chain = c->send_chain(c, ctx->out, ctx->limit);
 
     ngx_log_debug1(NGX_LOG_DEBUG_CORE, c->log, 0,
@@ -796,7 +798,7 @@
         return NGX_ERROR;
     }
 
-    if (chain && c->write->ready) {
+    if (chain && c->write->ready && c->sent != sent) {
         ngx_post_event(c->write, &ngx_posted_next_events);
     }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nginx-1.31.9/src/http/ngx_http_write_filter_module.c 
new/nginx-1.31.10/src/http/ngx_http_write_filter_module.c
--- old/nginx-1.31.9/src/http/ngx_http_write_filter_module.c    2026-11-11 
18:48:23.000000000 +0100
+++ new/nginx-1.31.10/src/http/ngx_http_write_filter_module.c   2026-11-19 
17:56:13.000000000 +0100
@@ -47,7 +47,7 @@
 ngx_int_t
 ngx_http_write_filter(ngx_http_request_t *r, ngx_chain_t *in)
 {
-    off_t                      size, sent, nsent, limit;
+    off_t                      size, sent, psent, nsent, limit;
     ngx_uint_t                 last, flush, sync;
     ngx_msec_t                 delay;
     ngx_chain_t               *cl, *ln, **ll, *chain;
@@ -308,13 +308,14 @@
 
     if (r->limit_rate) {
 
+        psent = sent;
         nsent = c->sent;
 
         if (r->limit_rate_after) {
 
-            sent -= r->limit_rate_after;
-            if (sent < 0) {
-                sent = 0;
+            psent -= r->limit_rate_after;
+            if (psent < 0) {
+                psent = 0;
             }
 
             nsent -= r->limit_rate_after;
@@ -323,7 +324,7 @@
             }
         }
 
-        delay = (ngx_msec_t) ((nsent - sent) * 1000 / r->limit_rate);
+        delay = (ngx_msec_t) ((nsent - psent) * 1000 / r->limit_rate);
 
         if (delay > 0) {
             c->write->delayed = 1;
@@ -331,7 +332,7 @@
         }
     }
 
-    if (chain && c->write->ready && !c->write->delayed) {
+    if (chain && c->write->ready && !c->write->delayed && sent != c->sent) {
         ngx_post_event(c->write, &ngx_posted_next_events);
     }
 

Reply via email to