Skip to contentSkip to conversation

Cherry-picks from Master Batch G

PATCH In review Gyorgy Sarvari 2 participants 29 messages Oct 2, 2025

lore
Share & tools
lore
#0 lore raw

cover Cherry-picks from Master Batch G

This is the last batch I intend to pick for Kirkstone for the time being.

This batch contains once again mostly CVE fixes and various recipe corrections (SRC_URI, RDEPENDS...).

A world build has succeeded with these patches for arm, aarch64, x86 and x86-64 platforms.

Please let me know any thoughts you have about this.

---

Alex Yao (1):
lcov: Fix Perl Path

Bartosz Golaszewski (6):
python3-gsocketpool: add missing run-time dependencies
python3-txws: add missing run-time dependencies
python3-hpack: add missing run-time dependencies
python3-thrift: add missing run-time dependencies
python3-pyparted: add missing run-time dependencies
python3-send2trash: add missing run-time dependencies

Benjamin Szőke (1):
tree: fix broken links

Dan McGregor (1):
dash: correct licence

Fabio Estevam (1):
multipath-tools: Use https for github

Gyorgy Sarvari (2):
liboop: set correct LICENSE
xfce4-sensors-plugin: correct netcat PACKAGECONFIG

Julian Haller (1):
openct: Fix typo in SUMMARY variable

Katariina Lounento (1):
libtar: patch CVEs

Marcus Flyckt (1):
python3-pyconnman: Add 'future' runtime dependency

Martin Jansa (1):
ne10: append +git instead of gitr+

Ninette Adhikari (1):
procmail: Update status for CVE-1999-0475

Peter Kjellerstedt (1):
libjs-jquery-icheck: Correct LIC_FILES_CHKSUM

Peter Marko (5):
libtinyxml: patch CVE-2021-42260
libtinyxml: patch CVE-2023-34194
procmail: patch CVE-2014-3618
procmail: patch CVE-2017-16844.
synergy: patch CVE-2020-15117

Tim Orling (1):
span-lite: do not inherit ptest

Wang Mingyu (1):
smarty: upgrade 4.1.0 -> 4.1.1

Yi Zhao (1):
libcrypt-openssl-guess-perl: fix syntax for PROVIDES

 meta-oe/recipes-shells/dash/dash_0.5.11.5.bb  |   2 +-
 meta-oe/recipes-support/lcov/lcov_1.14.bb     |   2 +-
 .../libjs/libjs-jquery-icheck_1.0.3.bb        |   2 +-
 .../recipes-support/liboop/liboop_1.0.1.bb    |   2 +-
 ...-missing-prototype-compiler-warnings.patch |  53 ++++++
 ...ix-invalid-memory-de-reference-issue.patch |  44 +++++
 ...escriptor-leaks-reported-by-cppcheck.patch | 101 +++++++++++
 ...0006-fix-memleak-on-tar_open-failure.patch |  26 +++
 ...ix-memleaks-in-libtar-sample-program.patch | 119 +++++++++++++
 ...ng-a-static-buffer-in-th_get_pathnam.patch |  89 ++++++++++
 ...-for-NULL-before-freeing-th_pathname.patch |  30 ++++
 ...-stdlib.h-for-malloc-in-lib-decode.c.patch |  26 +++
 ...amming-mistakes-detected-by-static-a.patch | 100 +++++++++++
 .../libtar/files/CVE-2013-4420.patch          | 160 ++++++++++++++++++
 ...-33640-CVE-2021-33645-CVE-2021-33646.patch |  42 +++++
 .../files/CVE-2021-33643-CVE-2021-33644.patch |  52 ++++++
 .../recipes-support/libtar/libtar_1.2.20.bb   |  12 ++
 .../libtinyxml/CVE-2021-42260.patch           |  27 +++
 .../libtinyxml/CVE-2023-34194.patch           |  31 ++++
 .../libtinyxml/libtinyxml_2.6.2.bb            |   5 +-
 .../multipath-tools/multipath-tools_0.8.4.bb  |   2 +-
 meta-oe/recipes-support/ne10/ne10_1.2.1.bb    |   2 +-
 .../recipes-support/openct/openct_0.6.20.bb   |   2 +-
 .../procmail/procmail/CVE-2014-3618.patch     |  29 ++++
 .../procmail/procmail/CVE-2017-16844.patch    |  20 +++
 .../recipes-support/procmail/procmail_3.22.bb |   8 +-
 .../{smarty_4.1.0.bb => smarty_4.1.1.bb}      |   2 +-
 .../span-lite/span-lite_0.10.3.bb             |   1 -
 .../synergy/synergy/CVE-2020-15117.patch      |  48 ++++++
 .../recipes-support/synergy/synergy_git.bb    |   1 +
 meta-oe/recipes-support/tree/tree_2.0.2.bb    |   4 +-
 .../libcrypt-openssl-guess-perl_0.15.bb       |   2 +-
 .../python3-gsocketpool_0.1.6.bb              |   3 +-
 .../python-hpack/python3-hpack_4.0.0.bb       |   2 +
 .../python3-pyconnman_0.2.0.bb                |   2 +-
 .../python-thrift/python3-thrift_0.16.0.bb    |   1 +
 .../python-txws/python3-txws_0.9.1.bb         |   5 +
 .../python3-pyparted_3.12.0.bb                |   5 +-
 .../send2trash/python3-send2trash_1.8.0.bb    |   2 +
 .../sensors/xfce4-sensors-plugin_1.4.3.bb     |   2 +-
 40 files changed, 1050 insertions(+), 18 deletions(-)
 create mode 100644 meta-oe/recipes-support/libtar/files/0003-Fix-missing-prototype-compiler-warnings.patch
 create mode 100644 meta-oe/recipes-support/libtar/files/0004-Fix-invalid-memory-de-reference-issue.patch
 create mode 100644 meta-oe/recipes-support/libtar/files/0005-fix-file-descriptor-leaks-reported-by-cppcheck.patch
 create mode 100644 meta-oe/recipes-support/libtar/files/0006-fix-memleak-on-tar_open-failure.patch
 create mode 100644 meta-oe/recipes-support/libtar/files/0007-fix-memleaks-in-libtar-sample-program.patch
 create mode 100644 meta-oe/recipes-support/libtar/files/0008-decode-avoid-using-a-static-buffer-in-th_get_pathnam.patch
 create mode 100644 meta-oe/recipes-support/libtar/files/0009-Check-for-NULL-before-freeing-th_pathname.patch
 create mode 100644 meta-oe/recipes-support/libtar/files/0010-Added-stdlib.h-for-malloc-in-lib-decode.c.patch
 create mode 100644 meta-oe/recipes-support/libtar/files/0011-libtar-fix-programming-mistakes-detected-by-static-a.patch
 create mode 100644 meta-oe/recipes-support/libtar/files/CVE-2013-4420.patch
 create mode 100644 meta-oe/recipes-support/libtar/files/CVE-2021-33640-CVE-2021-33645-CVE-2021-33646.patch
 create mode 100644 meta-oe/recipes-support/libtar/files/CVE-2021-33643-CVE-2021-33644.patch
 create mode 100644 meta-oe/recipes-support/libtinyxml/libtinyxml/CVE-2021-42260.patch
 create mode 100644 meta-oe/recipes-support/libtinyxml/libtinyxml/CVE-2023-34194.patch
 create mode 100644 meta-oe/recipes-support/procmail/procmail/CVE-2014-3618.patch
 create mode 100644 meta-oe/recipes-support/procmail/procmail/CVE-2017-16844.patch
 rename meta-oe/recipes-support/smarty/{smarty_4.1.0.bb => smarty_4.1.1.bb} (94%)
 create mode 100644 meta-oe/recipes-support/synergy/synergy/CVE-2020-15117.patch
#1 lore raw

PATCH 1/26 dash: correct licence

From: Dan McGregor <[email protected]>

According to its copyright file, dash is only BSD-3-Clause. It has a build time tool from bash that's under the GPL, but only the tool's output is used, not the tool itself. So all compiled artefacts in dash appear to share the same licence.

(cherry picked from commit 8eba35f8b03659ffd73aceb52b6e78da8661a6dd)
---
 meta-oe/recipes-shells/dash/dash_0.5.11.5.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-shells/dash/dash_0.5.11.5.bb +1 -1
index ad3672f3e4..3674052311 100644
@@ -2,7 +2,7 @@ SUMMARY = "Small and fast POSIX-compliant shell"
 HOMEPAGE = "http://gondor.apana.org.au/~herbert/dash/"
 SECTION = "System Environment/Shells"
 
-LICENSE = "BSD-3-Clause & GPL-2.0-or-later"
+LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b5262b4a1a1bff72b48e935531976d2e"
 
 inherit autotools update-alternatives
