Skip to contentSkip to conversation

accountservice: ignore CVE-2023-3297

PATCH In review Gyorgy Sarvari 2 participants 8 messages Dec 9, 2025 – Dec 13, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/5 accountservice: ignore CVE-2023-3297

Details: https://nvd.nist.gov/vuln/detail/CVE-2023-3297

The vulnerability is triggered by a patch added by Ubuntu, and the vulnerable patch is not present in the recipe.

---
 .../recipes-support/accountsservice/accountsservice_23.13.9.bb  | 2 ++
 1 file changed, 2 insertions(+)
meta-gnome/recipes-support/accountsservice/accountsservice_23.13.9.bb +2 -0
index e3dfcfffff..c024ae3f92 100644
@@ -41,3 +41,5 @@ FILES:${PN} += " \
     ${datadir}/dbus-1 \
     ${datadir}/polkit-1 \
 "
+
+CVE_STATUS[CVE-2023-3297] = "not-applicable-platform: The vulnerability is Ubuntu specific"
#1 lore raw

PATCH 2/5 civetweb: ignore CVE-2025-9648

Details: https://nvd.nist.gov/vuln/detail/CVE-2025-9648

It is already fixed in the currently used version.

Also, update CVE-2025-55763's status to "fixed-version" (so it will be marked as "Patched" in the CVE report instead of "Ignored")

---
 meta-networking/recipes-connectivity/civetweb/civetweb_1.16.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta-networking/recipes-connectivity/civetweb/civetweb_1.16.bb +2 -1
index 1d0207edb1..0e13bc6deb 100644
@@ -10,7 +10,8 @@ SRC_URI = "git://github.com/civetweb/civetweb.git;branch=master;protocol=https \
            file://0001-Unittest-Link-librt-and-libm-using-l-option.patch \
            "
 
-CVE_STATUS[CVE-2025-55763] = "cpe-incorrect: The vulnerability is fixed in the used revision"
+CVE_STATUS[CVE-2025-55763] = "fixed-version: The vulnerability is fixed in the used revision"
+CVE_STATUS[CVE-2025-9648] = "fixed-version: The vulnerability is fixed in the used revision"
 
 # civetweb supports building with make or cmake (although cmake lacks few features)
 inherit cmake
#3 lore raw

Re: [oe] [meta-oe][PATCH 2/5] civetweb: ignore CVE-2025-9648

Quoted 6 lines · Ankur Tyagi via lists.openembedded.org

I don't see the commit[1] which fixes this CVE in the current recipe version.

[1]
https://github.com/civetweb/civetweb/commit/782e18903515f43bafbf2e668994e82bdfa51133

The recipe fetches b6ef58f4c4c7fbe90fd1065bccf45b143345f1a6, which is from 30/Sep/2025.
The fix is 782e18903515f43bafbf2e668994e82bdfa51133, from 2/Sep/2025

The first and last line are interesting from this log only:

$ ~/git/civetweb]$ git log -n 30 --oneline 
b6ef58f4 (HEAD) Do not scan third party projects  <== recipe revision
3784be9d AppVeyor: Add Visual Studio 2022
cafd5f8f Format code
3ee51c19 Update sqlite3
8543cf79 Appveyor: Deactivate SSL for VS2019 / VS2022
9cabe415 Merge branch 'master' of https://github.com/civetweb/civetweb
b4afd1e3 Merge pull request #1358 from DL6ER/lua-5.5
c7df0249 Fix timer test
b20a7bc1 Set minimum CMAKE version for tests
2fefc5c8 Add Lua 5.5 support
618790d4 Unittest: fix alignment
acaf7e3f Use atomic operations in timer test
4bd10c49 AppVeyor build: Replace obsolete Visual Studio builds by new one
b3a34ad2 Merge branch 'master' of https://github.com/civetweb/civetweb
98dab2e1 Merge pull request #1355 from aryanrahar/fix/uri-len-dup
48b58d1b Merge branch 'master' into fix/uri-len-dup
e06d8d96 Merge pull request #1352 from
mfranzen0906/feature/replace-asterisk-with-origin
7b7bde47 Merge pull request #1350 from Geeoon/various-typo-fixes
a9900426 Merge pull request #1341 from yubiuser/prevent/CRLF
c5844556 Merge pull request #1347 from
krispybyte/fix/uri-processing-heap-overflow
dfb58aad Merge pull request #1354 from
civetweb/dependabot/github_actions/master/actions/checkout-5
3e7ecedd Update SECURITY.md and LICENSE.md
d8c74f7c Update README
782e1890 Make parsing of URL encoded forms more robust <== Referenced fix
#4 lore raw

