Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package cups for openSUSE:Factory checked in 
at 2026-12-02 16:59:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cups (Old)
 and      /work/SRC/openSUSE:Factory/.cups.new.1340718 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cups"

Wed Dec  2 16:59:04 2026 rev:190 rq:1401901 version:2.4.20

Changes:
--------
--- /work/SRC/openSUSE:Factory/cups/cups.changes        2026-11-23 
12:24:25.427280494 +0100
+++ /work/SRC/openSUSE:Factory/.cups.new.1340718/cups.changes   2026-12-02 
17:00:25.163942008 +0100
@@ -1,0 +2,13 @@
+Tue Dec  1 11:55:13 UTC 2026 - Johannes Meixner <[email protected]>
+
+- cups-2.4.20-CVE-2026-107885.patch is based on
+  
https://github.com/OpenPrinting/cups/commit/6c61d23f5523055ec4374465e85d1dec9396994f
+  backported to CUPS 2.4.20 to fix CVE-2026-107885
+  "Incomplete Send-Document request globally suppresses
+   job submission timeouts, allowing unauthenticated DoS"
+  https://github.com/OpenPrinting/cups/security/advisories/GHSA-hhw5-qqmc-p6rg
+  "CUPS through 2.4.20 contains a resource-exhaustion vulnerability
+   in the submission-timeout handling of cupsdCheckJobs()"
+  (bsc#1284797)
+
+-------------------------------------------------------------------

New:
----
  cups-2.4.20-CVE-2026-107885.patch

----------(New B)----------
  New:
- cups-2.4.20-CVE-2026-107885.patch is based on
  
https://github.com/OpenPrinting/cups/commit/6c61d23f5523055ec4374465e85d1dec9396994f
----------(New E)----------

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

Other differences:
------------------
++++++ cups.spec ++++++
--- /var/tmp/diff_new_pack.uZw4g7/_old  2026-12-02 17:00:27.370035316 +0100
+++ /var/tmp/diff_new_pack.uZw4g7/_new  2026-12-02 17:00:27.372035400 +0100
@@ -127,6 +127,14 @@
 #  resulting in a temporary Denial of Service"
 # https://bugzilla.suse.com/show_bug.cgi?id=1284911
 Patch113:       cups-2.4.20-CVE-2026-107655.patch
+# Patch114 cups-2.4.20-CVE-2026-107885.patch is based on
+# 
https://github.com/OpenPrinting/cups/commit/6c61d23f5523055ec4374465e85d1dec9396994f
+# backported to CUPS 2.4.20 to fix CVE-2026-107885
+# "Incomplete Send-Document request globally suppresses job submission 
timeouts, allowing unauthenticated DoS"
+# https://github.com/OpenPrinting/cups/security/advisories/GHSA-hhw5-qqmc-p6rg
+# "CUPS through 2.4.20 contains a resource-exhaustion vulnerability in the 
submission-timeout handling of cupsdCheckJobs()"
+# https://bugzilla.suse.com/show_bug.cgi?id=1284797
+Patch114:       cups-2.4.20-CVE-2026-107885.patch
 # Build Requirements:
 BuildRequires:  dbus-1-devel
 BuildRequires:  fdupes
@@ -374,6 +382,14 @@
 #  resulting in a temporary Denial of Service"
 # https://bugzilla.suse.com/show_bug.cgi?id=1284911
 %patch -P 113 -b CVE-2026-107655.orig
+# Patch114 cups-2.4.20-CVE-2026-107885.patch is based on
+# 
https://github.com/OpenPrinting/cups/commit/6c61d23f5523055ec4374465e85d1dec9396994f
+# backported to CUPS 2.4.20 to fix CVE-2026-107885
+# "Incomplete Send-Document request globally suppresses job submission 
timeouts, allowing unauthenticated DoS"
+# https://github.com/OpenPrinting/cups/security/advisories/GHSA-hhw5-qqmc-p6rg
+# "CUPS through 2.4.20 contains a resource-exhaustion vulnerability in the 
submission-timeout handling of cupsdCheckJobs()"
+# https://bugzilla.suse.com/show_bug.cgi?id=1284797
+%patch -P 114 -b CVE-2026-107885.orig
 
 %build
 # Remove ".SILENT" rule for verbose build output




++++++ cups-2.4.20-CVE-2026-107885.patch ++++++
--- scheduler/ipp.c.orig        2026-11-20 09:47:07.048053135 +0100
+++ scheduler/ipp.c     2026-12-01 12:45:01.844891261 +0100
@@ -5277,7 +5277,7 @@ create_job(cupsd_client_t  *con,  /* I -
   if ((job = add_job(con, printer, NULL)) == NULL)
     return;
 
-  job->pending_timeout = 1;
+  job->pending_timeout = time(NULL) + MultipleOperationTimeout;
 
  /*
   * Save and log the job...
--- scheduler/job.c.orig        2026-10-05 17:26:07.000000000 +0200
+++ scheduler/job.c     2026-12-01 12:51:58.519455119 +0100
@@ -287,6 +287,8 @@ cupsdCheckJobs(void)
        * the job so we can start printing...
        */
 
+        if (curtime < job->pending_timeout)
+        {
         cupsd_client_t *con;           /* Current client connection */
 
        for (con = (cupsd_client_t *)cupsArrayFirst(Clients);
@@ -298,6 +300,7 @@ cupsdCheckJobs(void)
 
         if (con)
          continue;
+       }
 
         if (cupsdTimeoutJob(job))
          continue;
--- scheduler/job.h.orig        2026-11-20 09:47:07.048053135 +0100
+++ scheduler/job.h     2026-12-01 12:49:41.219947913 +0100
@@ -30,7 +30,7 @@ struct cupsd_job_s                    /**** Job request *
                        priority,       /* Job priority */
                        dirty;          /* Do we need to write the "c" file? */
   ipp_jstate_t         state_value;    /* Cached job-state */
-  int                  pending_timeout;/* Non-zero if the job was created and
+  time_t               pending_timeout;/* Non-zero if the job was created and
                                         * waiting on files */
   char                 *username;      /* Printing user */
   char                 *dest;          /* Destination printer or class */

Reply via email to