Cherry-picks from Master Batch G
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.patchPATCH 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.
--- 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
@@ -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
PATCH 2/26 libjs-jquery-icheck: Correct LIC_FILES_CHKSUM
In reply to Gyorgy SarvariFrom: 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
--- 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
@@ -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}"
PATCH 3/26 liboop: set correct LICENSE
In reply to Gyorgy Sarvari--- 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
@@ -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 \
PATCH 4/26 libtar: patch CVEs
In reply to Gyorgy SarvariFrom: 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
--- ...-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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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}"
PATCH 5/26 libtinyxml: patch CVE-2021-42260
In reply to Gyorgy SarvariFrom: Peter Marko <[email protected]>
Take patch from Debian:
https://salsa.debian.org/debian/tinyxml/-/commit/38db99c12e43d7d6e349403ce4d39a706708603d
--- .../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
@@ -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
@@ -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"
PATCH 6/26 libtinyxml: patch CVE-2023-34194
In reply to Gyorgy SarvariFrom: Peter Marko <[email protected]>
Take patch from Debian:
https://salsa.debian.org/debian/tinyxml/-/commit/2366e1f23d059d4c20c43c54176b6bd78d6a83fc
--- .../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
@@ -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
@@ -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"
PATCH 7/26 multipath-tools: Use https for github
In reply to Gyorgy SarvariFrom: Fabio Estevam <[email protected]>
Per convert-srcuri.py script, github repos should be accessed via https.
Change it accordingly.
--- .../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
@@ -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 \
PATCH 8/26 ne10: append +git instead of gitr+
In reply to Gyorgy SarvariFrom: 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
--- 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
@@ -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
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 usingSigned-off-by Martin Jansa <[email protected]>(cherry picked from commit 10703e5c6a51ef14b357c5c2021979ecedcaeb13)Signed-off-by Gyorgy Sarvari <[email protected]>--- 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
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
-1inherit 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]]
-=-=-=-=-=-=-=-=-=-=-=-
PATCH 9/26 openct: Fix typo in SUMMARY variable
In reply to Gyorgy SarvariFrom: Julian Haller <[email protected]>
--- 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
@@ -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. \
PATCH 10/26 procmail: Update status for CVE-1999-0475
In reply to Gyorgy SarvariFrom: Ninette Adhikari <[email protected]>
Current version 3.22 is not affected by the issue. Affected versions: Up to (excl.) 3.2.1
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
@@ -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"
PATCH 11/26 procmail: patch CVE-2014-3618
In reply to Gyorgy SarvariFrom: 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
--- .../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
@@ -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
@@ -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"
PATCH 12/26 procmail: patch CVE-2017-16844.
In reply to Gyorgy SarvariFrom: Peter Marko <[email protected]>
Take patch from Debian.
https://sources.debian.org/data/main/p/procmail/3.22-26%2Bdeb10u1/debian/patches/30
--- .../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
@@ -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
@@ -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"
PATCH 13/26 synergy: patch CVE-2020-15117
In reply to Gyorgy SarvariFrom: 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
--- .../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
@@ -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
@@ -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"
PATCH 14/26 lcov: Fix Perl Path
In reply to Gyorgy SarvariFrom: 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.
--- 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
@@ -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"
PATCH 15/26 smarty: upgrade 4.1.0 -> 4.1.1
In reply to Gyorgy SarvariFrom: 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
---
.../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
@@ -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"
PATCH 16/26 span-lite: do not inherit ptest
In reply to Gyorgy SarvariFrom: Tim Orling <[email protected]>
This recipe provides no run-ptest script.
--- 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
@@ -9,4 +9,3 @@ SRCREV = "cbb9c3c5162a0d7018c7b3e053153a04d4fbbbb9" S = "${WORKDIR}/git" inherit cmake -inherit ptest
PATCH 17/26 tree: fix broken links
In reply to Gyorgy SarvariFrom: Benjamin Szőke <[email protected]>
New tarball location is:
http://oldmanprogrammer.net/tar/tree/
Homepage is:
http://oldmanprogrammer.net/source.php?dir=projects/tree
--- 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
@@ -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
PATCH 18/26 libcrypt-openssl-guess-perl: fix syntax for PROVIDES
In reply to Gyorgy SarvariFrom: Yi Zhao <[email protected]>
PROVIDES_${PN} -> PROVIDES
--- .../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
@@ -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 \
PATCH 19/26 python3-gsocketpool: add missing run-time dependencies
In reply to Gyorgy SarvariFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- .../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
@@ -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"
PATCH 20/26 python3-pyconnman: Add 'future' runtime dependency
In reply to Gyorgy SarvariFrom: Marcus Flyckt <[email protected]>
pyconnman has an install_requires on 'future', but the corresponding 'python3-future' is missing from the recipes RDEPENDS.
--- .../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
@@ -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"
PATCH 21/26 python3-txws: add missing run-time dependencies
In reply to Gyorgy SarvariFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- .../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
@@ -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"
PATCH 22/26 python3-hpack: add missing run-time dependencies
In reply to Gyorgy SarvariFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- .../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
@@ -8,3 +8,5 @@ SRC_URI[md5sum] = "27e01514ef06dc9fa0798d3dcb7de47c" SRC_URI[sha256sum] = "fc41de0c63e687ebffde81187a948221294896f6bdc0ae2312708df339430095" inherit pypi setuptools3 + +RDEPENDS:${PN} += "${PYTHON_PN}-logging"
PATCH 23/26 python3-thrift: add missing run-time dependencies
In reply to Gyorgy SarvariFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- .../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
@@ -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 \
PATCH 24/26 python3-pyparted: add missing run-time dependencies
In reply to Gyorgy SarvariFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- .../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
@@ -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 = ""
PATCH 25/26 python3-send2trash: add missing run-time dependencies
In reply to Gyorgy SarvariFrom: Bartosz Golaszewski <[email protected]>
Add missing RDEPENDS for this package.
--- .../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
@@ -7,3 +7,5 @@ inherit pypi setuptools3 SRC_URI[sha256sum] = "d2c24762fd3759860a0aff155e45871447ea58d2be6bdd39b5c8f966a0c99c2d" PYPI_PACKAGE = "Send2Trash" + +RDEPENDS:${PN} += "${PYTHON_PN}-datetime"
PATCH 26/26 xfce4-sensors-plugin: correct netcat PACKAGECONFIG
In reply to Gyorgy SarvariIn 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.
--- .../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
@@ -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}"
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 PathBartosz 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 dependenciesBenjamin Szőke (1):
tree: fix broken linksDan McGregor (1):
dash: correct licenceFabio Estevam (1):
multipath-tools: Use https for githubGyorgy Sarvari (2):
liboop: set correct LICENSE
xfce4-sensors-plugin: correct netcat PACKAGECONFIGJulian Haller (1):
openct: Fix typo in SUMMARY variableKatariina Lounento (1):
libtar: patch CVEsMarcus Flyckt (1):
python3-pyconnman: Add 'future' runtime dependencyMartin Jansa (1):
ne10: append +git instead of gitr+Ninette Adhikari (1):
procmail: Update status for CVE-1999-0475Peter Kjellerstedt (1):
libjs-jquery-icheck: CorrectLIC_FILES_CHKSUMPeter 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-15117Tim Orling (1):
span-lite: do not inherit ptestWang Mingyu (1):
smarty: upgrade 4.1.0 -> 4.1.1Yi Zhao (1):
libcrypt-openssl-guess-perl: fix syntax for PROVIDESmeta-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]]
-=-=-=-=-=-=-=-=-=-=-=-