Re: [oe] [meta-oe][PATCH 2/5] civetweb: ignore CVE-2025-9648

Quoted 5 lines · Gyorgy Sarvari
Quoted 3 lines · Ankur Tyagi via lists.openembedded.org

I don't see the commit[1] which fixes this CVE in the current recipe version.

Quoted 9 lines
Quoted 3 lines

[1]
https://github.com/civetweb/civetweb/commit/782e18903515f43bafbf2e668994e82bdfa51133

The recipe fetches b6ef58f4c4c7fbe90fd1065bccf45b143345f1a6, which is from 30/Sep/2025.
The fix is 782e18903515f43bafbf2e668994e82bdfa51133, from 2/Sep/2025

Sorry for the confusion, I had recipe open from my 'scarthgap' workspace recipe which fetches d7ba35bbb649209c66e582d5a0244ba988a15159
Your patch is correct.

Quoted 31 lines

The first and last line are interesting from this log only:

$ ~/git/civetweb]$ git log -n 30 --oneline
b6ef58f4 (HEAD) Do not scan third party projects  <== recipe revision
3784be9d AppVeyor: Add Visual Studio 2022
cafd5f8f Format code
3ee51c19 Update sqlite3
8543cf79 Appveyor: Deactivate SSL for VS2019 / VS2022
9cabe415 Merge branch 'master' of https://github.com/civetweb/civetweb
b4afd1e3 Merge pull request #1358 from DL6ER/lua-5.5
c7df0249 Fix timer test
b20a7bc1 Set minimum CMAKE version for tests
2fefc5c8 Add Lua 5.5 support
618790d4 Unittest: fix alignment
acaf7e3f Use atomic operations in timer test
4bd10c49 AppVeyor build: Replace obsolete Visual Studio builds by new one
b3a34ad2 Merge branch 'master' of https://github.com/civetweb/civetweb
98dab2e1 Merge pull request #1355 from aryanrahar/fix/uri-len-dup
48b58d1b Merge branch 'master' into fix/uri-len-dup
e06d8d96 Merge pull request #1352 from
mfranzen0906/feature/replace-asterisk-with-origin
7b7bde47 Merge pull request #1350 from Geeoon/various-typo-fixes
a9900426 Merge pull request #1341 from yubiuser/prevent/CRLF
c5844556 Merge pull request #1347 from
krispybyte/fix/uri-processing-heap-overflow
dfb58aad Merge pull request #1354 from
civetweb/dependabot/github_actions/master/actions/checkout-5
3e7ecedd Update SECURITY.md and LICENSE.md
d8c74f7c Update README
782e1890 Make parsing of URL encoded forms more robust <== Referenced fix
#5 lore raw

PATCH 3/5 cups-filters: patch CVE-2025-64524

In reply to Gyorgy Sarvari

Details: https://nvd.nist.gov/vuln/detail/CVE-2025-64524

Pick the patch mentioned in the nvd report.

---
 .../cups/cups-filters/CVE-2025-64524.patch    | 82 +++++++++++++++++++
 .../cups/cups-filters_2.0.1.bb                | 10 +--
 2 files changed, 87 insertions(+), 5 deletions(-)
 create mode 100644 meta-oe/recipes-printing/cups/cups-filters/CVE-2025-64524.patch