#2 lore raw

PATCH 2/26 libjs-jquery-icheck: Correct LIC_FILES_CHKSUM

In reply to Gyorgy Sarvari

From: Peter Kjellerstedt <[email protected]>

Only include the lines from icheck.js that cover the copyright and the license text.

License-Update: Only include the relevant parts of icheck.js

(cherry picked from commit e1bced739968a68ed2743d011cd82791d380678b)
---
 meta-oe/recipes-support/libjs/libjs-jquery-icheck_1.0.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/libjs/libjs-jquery-icheck_1.0.3.bb +1 -1
index 31c3534b88..63dfc6fa78 100644
@@ -3,7 +3,7 @@ SECTION = "console/network"
 HOMEPAGE = "http://fronteed.com/iCheck"
 
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://icheck.js;start_line=1;end_line=8;md5=404078d7de9f05ed64d364274f790055"
+LIC_FILES_CHKSUM = "file://icheck.js;beginline=6;endline=7;md5=ea25eee37fc3b14403e215bfe13564bc"
 
 SRC_URI = "git://github.com/fronteed/icheck.git;protocol=https;branch=${PV}"
 
#3 lore raw

PATCH 3/26 liboop: set correct LICENSE

In reply to Gyorgy Sarvari
(cherry picked from commit 0ea9584b84b5e23af9cc7285757d9032f31a968f)
---
 meta-oe/recipes-support/liboop/liboop_1.0.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/liboop/liboop_1.0.1.bb +1 -1
index 7ad88b7402..d9d802a6dc 100644
@@ -1,6 +1,6 @@
 DESCRIPTION = "Liboop is a low-level event loop management library for POSIX-based operating systems"
 HOMEPAGE = "http://www.lysator.liu.se/liboop/"
-LICENSE = "GPL-2.0-only"
+LICENSE = "LGPL-2.1-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=8b54f38ccbd44feb80ab90e01af8b700"
 
 SRC_URI = "http://ftp.lysator.liu.se/pub/liboop/liboop-${PV}.tar.gz \
#4 lore raw

PATCH 4/26 libtar: patch CVEs

In reply to Gyorgy Sarvari

From: Katariina Lounento <[email protected]>

cve-check.bbclass reported unpatched vulnerabilities in libtar [1,2,3,4,5]. The NIST assigned base score for the worst vulnerability is 9.1 / critical.

The patches were taken from the libtar [6] master branch after the latest tag v1.2.20 (the changes in libtar master mostly originate from Fedora and their patches), and from the Fedora 41 libtar source package
[7] and the Debian libtar package 1.2.20-8 [8] where the patches were not available in the libtar repository itself.

The Fedora patch series was taken in its entirety in order to minimize differences to Fedora's source tree instead of cherry-picking only CVE fixes. Minimizing the differences should avoid issues with potential inter-dependencies between the patches, and hopefully provide better confidence as even the newest patches have been in use in Fedora for nearly 2 years (since December 2022; Fedora rpms/libtar.git commit e25b692fc7ceaa387dafb865b472510754f51bd2). The series includes even the Fedora patch libtar-1.2.20-no-static-buffer.patch, which contains changes *) that match the libtar commit ec613af2e9371d7a3e1f7c7a6822164a4255b4d1 ("decode: avoid using a static buffer in th_get_pathname()") whose commit message says

Note this can break programs that expect sizeof(TAR) to be fixed.

The patches applied cleanly except for the Fedora srpm patch libtar-1.2.11-bz729009.patch, which is identical with the pre-existing meta-oe patch 0002-Do-not-strip-libtar.patch and is thus omitted.

The meta-openembedded recipe does not include any of the patches in Kirkstone [9] nor the current master [10].

libtar does not have newer releases, and the libtar master doesn't contain all of the changes included in the patches. Fedora's libtar.1.2.11-*.patch are not included in the libtar v1.2.20 release either but only in the master branch after the tag v1.2.20. The version number in the filename is supposedly due to the patches being created originally against v1.2.11 but have been upstreamed or at least committed to the master only after v1.2.20.

The commit metadata could not be practically completed in most of the cases due to missing commit messages in the original commits and patches. The informal note about the author ("Authored by") was added to the patch commit messages where the commit message was missing the original author(s)' Signed-off-by.

*) The patch also contains the changes split to the libtar commits

    495d0c0eabc5648186e7d58ad54b508d14af38f4 ("Check for NULL before
    freeing th_pathname") and 20aa09bd7775094a2beb0f136c2c7d9e9fd6c7e6
    ("Added stdlib.h for malloc() in lib/decode.c"))

[1] https://nvd.nist.gov/vuln/detail/CVE-2021-33643
[2] https://nvd.nist.gov/vuln/detail/CVE-2021-33644
[3] https://nvd.nist.gov/vuln/detail/CVE-2021-33645
[4] https://nvd.nist.gov/vuln/detail/CVE-2021-33646
[5] https://nvd.nist.gov/vuln/detail/CVE-2013-4420
[6] https://repo.or.cz/libtar.git
[7] https://src.fedoraproject.org/rpms/libtar/tree/f41
[8] https://sources.debian.org/patches/libtar/1.2.20-8/CVE-2013-4420.patch/
[9] https://git.openembedded.org/meta-openembedded/tree/meta-oe/recipes-support/libtar/libtar_1.2.20.bb?h=kirkstone&id=9a24b7679810628b594cc5a9b52f77f53d37004f
[10] https://git.openembedded.org/meta-openembedded/tree/meta-oe/recipes-support/libtar/libtar_1.2.20.bb?h=master&id=9356340655b3a4f87f98be88f2d167bb2514a54c

(cherry picked from commit 3c9b5b36c8dc619240ac422de2a0aaed0949de08)
---
 ...-missing-prototype-compiler-warnings.patch |  53 ++++++
 ...ix-invalid-memory-de-reference-issue.patch |  44 +++++
 ...escriptor-leaks-reported-by-cppcheck.patch | 101 +++++++++++
 ...0006-fix-memleak-on-tar_open-failure.patch |  26 +++
 ...ix-memleaks-in-libtar-sample-program.patch | 119 +++++++++++++
 ...ng-a-static-buffer-in-th_get_pathnam.patch |  89 ++++++++++
 ...-for-NULL-before-freeing-th_pathname.patch |  30 ++++
 ...-stdlib.h-for-malloc-in-lib-decode.c.patch |  26 +++
 ...amming-mistakes-detected-by-static-a.patch | 100 +++++++++++
 .../libtar/files/CVE-2013-4420.patch          | 160 ++++++++++++++++++
 ...-33640-CVE-2021-33645-CVE-2021-33646.patch |  42 +++++
 .../files/CVE-2021-33643-CVE-2021-33644.patch |  52 ++++++
 .../recipes-support/libtar/libtar_1.2.20.bb   |  12 ++
 13 files changed, 854 insertions(+)
 create mode 100644 meta-oe/recipes-support/libtar/files/0003-Fix-missing-prototype-compiler-warnings.patch
 create mode 100644 meta-oe/recipes-support/libtar/files/0004-Fix-invalid-memory-de-reference-issue.patch
 create mode 100644 meta-oe/recipes-support/libtar/files/0005-fix-file-descriptor-leaks-reported-by-cppcheck.patch
 create mode 100644 meta-oe/recipes-support/libtar/files/0006-fix-memleak-on-tar_open-failure.patch
 create mode 100644 meta-oe/recipes-support/libtar/files/0007-fix-memleaks-in-libtar-sample-program.patch
 create mode 100644 meta-oe/recipes-support/libtar/files/0008-decode-avoid-using-a-static-buffer-in-th_get_pathnam.patch
 create mode 100644 meta-oe/recipes-support/libtar/files/0009-Check-for-NULL-before-freeing-th_pathname.patch
 create mode 100644 meta-oe/recipes-support/libtar/files/0010-Added-stdlib.h-for-malloc-in-lib-decode.c.patch
 create mode 100644 meta-oe/recipes-support/libtar/files/0011-libtar-fix-programming-mistakes-detected-by-static-a.patch
 create mode 100644 meta-oe/recipes-support/libtar/files/CVE-2013-4420.patch
 create mode 100644 meta-oe/recipes-support/libtar/files/CVE-2021-33640-CVE-2021-33645-CVE-2021-33646.patch
 create mode 100644 meta-oe/recipes-support/libtar/files/CVE-2021-33643-CVE-2021-33644.patch