meta-oe/recipes-printing/cups/cups-filters/CVE-2025-64524.patch new file +82 -0
new file mode 100644
index 0000000000..b8338e333a
@@ -0,0 +1,82 @@
+From 4230ceaec8a6751f724a0d556ce4650d52a83a02 Mon Sep 17 00:00:00 2001
+From: Gyorgy Sarvari <[email protected]>
+Date: Wed, 12 Nov 2025 15:47:24 +0100
+Subject: [PATCH] rastertopclx.c: Fix infinite loop caused by crafted file
+
+From: Zdenek Dohnal <[email protected]>
+
+Infinite loop happened because of crafted input raster file, which led
+into heap buffer overflow of `CompressBuf` array.
+
+Based on comments there should be always some `count` when compressing
+the data, and processing of crafted file ended with offset and count
+being 0.
+
+Fixes CVE-2025-64524
+
+CVE: CVE-2025-64524
+Upstream-Status: Backport [https://github.com/OpenPrinting/cups-filters/commit/956283c74a34ae924266a2a63f8e5f529a1abd06]
+Signed-off-by: Gyorgy Sarvari <[email protected]>
+---
+ filter/rastertopclx.c | 25 +++++++++++++++++++++++--
+ 1 file changed, 23 insertions(+), 2 deletions(-)
+
+diff --git a/filter/rastertopclx.c b/filter/rastertopclx.c
+index ded86f1..39cb378 100644
+--- a/filter/rastertopclx.c
++++ b/filter/rastertopclx.c
+@@ -825,10 +825,10 @@ StartPage(cf_filter_data_t      *data,	// I - filter data
+   }
+ 
+   if (header->cupsCompression)
+-    CompBuffer = malloc(DotBufferSize * 4);
++    CompBuffer = calloc(DotBufferSize * 4, sizeof(unsigned char));
+ 
+   if (header->cupsCompression >= 3)
+-    SeedBuffer = malloc(DotBufferSize);
++    SeedBuffer = calloc(DotBufferSize, sizeof(unsigned char));
+ 
+   SeedInvalid = 1;
+ 
+@@ -1159,6 +1159,13 @@ CompressData(unsigned char *line,	// I - Data to compress
+               seed ++;
+               count ++;
+             }
++
++	    //
++	    // Bail out if we don't have count to compress
++	    //
++
++	    if (count == 0)
++	      break;
+ 	  }
+ 
+ 	  //
+@@ -1252,6 +1259,13 @@ CompressData(unsigned char *line,	// I - Data to compress
+ 
+             count = line_ptr - start;
+ 
++	    //
++	    // Bail out if we don't have count to compress
++	    //
++
++	    if (count == 0)
++	      break;
++
+ #if 0
+             fprintf(stderr,
+ 		    "DEBUG: offset=%d, count=%d, comp_ptr=%p(%d of %d)...\n",
+@@ -1424,6 +1438,13 @@ CompressData(unsigned char *line,	// I - Data to compress
+ 
+             count = (line_ptr - start) / 3;
+ 
++	    //
++	    // Bail out if we don't have count to compress
++	    //
++
++	    if (count == 0)
++	      break;
++
+ 	    //
+ 	    // Place mode 10 compression data in the buffer; each sequence
+ 	    // starts with a command byte that looks like:
meta-oe/recipes-printing/cups/cups-filters_2.0.1.bb +5 -5
index e488bd3039..a6eedda5d7 100644
@@ -5,11 +5,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=6d5b952b53dbe7752199903d082e5f07"
 
 DEPENDS = "libcupsfilters libppd glib-2.0 poppler"
 
-SRC_URI = " \
-    https://github.com/OpenPrinting/${BPN}/releases/download/${PV}/${BP}.tar.xz \
-    file://fix-make-race.patch \
-    file://0001-Fix-build-failure-with-GCC-15-and-std-c23.patch \
-"
+SRC_URI = "https://github.com/OpenPrinting/${BPN}/releases/download/${PV}/${BP}.tar.xz \
+           file://fix-make-race.patch \
+           file://0001-Fix-build-failure-with-GCC-15-and-std-c23.patch \
+           file://CVE-2025-64524.patch \
+           "
 SRC_URI[sha256sum] = "39e71de3ce06762b342749f1dc7cba6817738f7bf4d322c1bb9ab10b8569ab80"
 
 UPSTREAM_CHECK_URI = "https://github.com/OpenPrinting/cups-filters/releases"
#6 lore raw

PATCH 4/5 dante: upgrade 1.4.3 -> 1.4.4

In reply to Gyorgy Sarvari

License-Update: copyright year bump

Changelog:
- Fix potential security issue CVE-2024-54662, related to "socksmethod" use in client/hostid-rules.
- Add a missing call to setgroups(2).
- Patch to fix compilation with libminiupnp 2.2.8.
- Client connectchild optimizations.
- Client SIGIO handling improvements.
- Various configure/build fixes.
- Updated to support TCP_EXP1 version of TCP hostid format.

---
 .../dante/{dante_1.4.3.bb => dante_1.4.4.bb}                  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-networking/recipes-protocols/dante/{dante_1.4.3.bb => dante_1.4.4.bb} (90%)
meta-networking/recipes-protocols/dante/dante_1.4.4.bb renamed from meta-networking/recipes-protocols/dante/dante_1.4.3.bb +2 -2
similarity index 90%
rename from meta-networking/recipes-protocols/dante/dante_1.4.3.bb
rename to meta-networking/recipes-protocols/dante/dante_1.4.4.bb
index 901167f1b3..7aa1103855 100644
@@ -9,11 +9,11 @@ what could be described as a non-transparent Layer 4 router."
 HOMEPAGE = "http://www.inet.no/dante/"
 
 LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=edd508404db7339042dfc861a3a690ad"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=b3a8e7dc09bb720460f28c9d3796afa5"
 
 SRC_URI = "https://www.inet.no/dante/files/dante-${PV}.tar.gz \
           "
-SRC_URI[sha256sum] = "418a065fe1a4b8ace8fbf77c2da269a98f376e7115902e76cda7e741e4846a5d"
+SRC_URI[sha256sum] = "1973c7732f1f9f0a4c0ccf2c1ce462c7c25060b25643ea90f9b98f53a813faec"
 
 # without --without-gssapi, config.log will contain reference to /usr/lib
 # as a consequence of GSSAPI path being set to /usr by default.
#7 lore raw

PATCH 5/5 fex: ignore unrelated CVEs

In reply to Gyorgy Sarvari

These CVEs were filed for "Fram's Fast File Exchange" application, which has the same abbreviated name as fex. Currently this recipe has no historical CVEs associated, so I couldn't set the correct CVE_PRODUCT. Rather ignore these irrelevant CVEs explicitly.

---
 meta-oe/recipes-devtools/fex/fex_2511.bb | 6 ++++++
 1 file changed, 6 insertions(+)
meta-oe/recipes-devtools/fex/fex_2511.bb +6 -0
index 9c0748ac63..88dd48f953 100644
@@ -54,3 +54,9 @@ LDFLAGS += "-fuse-ld=lld"
 
 FILES:${PN} += "${datadir} ${libdir}/binfmt.d ${libdir}/libFEXCore.so"
 FILES:${PN}-dev = "${includedir}"
+
+# At the time of writing this, this recipe has no historical CVEs associated, and couldn't
+# find a CPE to set. So ignore these unrelated vulnerabilities.
+CVE_STATUS_GROUPS = "CVE_STATUS_WRONG_CPE"
+CVE_STATUS_WRONG_CPE[status] = "cpe-incorrect: These vulnerabilities are for unrelated Fram's Fast File-EXchange application"
+CVE_STATUS_WRONG_CPE = "CVE-2012-0869 CVE-2012-1293 CVE-2014-3875 CVE-2014-3876 CVE-2014-3877"