meta-oe/recipes-support/libtar/files/0003-Fix-missing-prototype-compiler-warnings.patch new file +53 -0
new file mode 100644
index 0000000000..f0fd2a4aa1
@@ -0,0 +1,53 @@
+From 9426ac3d232e2f90c571979a2166c5e1328967d1 Mon Sep 17 00:00:00 2001
+From: Hans de Goede <[email protected]>
+Date: Tue, 15 Oct 2013 14:39:04 +0200
+Subject: [PATCH] Fix missing prototype compiler warnings
+
+Signed-off-by: Kamil Dudka <[email protected]>
+
+Upstream-Status: Backport [https://repo.or.cz/libtar.git/commit/30e5556d1c9323e9f1887b28d42581c2954b53c9]
+
+Signed-off-by: Katariina Lounento <[email protected]>
+---
+ lib/append.c  | 2 ++
+ lib/output.c  | 1 +
+ lib/wrapper.c | 1 +
+ 3 files changed, 4 insertions(+)
+
+diff --git a/lib/append.c b/lib/append.c
+index 13e1ace..e8bd89d 100644
+--- a/lib/append.c
++++ b/lib/append.c
+@@ -13,6 +13,8 @@
+ #include <internal.h>
+ 
+ #include <stdio.h>
++#include <stdlib.h>
++#include <string.h>
+ #include <errno.h>
+ #include <fcntl.h>
+ #include <sys/param.h>
+diff --git a/lib/output.c b/lib/output.c
+index a2db929..a5262ee 100644
+--- a/lib/output.c
++++ b/lib/output.c
+@@ -13,6 +13,7 @@
+ #include <internal.h>
+ 
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <pwd.h>
+ #include <grp.h>
+ #include <time.h>
+diff --git a/lib/wrapper.c b/lib/wrapper.c
+index 4cd0652..44cc435 100644
+--- a/lib/wrapper.c
++++ b/lib/wrapper.c
+@@ -13,6 +13,7 @@
+ #include <internal.h>
+ 
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <sys/param.h>
+ #include <dirent.h>
+ #include <errno.h>
meta-oe/recipes-support/libtar/files/0004-Fix-invalid-memory-de-reference-issue.patch new file +44 -0

44 lines not on this page · raw message

meta-oe/recipes-support/libtar/files/0005-fix-file-descriptor-leaks-reported-by-cppcheck.patch new file +101 -0

101 lines not on this page · raw message

meta-oe/recipes-support/libtar/files/0006-fix-memleak-on-tar_open-failure.patch new file +26 -0
new file mode 100644
index 0000000000..90809ad846
@@ -0,0 +1,26 @@
+From f6c5cba59444ecda9bbc22b8e8e57fd1015a688d Mon Sep 17 00:00:00 2001
+From: Huzaifa Sidhpurwala <[email protected]>
+Date: Tue, 15 Oct 2013 20:02:58 -0400
+Subject: [PATCH] fix memleak on tar_open() failure
+
+Authored by Huzaifa Sidhpurwala <[email protected]>.
+
+Upstream-Status: Backport [https://repo.or.cz/libtar.git/commit/36629a41208375f5105427e98078127551692028]
+
+Signed-off-by: Katariina Lounento <[email protected]>
+---
+ lib/handle.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/lib/handle.c b/lib/handle.c
+index 33a262c..002d23c 100644
+--- a/lib/handle.c
++++ b/lib/handle.c
+@@ -82,6 +82,7 @@ tar_open(TAR **t, const char *pathname, tartype_t *type,
+ 	(*t)->fd = (*((*t)->type->openfunc))(pathname, oflags, mode);
+ 	if ((*t)->fd == -1)
+ 	{
++		libtar_hash_free((*t)->h, NULL);
+ 		free(*t);
+ 		return -1;
+ 	}
meta-oe/recipes-support/libtar/files/0007-fix-memleaks-in-libtar-sample-program.patch new file +119 -0

119 lines not on this page · raw message

meta-oe/recipes-support/libtar/files/0008-decode-avoid-using-a-static-buffer-in-th_get_pathnam.patch new file +89 -0

89 lines not on this page · raw message

meta-oe/recipes-support/libtar/files/0009-Check-for-NULL-before-freeing-th_pathname.patch new file +30 -0
new file mode 100644
index 0000000000..2d8f21171b
@@ -0,0 +1,30 @@
+From bc8ec7d940d7ffc870638521bd134098d2efa5df Mon Sep 17 00:00:00 2001
+From: Chris Frey <[email protected]>
+Date: Thu, 24 Oct 2013 17:55:12 -0400
+Subject: [PATCH] Check for NULL before freeing th_pathname
+
+Thanks to Harald Koch for pointing out that AIX 4 and 5 still need this.
+
+Authored by Chris Frey <[email protected]>.
+
+Upstream-Status: Backport [https://repo.or.cz/libtar.git/commit/495d0c0eabc5648186e7d58ad54b508d14af38f4]
+
+Signed-off-by: Katariina Lounento <[email protected]>
+---
+ lib/handle.c | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/lib/handle.c b/lib/handle.c
+index a19c046..28a7dc2 100644
+--- a/lib/handle.c
++++ b/lib/handle.c
+@@ -122,7 +122,8 @@ tar_close(TAR *t)
+ 		libtar_hash_free(t->h, ((t->oflags & O_ACCMODE) == O_RDONLY
+ 					? free
+ 					: (libtar_freefunc_t)tar_dev_free));
+-	free(t->th_pathname);
++	if (t->th_pathname != NULL)
++		free(t->th_pathname);
+ 	free(t);
+ 
+ 	return i;
meta-oe/recipes-support/libtar/files/0010-Added-stdlib.h-for-malloc-in-lib-decode.c.patch new file +26 -0
new file mode 100644
index 0000000000..edbd636b23
@@ -0,0 +1,26 @@
+From c64dfdc6ec5bc752aafd1ac16a380f47602197c4 Mon Sep 17 00:00:00 2001
+From: Chris Frey <[email protected]>
+Date: Thu, 24 Oct 2013 17:58:47 -0400
+Subject: [PATCH] Added stdlib.h for malloc() in lib/decode.c
+
+Authored by Chris Frey <[email protected]>.
+
+Upstream-Status: Backport [https://repo.or.cz/libtar.git/commit/20aa09bd7775094a2beb0f136c2c7d9e9fd6c7e6]
+
+Signed-off-by: Katariina Lounento <[email protected]>
+---
+ lib/decode.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/lib/decode.c b/lib/decode.c
+index edb2185..35312be 100644
+--- a/lib/decode.c
++++ b/lib/decode.c
+@@ -13,6 +13,7 @@
+ #include <internal.h>
+ 
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <sys/param.h>
+ #include <pwd.h>
+ #include <grp.h>
meta-oe/recipes-support/libtar/files/0011-libtar-fix-programming-mistakes-detected-by-static-a.patch new file +100 -0

100 lines not on this page · raw message

meta-oe/recipes-support/libtar/files/CVE-2013-4420.patch new file +160 -0

160 lines not on this page · raw message

meta-oe/recipes-support/libtar/files/CVE-2021-33640-CVE-2021-33645-CVE-2021-33646.patch new file +42 -0

42 lines not on this page · raw message

meta-oe/recipes-support/libtar/files/CVE-2021-33643-CVE-2021-33644.patch new file +52 -0

52 lines not on this page · raw message

meta-oe/recipes-support/libtar/libtar_1.2.20.bb +12 -0
index f93d9c09a5..c7501ac684 100644
@@ -8,6 +8,18 @@ LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=61cbac6719ae682ce6cd45b5c11e21af"
 SRC_URI = "${DEBIAN_MIRROR}/main/libt/${BPN}/${BPN}_${PV}.orig.tar.gz \
            file://fix_libtool_sysroot.patch \
            file://0002-Do-not-strip-libtar.patch \
+           file://0003-Fix-missing-prototype-compiler-warnings.patch \
+           file://0004-Fix-invalid-memory-de-reference-issue.patch \
+           file://0005-fix-file-descriptor-leaks-reported-by-cppcheck.patch \
+           file://0006-fix-memleak-on-tar_open-failure.patch \
+           file://0007-fix-memleaks-in-libtar-sample-program.patch \
+           file://0008-decode-avoid-using-a-static-buffer-in-th_get_pathnam.patch \
+           file://0009-Check-for-NULL-before-freeing-th_pathname.patch \
+           file://0010-Added-stdlib.h-for-malloc-in-lib-decode.c.patch \
+           file://0011-libtar-fix-programming-mistakes-detected-by-static-a.patch \
+           file://CVE-2021-33643-CVE-2021-33644.patch \
+           file://CVE-2021-33640-CVE-2021-33645-CVE-2021-33646.patch \
+           file://CVE-2013-4420.patch \
            "
 
 S = "${WORKDIR}/${BPN}"
#5 lore raw

PATCH 5/26 libtinyxml: patch CVE-2021-42260

In reply to Gyorgy Sarvari

From: Peter Marko <[email protected]>

Take patch from Debian:
https://salsa.debian.org/debian/tinyxml/-/commit/38db99c12e43d7d6e349403ce4d39a706708603d

(cherry picked from commit 066cf35ae588ef5f81266b216624b95d37777661)
---
 .../libtinyxml/CVE-2021-42260.patch           | 27 +++++++++++++++++++
 .../libtinyxml/libtinyxml_2.6.2.bb            |  4 ++-
 2 files changed, 30 insertions(+), 1 deletion(-)
 create mode 100644 meta-oe/recipes-support/libtinyxml/libtinyxml/CVE-2021-42260.patch
meta-oe/recipes-support/libtinyxml/libtinyxml/CVE-2021-42260.patch new file +27 -0
new file mode 100644
index 0000000000..8fc623744c
@@ -0,0 +1,27 @@
+Description: In stamp always advance the pointer if *p= 0xef
+ .
+ The current implementation only advanced if 0xef is followed
+ by two non-zero bytes. In case of malformed input (0xef should be
+ the start byte of a three byte character) this leads to an infinite
+ loop. (CVE-2021-42260)
+Origin: https://sourceforge.net/p/tinyxml/git/merge-requests/1/
+
+CVE: CVE-2021-42260
+Upstream-Status: Inactive-Upstream [lastrelease: 2011]
+Signed-off-by: Peter Marko <[email protected]>
+
+--- a/tinyxmlparser.cpp
++++ b/tinyxmlparser.cpp
+@@ -274,6 +274,12 @@ void TiXmlParsingData::Stamp( const char* now, TiXmlEncoding encoding )
+ 						else
+ 							{ p +=3; ++col; }	// A normal character.
+ 					}
++					else
++					{
++						// TIXML_UTF_LEAD_0 (239) is the start character of a 3 byte sequence, so
++						// there is something wrong here. Just advance the pointer to evade infinite loops
++						++p;
++					}
+ 				}
+ 				else
+ 				{
meta-oe/recipes-support/libtinyxml/libtinyxml_2.6.2.bb +3 -1
index 138df9f300..96c765299b 100644
@@ -10,7 +10,9 @@ PR = "r5"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/tinyxml/tinyxml_${@'${PV}'.replace('.', '_')}.tar.gz \
            file://enforce-use-stl.patch \
-           file://entity-encoding.patch"
+           file://entity-encoding.patch \
+           file://CVE-2021-42260.patch \
+"
 SRC_URI[md5sum] = "c1b864c96804a10526540c664ade67f0"
 SRC_URI[sha256sum] = "15bdfdcec58a7da30adc87ac2b078e4417dbe5392f3afb719f9ba6d062645593"
 
#6 lore raw

PATCH 6/26 libtinyxml: patch CVE-2023-34194

In reply to Gyorgy Sarvari

From: Peter Marko <[email protected]>

Take patch from Debian:
https://salsa.debian.org/debian/tinyxml/-/commit/2366e1f23d059d4c20c43c54176b6bd78d6a83fc

(cherry picked from commit f4a6966bf0cc48ee7fa83c64c2eec2c4fbf91eb4)
---
 .../libtinyxml/CVE-2023-34194.patch           | 31 +++++++++++++++++++
 .../libtinyxml/libtinyxml_2.6.2.bb            |  1 +
 2 files changed, 32 insertions(+)
 create mode 100644 meta-oe/recipes-support/libtinyxml/libtinyxml/CVE-2023-34194.patch
meta-oe/recipes-support/libtinyxml/libtinyxml/CVE-2023-34194.patch new file +31 -0
new file mode 100644
index 0000000000..a94806daad
@@ -0,0 +1,31 @@
+From: Guilhem Moulin <[email protected]>
+Date: Sat, 30 Dec 2023 14:15:54 +0100
+Subject: Avoid reachable assertion via crafted XML document with a '\0'
+ located after whitespace
+
+Bug: https://www.forescout.com/resources/sierra21-vulnerabilities
+Bug-Debian: https://bugs.debian.org/1059315
+Bug-Debian: https://security-tracker.debian.org/tracker/CVE-2023-34194
+
+CVE: CVE-2023-34194
+Upstream-Status: Inactive-Upstream [lastrelease: 2011]
+Signed-off-by: Peter Marko <[email protected]>
+---
+ tinyxmlparser.cpp | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/tinyxmlparser.cpp b/tinyxmlparser.cpp
+index 8aa0dfa..1601962 100644
+--- a/tinyxmlparser.cpp
++++ b/tinyxmlparser.cpp
+@@ -1606,6 +1606,10 @@ const char* TiXmlDeclaration::Parse( const char* p, TiXmlParsingData* data, TiXm
+ 		}
+ 
+ 		p = SkipWhiteSpace( p, _encoding );
++		if ( !p || !*p )
++		{
++			break;
++		}
+ 		if ( StringEqual( p, "version", true, _encoding ) )
+ 		{
+ 			TiXmlAttribute attrib;
meta-oe/recipes-support/libtinyxml/libtinyxml_2.6.2.bb +1 -0
index 96c765299b..9480249167 100644
@@ -12,6 +12,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/tinyxml/tinyxml_${@'${PV}'.replace('.', '_')}.t
            file://enforce-use-stl.patch \
            file://entity-encoding.patch \
            file://CVE-2021-42260.patch \
+           file://CVE-2023-34194.patch \
 "
 SRC_URI[md5sum] = "c1b864c96804a10526540c664ade67f0"
 SRC_URI[sha256sum] = "15bdfdcec58a7da30adc87ac2b078e4417dbe5392f3afb719f9ba6d062645593"
#7 lore raw

PATCH 7/26 multipath-tools: Use https for github

In reply to Gyorgy Sarvari

From: Fabio Estevam <[email protected]>

Per convert-srcuri.py script, github repos should be accessed via https.

Change it accordingly.

(cherry picked from commit 4cef1e68ea59510d85b778e11179a2dac47c658b)
---
 .../recipes-support/multipath-tools/multipath-tools_0.8.4.bb    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/multipath-tools/multipath-tools_0.8.4.bb +1 -1
index 0d51263f66..ee26cb742d 100644
@@ -29,7 +29,7 @@ DEPENDS = "libdevmapper \
 
 LICENSE = "GPL-2.0-only"
 
-SRC_URI = "git://github.com/opensvc/multipath-tools.git;protocol=http;branch=master \
+SRC_URI = "git://github.com/opensvc/multipath-tools.git;protocol=https;branch=master \
            file://multipathd.oe \
            file://multipath.conf.example \
            file://0021-RH-fixup-udev-rules-for-redhat.patch \
#8 lore raw

PATCH 8/26 ne10: append +git instead of gitr+

In reply to Gyorgy Sarvari

From: Martin Jansa <[email protected]>

* looks like a typo introduced in:
https://git.openembedded.org/meta-openembedded/commit/?id=6e431331d18ded23a78e238ed40d03434e7719d9
* use +git as most other recipes are using

(cherry picked from commit 10703e5c6a51ef14b357c5c2021979ecedcaeb13)
---
 meta-oe/recipes-support/ne10/ne10_1.2.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/ne10/ne10_1.2.1.bb +1 -1
index 0e16b15c97..9d0db23bf8 100644
@@ -11,7 +11,7 @@ SRC_URI = "git://github.com/projectNe10/Ne10.git;branch=master;protocol=https \
 SRCREV = "18c4c982a595dad069cd8df4932aefb1d257591f"
 
 S = "${WORKDIR}/git"
-PV .= "gitr+${SRCPV}"
+PV .= "+git${SRCPV}"
 
 inherit cmake
 
#9 lore raw

Re: [oe] [meta-oe][kirkstone][PATCH 08/26] ne10: append +git instead of gitr+

Quoted 19 lines · Gyorgy Sarvari via lists.openembedded.org

From: Martin Jansa <[email protected]>

* looks like a typo introduced in:
https://git.openembedded.org/meta-openembedded/commit/?id=6e431331d18ded23a78e238ed40d03434e7719d9
* use +git as most other recipes are using

(cherry picked from commit 10703e5c6a51ef14b357c5c2021979ecedcaeb13)
---
 meta-oe/recipes-support/ne10/ne10_1.2.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/ne10/ne10_1.2.1.bb +0 -0
index 0e16b15c97..9d0db23bf8 100644

meta-oe/recipes-support/ne10/ne10_1.2.1.bb SRC_URI = "git://github.com/projectNe10/Ne10.git;branch=master;protocol=https \ · line 14

Quoted 5 lines
meta-oe/recipes-support/ne10/ne10_1.2.1.bb +1 -1
@@ -11,7 +11,7 @@ SRC_URI = "git://github.com/projectNe10/Ne10.git;branch=master;protocol=https \
 SRCREV = "18c4c982a595dad069cd8df4932aefb1d257591f"
 
 S = "${WORKDIR}/git"
-PV .= "gitr+${SRCPV}"
+PV .= "+git${SRCPV}"

Please check if this sorts in increasing order as expected

Quoted 12 lines
meta-oe/recipes-support/ne10/ne10_1.2.1.bb +0 -1
 inherit cmake
 
 
-=-=-=-=-=-=-=-=-=-=-=-

Links: You receive all messages sent to this group.
View/Reply Online (#120177): https://lists.openembedded.org/g/openembedded-devel/message/120177
Mute This Topic: https://lists.openembedded.org/mt/115551534/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#10 lore raw

PATCH 9/26 openct: Fix typo in SUMMARY variable

In reply to Gyorgy Sarvari

From: Julian Haller <[email protected]>

(cherry picked from commit 38f62a5fb36ea55205598830bb683ab7447e7fe2)
---
 meta-oe/recipes-support/openct/openct_0.6.20.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/openct/openct_0.6.20.bb +1 -1
index a873da6339..08ec36d1e2 100644
@@ -1,4 +1,4 @@
-Summanry = "Middleware framework for smart card terminals"
+SUMMARY = "Middleware framework for smart card terminals"
 HOMEPAGE = "https://github.com/OpenSC/openct/wiki"
 DESCRIPTION = " \
 OpenCT implements drivers for several smart card readers. \
#11 lore raw

PATCH 10/26 procmail: Update status for CVE-1999-0475

In reply to Gyorgy Sarvari

From: Ninette Adhikari <[email protected]>

Current version 3.22 is not affected by the issue. Affected versions: Up to (excl.) 3.2.1

(cherry picked from commit 30e6d975e8d7567b40cbdfd22e89bc1a7e1a9c86)

Adapted to Kirkstone

---
 meta-oe/recipes-support/procmail/procmail_3.22.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-oe/recipes-support/procmail/procmail_3.22.bb +3 -0
index ba268de0a5..2e2735d192 100644
@@ -43,3 +43,6 @@ do_install() {
     oe_runmake -i BASENAME=${D}/usr MANDIR=${D}${mandir} install
     install -m 0644 debian/mailstat.1 ${D}${mandir}/man1
 }
+
+#fixed-version: No action required. The current version (3.22) is not affected by the CVE.
+CVE_CHECK_IGNORE += "CVE-1999-0475"
#12 lore raw

PATCH 11/26 procmail: patch CVE-2014-3618

In reply to Gyorgy Sarvari

From: Peter Marko <[email protected]>

Take patch from Debian.
https://sources.debian.org/data/main/p/procmail/3.22-20%2Bdeb7u1/debian/patches/CVE-2014-3618.patch

(cherry picked from commit 8378820dab0b6955fb0e2b27f24a1626f9124e5b)
---
 .../procmail/procmail/CVE-2014-3618.patch     | 29 +++++++++++++++++++
 .../recipes-support/procmail/procmail_3.22.bb |  4 ++-
 2 files changed, 32 insertions(+), 1 deletion(-)
 create mode 100644 meta-oe/recipes-support/procmail/procmail/CVE-2014-3618.patch
meta-oe/recipes-support/procmail/procmail/CVE-2014-3618.patch new file +29 -0
new file mode 100644
index 0000000000..b041924361
@@ -0,0 +1,29 @@
+Description: Fix heap-overflow in formail
+ CVE-2014-3618: Heap-overflow in formail when processing
+ specially-crafted email headers.
+Origin: http://www.openwall.com/lists/oss-security/2014/09/03/8
+Bug-Debian: https://bugs.debian.org/704675
+Bug-Debian: https://bugs.debian.org/760443
+Forwarded: not-needed
+Last-Update: 2014-09-04
+
+CVE: CVE-2014-3618
+Upstream-Status: Inactive-Upstream [lastrelease: 2001]
+Signed-off-by: Peter Marko <[email protected]>
+
+--- a/src/formisc.c
++++ b/src/formisc.c
+@@ -84,12 +84,11 @@ normal:	   *target++= *start++;
+ 	case '"':*target++=delim='"';start++;
+       }
+      ;{ int i;
+-	do
++	while(*start)
+ 	   if((i= *target++= *start++)==delim)	 /* corresponding delimiter? */
+ 	      break;
+ 	   else if(i=='\\'&&*start)		    /* skip quoted character */
+ 	      *target++= *start++;
+-	while(*start);						/* anything? */
+       }
+      hitspc=2;
+    }
meta-oe/recipes-support/procmail/procmail_3.22.bb +3 -1
index 2e2735d192..4cfac9b49e 100644
@@ -12,7 +12,9 @@ SRC_URI = "http://www.ring.gr.jp/archives/net/mail/${BPN}/${BP}.tar.gz \
     file://from-debian-to-fix-compile-errors.patch \
     file://from-debian-to-modify-parameters.patch \
     file://from-debian-to-fix-man-file.patch \
-    file://man-file-mailstat.1-from-debian.patch"
+    file://man-file-mailstat.1-from-debian.patch \
+    file://CVE-2014-3618.patch \
+"
 SRC_URI[md5sum] = "1678ea99b973eb77eda4ecf6acae53f1"
 SRC_URI[sha256sum] = "087c75b34dd33d8b9df5afe9e42801c9395f4bf373a784d9bc97153b0062e117"
 
#13 lore raw

PATCH 12/26 procmail: patch CVE-2017-16844.

In reply to Gyorgy Sarvari

From: Peter Marko <[email protected]>

Take patch from Debian.
https://sources.debian.org/data/main/p/procmail/3.22-26%2Bdeb10u1/debian/patches/30

(cherry picked from commit 3d97f4c13d5f5810659e107f6461f0b63f6fa92a)
---
 .../procmail/procmail/CVE-2017-16844.patch    | 20 +++++++++++++++++++
 .../recipes-support/procmail/procmail_3.22.bb |  1 +
 2 files changed, 21 insertions(+)
 create mode 100644 meta-oe/recipes-support/procmail/procmail/CVE-2017-16844.patch
meta-oe/recipes-support/procmail/procmail/CVE-2017-16844.patch new file +20 -0
new file mode 100644
index 0000000000..6e04989c33
@@ -0,0 +1,20 @@
+From: Santiago Vila <[email protected]>
+Subject: Fix heap-based buffer overflow in loadbuf()
+Bug-Debian: http://bugs.debian.org/876511
+X-Debian-version: 3.22-26
+
+CVE: CVE-2017-16844
+Upstream-Status: Inactive-Upstream [lastrelease: 2001]
+Signed-off-by: Peter Marko <[email protected]>
+
+--- a/src/formisc.c
++++ b/src/formisc.c
+@@ -103,7 +103,7 @@
+ }
+ 							    /* append to buf */
+ void loadbuf(text,len)const char*const text;const size_t len;
+-{ if(buffilled+len>buflen)			  /* buf can't hold the text */
++{ while(buffilled+len>buflen)			  /* buf can't hold the text */
+      buf=realloc(buf,buflen+=Bsize);
+   tmemmove(buf+buffilled,text,len);buffilled+=len;
+ }
meta-oe/recipes-support/procmail/procmail_3.22.bb +1 -0
index 4cfac9b49e..827770e4b9 100644
@@ -14,6 +14,7 @@ SRC_URI = "http://www.ring.gr.jp/archives/net/mail/${BPN}/${BP}.tar.gz \
     file://from-debian-to-fix-man-file.patch \
     file://man-file-mailstat.1-from-debian.patch \
     file://CVE-2014-3618.patch \
+    file://CVE-2017-16844.patch \
 "
 SRC_URI[md5sum] = "1678ea99b973eb77eda4ecf6acae53f1"
 SRC_URI[sha256sum] = "087c75b34dd33d8b9df5afe9e42801c9395f4bf373a784d9bc97153b0062e117"
#14 lore raw

PATCH 13/26 synergy: patch CVE-2020-15117

In reply to Gyorgy Sarvari

From: Peter Marko <[email protected]>

Pick commit based on [1].

Note that the pick is node from deskflow, which is open-source successor of synergy.
If anyone uses thie recipe, it should be switched.

[1] https://github.com/deskflow/deskflow/security/advisories/GHSA-chfm-333q-gfpp

(cherry picked from commit db283053d096cf77df8e4444ce91e5d882f8850c)
---
 .../synergy/synergy/CVE-2020-15117.patch      | 48 +++++++++++++++++++
 .../recipes-support/synergy/synergy_git.bb    |  1 +
 2 files changed, 49 insertions(+)
 create mode 100644 meta-oe/recipes-support/synergy/synergy/CVE-2020-15117.patch
meta-oe/recipes-support/synergy/synergy/CVE-2020-15117.patch new file +48 -0
new file mode 100644
index 0000000000..4ad2a45275
@@ -0,0 +1,48 @@
+From 79efdb7c617b809e1a2daf17441d7a30f7046aa5 Mon Sep 17 00:00:00 2001
+From: Jnewbon <[email protected]>
+Date: Tue, 14 Jul 2020 13:14:40 +0100
+Subject: [PATCH] Merge pull request from GHSA-chfm-333q-gfpp
+
+Attempts to fis DoS to servers with less then 4GB memory
+
+CVE: CVE-2020-15117
+Upstream-Status: Backport [https://github.com/deskflow/deskflow/commit/0a97c2be0da2d0df25cb86dfd642429e7a8bea39]
+Signed-off-by: Peter Marko <[email protected]>
+---
+ src/lib/synergy/ProtocolUtil.cpp | 13 ++++++++++++-
+ 1 file changed, 12 insertions(+), 1 deletion(-)
+
+diff --git a/src/lib/synergy/ProtocolUtil.cpp b/src/lib/synergy/ProtocolUtil.cpp
+index d9f5dc324..7d2c37ff8 100644
+--- a/src/lib/synergy/ProtocolUtil.cpp
++++ b/src/lib/synergy/ProtocolUtil.cpp
+@@ -61,6 +61,9 @@ ProtocolUtil::readf(synergy::IStream* stream, const char* fmt, ...)
+     catch (XIO&) {
+         result = false;
+     }
++    catch (std::bad_alloc & exception) {
++        result = false;
++    }
+     va_end(args);
+     return result;
+ }
+@@ -216,7 +219,15 @@ ProtocolUtil::vreadf(synergy::IStream* stream, const char* fmt, va_list args)
+                 // allocate a buffer to read the data
+                 UInt8* sBuffer = buffer;
+                 if (!useFixed) {
+-                    sBuffer = new UInt8[len];
++                    try{
++                        sBuffer = new UInt8[len];
++                    }
++                    catch (std::bad_alloc & exception) {
++                        // Added try catch due to GHSA-chfm-333q-gfpp
++                        LOG((CLOG_ERR "ALLOC: Unable to allocate memory %d bytes", len));
++                        LOG((CLOG_DEBUG "bad_alloc detected: Do you have enough free memory?"));
++                        throw exception;
++                    }
+                 }
+ 
+                 // read the data
+-- 
+2.30.2
+
meta-oe/recipes-support/synergy/synergy_git.bb +1 -0
index f2e7a91618..97891a6c86 100644
@@ -10,6 +10,7 @@ DEPENDS = "virtual/libx11 libxtst libxinerama curl openssl"
 REQUIRED_DISTRO_FEATURES = "x11"
 
 SRC_URI = "git://github.com/symless/synergy-core;protocol=https;nobranch=1"
+SRC_URI += "file://CVE-2020-15117.patch"
 
 # Version 1.10.1-stable
 SRCREV ?= "1b4c076127687aceac931d269e898beaac1cad9f"
#15 lore raw

PATCH 14/26 lcov: Fix Perl Path

In reply to Gyorgy Sarvari

From: Alex Yao <[email protected]>

Fixes an issue where lcov is using the system Perl rather than the yocto provided Perl. This causes packages to not be found during runtime such as PerlIO::gzip.

(cherry picked from commit e66ae31c9522a6acf42720edb7623a93407a983a)
---
 meta-oe/recipes-support/lcov/lcov_1.14.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/lcov/lcov_1.14.bb +1 -1
index 47062cca52..f18c7b18eb 100755
@@ -59,7 +59,7 @@ SRC_URI[md5sum] = "0220d01753469f83921f8f41ae5054c1"
 SRC_URI[sha256sum] = "14995699187440e0ae4da57fe3a64adc0a3c5cf14feab971f8db38fb7d8f071a"
 
 do_install() {
-    oe_runmake install PREFIX=${D}${prefix} CFG_DIR=${D}${sysconfdir}
+    oe_runmake install PREFIX=${D}${prefix} CFG_DIR=${D}${sysconfdir} LCOV_PERL_PATH="/usr/bin/env perl"
 }
 
 BBCLASSEXTEND = "native nativesdk"
#16 lore raw

PATCH 15/26 smarty: upgrade 4.1.0 -> 4.1.1

In reply to Gyorgy Sarvari

From: Wang Mingyu <[email protected]>

Changelog:
==========
Security
--------
Prevent PHP injection through malicious block name or include file name. This addresses CVE-2022-29221

Fixed
-------
Exclude docs and demo from export and composer #751
PHP 8.1 deprecation notices in demo/plugins/cacheresource.pdo.php #706 PHP 8.1 deprecation notices in truncate modifier #699
Math equation max(x, y) didn't work anymore #721
Fix PHP 8.1 deprecated warning when calling rtrim #743
PHP 8.1: fix deprecation in escape modifier #727

(cherry picked from commit 9374648c390aebb87540781de54b0caf85340b16)
---
 .../recipes-support/smarty/{smarty_4.1.0.bb => smarty_4.1.1.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-support/smarty/{smarty_4.1.0.bb => smarty_4.1.1.bb} (94%)
meta-oe/recipes-support/smarty/smarty_4.1.1.bb renamed from meta-oe/recipes-support/smarty/smarty_4.1.0.bb +1 -1
similarity index 94%
rename from meta-oe/recipes-support/smarty/smarty_4.1.0.bb
rename to meta-oe/recipes-support/smarty/smarty_4.1.1.bb
index 18753db2b7..df441e8db2 100644
@@ -9,7 +9,7 @@ DEPENDS += "php"
 
 SRC_URI = "git://github.com/smarty-php/smarty.git;protocol=https;branch=master"
 
-SRCREV = "9e0536de18b53ba193364291ef0303b0ab9903e1"
+SRCREV = "71036be8be02bf93735c47b0b745f722efbc729f"
 
 S = "${WORKDIR}/git"
 
#17 lore raw

PATCH 16/26 span-lite: do not inherit ptest

In reply to Gyorgy Sarvari

From: Tim Orling <[email protected]>

This recipe provides no run-ptest script.

(cherry picked from commit 0fc5f550d31f82aa348a4145573df3aea896f5ab)
---
 meta-oe/recipes-support/span-lite/span-lite_0.10.3.bb | 1 -
 1 file changed, 1 deletion(-)
meta-oe/recipes-support/span-lite/span-lite_0.10.3.bb +0 -1
index 0d9a8c93d2..15380f5d7f 100644
@@ -9,4 +9,3 @@ SRCREV = "cbb9c3c5162a0d7018c7b3e053153a04d4fbbbb9"
 S = "${WORKDIR}/git"
 
 inherit cmake
-inherit ptest
#18 lore raw

PATCH 17/26 tree: fix broken links

In reply to Gyorgy Sarvari

From: Benjamin Szőke <[email protected]>

New tarball location is:
http://oldmanprogrammer.net/tar/tree/

Homepage is:
http://oldmanprogrammer.net/source.php?dir=projects/tree

(cherry picked from commit 0c4079fc28cc36cb2dbfe48093f2cf64106f8b5d)
---
 meta-oe/recipes-support/tree/tree_2.0.2.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-oe/recipes-support/tree/tree_2.0.2.bb +2 -2
index 26b6074ed3..08d234acdd 100644
@@ -1,10 +1,10 @@
 SUMMARY = "A recursive directory listing command"
-HOMEPAGE = "http://mama.indstate.edu/users/ice/tree/"
+HOMEPAGE = "https://oldmanprogrammer.net/source.php?dir=projects/tree"
 SECTION = "console/utils"
 LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=393a5ca445f6965873eca0259a17f833"
 
-SRC_URI = "http://mama.indstate.edu/users/ice/tree/src/${BP}.tgz"
+SRC_URI = "https://oldmanprogrammer.net/tar/tree/${BP}.tgz"
 SRC_URI[sha256sum] = "7d693a1d88d3c4e70a73e03b8dbbdc12c2945d482647494f2f5bd83a479eeeaf"
 
 # tree's default CFLAGS for Linux
#19 lore raw

PATCH 18/26 libcrypt-openssl-guess-perl: fix syntax for PROVIDES

In reply to Gyorgy Sarvari

From: Yi Zhao <[email protected]>

PROVIDES_${PN} -> PROVIDES

(cherry picked from commit 9d543525642a4369f60b9d3ea721e55d0a605fce)
---
 .../recipes-perl/libcrypt/libcrypt-openssl-guess-perl_0.15.bb   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-perl/recipes-perl/libcrypt/libcrypt-openssl-guess-perl_0.15.bb +1 -1
index 3f004bb2ec..d64fc296e2 100644
@@ -29,7 +29,7 @@ inherit cpan ptest-perl
 BBCLASSEXTEND = "native"
 
 # for backwards compatibility
-PROVIDES_${PN} += "libcrypt-openssl-guess"
+PROVIDES += "libcrypt-openssl-guess"
 
 RDEPENDS:${PN}-ptest += "\
     perl-module-test-more \
#20 lore raw

PATCH 19/26 python3-gsocketpool: add missing run-time dependencies

In reply to Gyorgy Sarvari

From: Bartosz Golaszewski <[email protected]>

Add missing RDEPENDS for this package.

(cherry picked from commit b6304859867a78b98253b9c9e15484b482031a1d)
---
 .../python-gsocketpool/python3-gsocketpool_0.1.6.bb            | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta-python/recipes-connectivity/python-gsocketpool/python3-gsocketpool_0.1.6.bb +2 -1
index a5581c252b..8f40fa5ee4 100644
@@ -3,8 +3,9 @@ DESCRIPTION = "creates a pool of connections that can be used with gevent"
 HOMEPAGE = "https://github.com/studio-ousia/gsocketpool"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=4ba825394aec026b5f94edca44426859"
+
 DEPENDS += "${PYTHON_PN}-gevent"
-RDEPENDS:${PN} += "${PYTHON_PN}-gevent"
+RDEPENDS:${PN} += "${PYTHON_PN}-gevent ${PYTHON_PN}-logging"
 
 SRC_URI[md5sum] = "49f5f292ef1b60944ae92ca426a5e550"
 SRC_URI[sha256sum] = "f2e2749aceadce6b27ca52e2b0a64af99797746a8681e1a2963f72007c14cb14"
#21 lore raw

PATCH 20/26 python3-pyconnman: Add 'future' runtime dependency

In reply to Gyorgy Sarvari

From: Marcus Flyckt <[email protected]>

pyconnman has an install_requires on 'future', but the corresponding 'python3-future' is missing from the recipes RDEPENDS.

(cherry picked from commit 4ccb2fa47f066077e013befab18b08bd4d1df70e)
---
 .../python-pyconnman/python3-pyconnman_0.2.0.bb                 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-connectivity/python-pyconnman/python3-pyconnman_0.2.0.bb +1 -1
index 045655caa4..359a2918cf 100644
@@ -9,4 +9,4 @@ SRC_URI[sha256sum] = "d3a63a039c82b08a1171b003eafa62c6f128aa4eaa1ce7a55a9401b48f
 
 inherit pypi setuptools3
 
-RDEPENDS:${PN} = "connman python3-dbus python3-pprint"
+RDEPENDS:${PN} = "connman python3-dbus python3-pprint python3-future"
#22 lore raw

PATCH 21/26 python3-txws: add missing run-time dependencies

In reply to Gyorgy Sarvari

From: Bartosz Golaszewski <[email protected]>

Add missing RDEPENDS for this package.

(cherry picked from commit d334d496c36f326c9025fbe259f96fce62edaf1f)
---
 .../recipes-connectivity/python-txws/python3-txws_0.9.1.bb   | 5 +++++
 1 file changed, 5 insertions(+)
meta-python/recipes-connectivity/python-txws/python3-txws_0.9.1.bb +5 -0
index c075e42700..ef6375546e 100644
@@ -6,6 +6,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=76699830db7fa9e897f6a1ad05f98ec8"
 
 DEPENDS = "python3-twisted python3-six python3-vcversioner python3-six-native python3-vcversioner-native"
 
+RDEPENDS:${PN} += " \
+    ${PYTHON_PN}-six \
+    ${PYTHON_PN}-twisted \
+"
+
 SRC_URI = "git://github.com/MostAwesomeDude/txWS.git;branch=master;protocol=https"
 SRCREV= "88cf6d9b9b685ffa1720644bd53c742afb10a414"
 
#23 lore raw

PATCH 22/26 python3-hpack: add missing run-time dependencies

In reply to Gyorgy Sarvari

From: Bartosz Golaszewski <[email protected]>

Add missing RDEPENDS for this package.

(cherry picked from commit 1659a00086a360f64129fb28eaaf3066ae7589d6)
---
 .../recipes-connectivity/python-hpack/python3-hpack_4.0.0.bb    | 2 ++
 1 file changed, 2 insertions(+)
meta-python/recipes-connectivity/python-hpack/python3-hpack_4.0.0.bb +2 -0
index afba98e4b3..0297cb8c27 100644
@@ -8,3 +8,5 @@ SRC_URI[md5sum] = "27e01514ef06dc9fa0798d3dcb7de47c"
 SRC_URI[sha256sum] = "fc41de0c63e687ebffde81187a948221294896f6bdc0ae2312708df339430095"
 
 inherit pypi setuptools3
+
+RDEPENDS:${PN} += "${PYTHON_PN}-logging"
#24 lore raw

PATCH 23/26 python3-thrift: add missing run-time dependencies

In reply to Gyorgy Sarvari

From: Bartosz Golaszewski <[email protected]>

Add missing RDEPENDS for this package.

(cherry picked from commit e015b0e996aa0e442cc4e64a4ff21ae717f0ee24)
---
 .../recipes-connectivity/python-thrift/python3-thrift_0.16.0.bb  | 1 +
 1 file changed, 1 insertion(+)
meta-python/recipes-connectivity/python-thrift/python3-thrift_0.16.0.bb +1 -0
index 6eb896d1d2..f720537e70 100644
@@ -11,6 +11,7 @@ PYPI_SRC_URI:append = ";downloadfilename=${BP}.${PYPI_PACKAGE_EXT}"
 
 RDEPENDS:${PN} += "\
     ${PYTHON_PN}-logging \
+    ${PYTHON_PN}-scons \
     ${PYTHON_PN}-six \
     ${PYTHON_PN}-stringold \
     ${PYTHON_PN}-threading \
#25 lore raw

PATCH 24/26 python3-pyparted: add missing run-time dependencies

In reply to Gyorgy Sarvari

From: Bartosz Golaszewski <[email protected]>

Add missing RDEPENDS for this package.

(cherry picked from commit 9249052f98dde632173cbad95c7e6a3cd5e42651)
---
 .../python-pyparted/python3-pyparted_3.12.0.bb               | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
meta-python/recipes-extended/python-pyparted/python3-pyparted_3.12.0.bb +4 -1
index 9dd362766d..7a0d3987d2 100644
@@ -17,7 +17,10 @@ DEPENDS += "parted"
 
 RDEPENDS:${PN}:class-target += " \
     parted (>= 2.3) \
-    python3-stringold python3-codecs python3-math \
+    python3-codecs \
+    python3-math \
+    python3-numbers \
+    python3-stringold \
 "
 RDEPENDS:${PN}:class-native = ""
 
#26 lore raw

PATCH 25/26 python3-send2trash: add missing run-time dependencies

In reply to Gyorgy Sarvari

From: Bartosz Golaszewski <[email protected]>

Add missing RDEPENDS for this package.

(cherry picked from commit e7430b5874ae68c02a4cc0ecdbe76b62446c67c6)
---
 .../recipes-extended/send2trash/python3-send2trash_1.8.0.bb     | 2 ++
 1 file changed, 2 insertions(+)
meta-python/recipes-extended/send2trash/python3-send2trash_1.8.0.bb +2 -0
index 963351a2e2..d8f23c1c79 100644
@@ -7,3 +7,5 @@ inherit pypi setuptools3
 SRC_URI[sha256sum] = "d2c24762fd3759860a0aff155e45871447ea58d2be6bdd39b5c8f966a0c99c2d"
 
 PYPI_PACKAGE = "Send2Trash"
+
+RDEPENDS:${PN} += "${PYTHON_PN}-datetime"
#27 lore raw

PATCH 26/26 xfce4-sensors-plugin: correct netcat PACKAGECONFIG

In reply to Gyorgy Sarvari

In case netcat PACKAGECONFIG is enabled, do_configure fails with the following error message:

| configure: error: hddtemp isn't queryable via netcat (use --disable-pathchecks to disable this check)

hddtemp service keeps a TCP port open to query the sensor data. In case netcat is enabled for this recipe, the configure script will search for the netcat binary, and will try to query this hddtemp port, as a sanity check. This check is performed independently from the hddtemp PACKAGECONFIG. Since hddtemp isn't running in the build environment (probably) and network connection is also disabled, this check fails.

To avoid this problem, add the extra config argument suggested by the error message.

(cherry picked from commit b16f9c6f046fa6275d1afa7ee60acc8d85849163)
---
 .../recipes-panel-plugins/sensors/xfce4-sensors-plugin_1.4.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-xfce/recipes-panel-plugins/sensors/xfce4-sensors-plugin_1.4.3.bb +1 -1
index 142f98eef1..4c44af4410 100644
@@ -20,7 +20,7 @@ do_configure:prepend() {
 PACKAGECONFIG ??= "libnotify"
 PACKAGECONFIG[libsensors] = "--enable-libsensors,--disable-libsensors, lmsensors"
 PACKAGECONFIG[hddtemp]    = "--enable-hddtemp,--disable-hddtemp, hddtemp"
-PACKAGECONFIG[netcat]     = "--enable-netcat,--disable-netcat, netcat"
+PACKAGECONFIG[netcat]     = "--enable-netcat --disable-pathchecks,--disable-netcat, netcat"
 PACKAGECONFIG[libnotify]  = "--enable-notification,--disable-notification, libnotify"
 
 FILES_SOLIBSDEV = "${libdir}/xfce4/modules/lib*${SOLIBSDEV}"
#28 lore raw
In reply to Gyorgy Sarvari

Overall this looks good to me.

Quoted 140 lines · Gyorgy Sarvari via lists.openembedded.org

This is the last batch I intend to pick for Kirkstone for the time being.

This batch contains once again mostly CVE fixes and various recipe corrections (SRC_URI, RDEPENDS...).

A world build has succeeded with these patches for arm, aarch64, x86 and x86-64 platforms.

Please let me know any thoughts you have about this.

---

Alex Yao (1):
lcov: Fix Perl Path

Bartosz Golaszewski (6):
python3-gsocketpool: add missing run-time dependencies
python3-txws: add missing run-time dependencies
python3-hpack: add missing run-time dependencies
python3-thrift: add missing run-time dependencies
python3-pyparted: add missing run-time dependencies
python3-send2trash: add missing run-time dependencies

Benjamin Szőke (1):
tree: fix broken links

Dan McGregor (1):
dash: correct licence

Fabio Estevam (1):
multipath-tools: Use https for github

Gyorgy Sarvari (2):
liboop: set correct LICENSE
xfce4-sensors-plugin: correct netcat PACKAGECONFIG

Julian Haller (1):
openct: Fix typo in SUMMARY variable

Katariina Lounento (1):
libtar: patch CVEs

Marcus Flyckt (1):
python3-pyconnman: Add 'future' runtime dependency

Martin Jansa (1):
ne10: append +git instead of gitr+

Ninette Adhikari (1):
procmail: Update status for CVE-1999-0475

Peter Kjellerstedt (1):
libjs-jquery-icheck: Correct LIC_FILES_CHKSUM

Peter Marko (5):
libtinyxml: patch CVE-2021-42260
libtinyxml: patch CVE-2023-34194
procmail: patch CVE-2014-3618
procmail: patch CVE-2017-16844.
synergy: patch CVE-2020-15117

Tim Orling (1):
span-lite: do not inherit ptest

Wang Mingyu (1):
smarty: upgrade 4.1.0 -> 4.1.1

Yi Zhao (1):
libcrypt-openssl-guess-perl: fix syntax for PROVIDES

 meta-oe/recipes-shells/dash/dash_0.5.11.5.bb  |   2 +-
 meta-oe/recipes-support/lcov/lcov_1.14.bb     |   2 +-
 .../libjs/libjs-jquery-icheck_1.0.3.bb        |   2 +-
 .../recipes-support/liboop/liboop_1.0.1.bb    |   2 +-
 ...-missing-prototype-compiler-warnings.patch |  53 ++++++
 ...ix-invalid-memory-de-reference-issue.patch |  44 +++++
 ...escriptor-leaks-reported-by-cppcheck.patch | 101 +++++++++++
 ...0006-fix-memleak-on-tar_open-failure.patch |  26 +++
 ...ix-memleaks-in-libtar-sample-program.patch | 119 +++++++++++++
 ...ng-a-static-buffer-in-th_get_pathnam.patch |  89 ++++++++++
 ...-for-NULL-before-freeing-th_pathname.patch |  30 ++++
 ...-stdlib.h-for-malloc-in-lib-decode.c.patch |  26 +++
 ...amming-mistakes-detected-by-static-a.patch | 100 +++++++++++
 .../libtar/files/CVE-2013-4420.patch          | 160 ++++++++++++++++++
 ...-33640-CVE-2021-33645-CVE-2021-33646.patch |  42 +++++
 .../files/CVE-2021-33643-CVE-2021-33644.patch |  52 ++++++
 .../recipes-support/libtar/libtar_1.2.20.bb   |  12 ++
 .../libtinyxml/CVE-2021-42260.patch           |  27 +++
 .../libtinyxml/CVE-2023-34194.patch           |  31 ++++
 .../libtinyxml/libtinyxml_2.6.2.bb            |   5 +-
 .../multipath-tools/multipath-tools_0.8.4.bb  |   2 +-
 meta-oe/recipes-support/ne10/ne10_1.2.1.bb    |   2 +-
 .../recipes-support/openct/openct_0.6.20.bb   |   2 +-
 .../procmail/procmail/CVE-2014-3618.patch     |  29 ++++
 .../procmail/procmail/CVE-2017-16844.patch    |  20 +++
 .../recipes-support/procmail/procmail_3.22.bb |   8 +-
 .../{smarty_4.1.0.bb => smarty_4.1.1.bb}      |   2 +-
 .../span-lite/span-lite_0.10.3.bb             |   1 -
 .../synergy/synergy/CVE-2020-15117.patch      |  48 ++++++
 .../recipes-support/synergy/synergy_git.bb    |   1 +
 meta-oe/recipes-support/tree/tree_2.0.2.bb    |   4 +-
 .../libcrypt-openssl-guess-perl_0.15.bb       |   2 +-
 .../python3-gsocketpool_0.1.6.bb              |   3 +-
 .../python-hpack/python3-hpack_4.0.0.bb       |   2 +
 .../python3-pyconnman_0.2.0.bb                |   2 +-
 .../python-thrift/python3-thrift_0.16.0.bb    |   1 +
 .../python-txws/python3-txws_0.9.1.bb         |   5 +
 .../python3-pyparted_3.12.0.bb                |   5 +-
 .../send2trash/python3-send2trash_1.8.0.bb    |   2 +
 .../sensors/xfce4-sensors-plugin_1.4.3.bb     |   2 +-
 40 files changed, 1050 insertions(+), 18 deletions(-)
 create mode 100644 meta-oe/recipes-support/libtar/files/0003-Fix-missing-prototype-compiler-warnings.patch
 create mode 100644 meta-oe/recipes-support/libtar/files/0004-Fix-invalid-memory-de-reference-issue.patch
 create mode 100644 meta-oe/recipes-support/libtar/files/0005-fix-file-descriptor-leaks-reported-by-cppcheck.patch
 create mode 100644 meta-oe/recipes-support/libtar/files/0006-fix-memleak-on-tar_open-failure.patch
 create mode 100644 meta-oe/recipes-support/libtar/files/0007-fix-memleaks-in-libtar-sample-program.patch
 create mode 100644 meta-oe/recipes-support/libtar/files/0008-decode-avoid-using-a-static-buffer-in-th_get_pathnam.patch
 create mode 100644 meta-oe/recipes-support/libtar/files/0009-Check-for-NULL-before-freeing-th_pathname.patch
 create mode 100644 meta-oe/recipes-support/libtar/files/0010-Added-stdlib.h-for-malloc-in-lib-decode.c.patch
 create mode 100644 meta-oe/recipes-support/libtar/files/0011-libtar-fix-programming-mistakes-detected-by-static-a.patch
 create mode 100644 meta-oe/recipes-support/libtar/files/CVE-2013-4420.patch
 create mode 100644 meta-oe/recipes-support/libtar/files/CVE-2021-33640-CVE-2021-33645-CVE-2021-33646.patch
 create mode 100644 meta-oe/recipes-support/libtar/files/CVE-2021-33643-CVE-2021-33644.patch
 create mode 100644 meta-oe/recipes-support/libtinyxml/libtinyxml/CVE-2021-42260.patch
 create mode 100644 meta-oe/recipes-support/libtinyxml/libtinyxml/CVE-2023-34194.patch
 create mode 100644 meta-oe/recipes-support/procmail/procmail/CVE-2014-3618.patch
 create mode 100644 meta-oe/recipes-support/procmail/procmail/CVE-2017-16844.patch
 rename meta-oe/recipes-support/smarty/{smarty_4.1.0.bb => smarty_4.1.1.bb} (94%)
 create mode 100644 meta-oe/recipes-support/synergy/synergy/CVE-2020-15117.patch

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#120169): https://lists.openembedded.org/g/openembedded-devel/message/120169
Mute This Topic: https://lists.openembedded.org/mt/115551526/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-