Apache: Several CVE fixes
PATCH 1/10 Apache: Several CVE fixes
In reply to a message not in the archiveFrom: Armin Kuster <[email protected]>
Source: Apache.org
MR: 113457, 113453
Type: Security Fix
Disposition: Backport from apache.org 2.4.51
ChangeID: 9d7b58f49487baff99bf8f101e53217425a2b81f Description:
Bug fix only update. LTS version
https://httpd.apache.org/security/vulnerabilities_24.html
Fixes CVEs:
CVE-2021-42013
CVE-2021-41524
CVE-2021-41773
---
.../apache2/{apache2_2.4.49.bb => apache2_2.4.51.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-webserver/recipes-httpd/apache2/{apache2_2.4.49.bb => apache2_2.4.51.bb} (99%)meta-webserver/recipes-httpd/apache2/apache2_2.4.51.bb renamed from meta-webserver/recipes-httpd/apache2/apache2_2.4.49.bb +1 -1
@@ -26,7 +26,7 @@ SRC_URI_append_class-target = " \ " LIC_FILES_CHKSUM = "file://LICENSE;md5=bddeddfac80b2c9a882241d008bb41c3" -SRC_URI[sha256sum] = "65b965d6890ea90d9706595e4b7b9365b5060bec8ea723449480b4769974133b" +SRC_URI[sha256sum] = "20e01d81fecf077690a4439e3969a9b22a09a8d43c525356e863407741b838f4" S = "${WORKDIR}/httpd-${PV}"
Signature · 1 line
2.25.1
PATCH 2/10 redis: update to 5.0.14
In reply to a message not in the archiveBug fix only updates. see: https://raw.githubusercontent.com/antirez/redis/5.0/00-RELEASENOTES
Including these cves:
5.0.14
Security Fixes:
* (CVE-2021-41099) Integer to heap buffer overflow handling certain string commands and network payloads, when proto-max-bulk-len is manually configured to a non-default, very large value [reported by yiyuaner].
* (CVE-2021-32762) Integer to heap buffer overflow issue in redis-cli and redis-sentinel parsing large multi-bulk replies on some older and less common platforms [reported by Microsoft Vulnerability Research].
* (CVE-2021-32687) Integer to heap buffer overflow with intsets, when set-max-intset-entries is manually configured to a non-default, very large value [reported by Pawel Wieczorkiewicz, AWS].
* (CVE-2021-32675) Denial Of Service when processing RESP request payloads with a large number of elements on many connections.
* (CVE-2021-32672) Random heap reading issue with Lua Debugger [reported by Meir Shpilraien].
* (CVE-2021-32628) Integer to heap buffer overflow handling ziplist-encoded data types, when configuring a large, non-default value for hash-max-ziplist-entries, hash-max-ziplist-value, zset-max-ziplist-entries or zset-max-ziplist-value [reported by sundb].
* (CVE-2021-32627) Integer to heap buffer overflow issue with streams, when configuring a non-default, large value for proto-max-bulk-len and client-query-buffer-limit [reported by sundb].
* (CVE-2021-32626) Specially crafted Lua scripts may result with Heap buffer overflow [reported by Meir Shpilraien].
5.0.11
Integer overflow on 32-bit systems (CVE-2021-21309):
Redis 4.0 or newer uses a configurable limit for the maximum supported bulk input size. By default, it is 512MB which is a safe value for all platforms. If the limit is significantly increased, receiving a large request from a client may trigger several integer overflow scenarios, which would result with buffer overflow and heap corruption.
5.0.10
This release fixes a potential heap overflow when using a heap allocator other than jemalloc or glibc's malloc. See:
https://github.com/redis/redis/pull/7963
---
.../recipes-extended/redis/{redis_5.0.9.bb => redis_5.0.14.bb} | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
rename meta-oe/recipes-extended/redis/{redis_5.0.9.bb => redis_5.0.14.bb} (93%)meta-oe/recipes-extended/redis/redis_5.0.14.bb renamed from meta-oe/recipes-extended/redis/redis_5.0.9.bb +1 -2
@@ -17,8 +17,7 @@ SRC_URI = "http://download.redis.io/releases/${BP}.tar.gz \ file://GNU_SOURCE.patch \ " -SRC_URI[md5sum] = "c94523c9f4ee662027ddf90575d0e058" -SRC_URI[sha256sum] = "53d0ae164cd33536c3d4b720ae9a128ea6166ebf04ff1add3b85f1242090cb85" +SRC_URI[sha256sum] = "3ea5024766d983249e80d4aa9457c897a9f079957d0fb1f35682df233f997f32" inherit autotools-brokensep update-rc.d systemd useradd
Signature · 1 line
2.25.1
PATCH 3/10 pm-qa: fix paths for shell scripts
In reply to a message not in the archiveFrom: Anastasios Kavoukis <[email protected]>
Cherry-pick the following patch from upstream/master branch, as this fixes the following error(s) seen while running the 'pm-qa' scripts on the targets:
cpufreq_01.sh: line 28: ../include/functions.sh: No such file or directory
-----------------------------------------------
A commit in the repo of pm-qa:
"adf9df9 Fix path to library files and change shebang line"
Changed the text that sed was using to replace relative to absolute paths.
As a result sed was not effectively finding the text "source ../include" to replace it, as the sed should be now searching for ". ../include".
Similarly for "../Switches"
--- meta-oe/recipes-test/pm-qa/pm-qa_git.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta-oe/recipes-test/pm-qa/pm-qa_git.bb +2 -1
@@ -42,6 +42,7 @@ do_install () { do # Remove hardcoded relative paths sed -i -e 's#..\/utils\/##' ${script} + sed -i -e 's#. ..\/Switches#${bindir}#g' ${script} script_basename=`basename ${script}` install -m 0755 $script ${D}${libdir}/${BPN}/${script_basename}
@@ -54,7 +55,7 @@ do_install () { # if the script includes any helper scripts from the $libdir # directory then change the source path to the absolute path # to reflect the install location of the helper scripts. - sed -i -e "s#source ../include#source ${libdir}/${BPN}#g" ${script} + sed -i -e "s#. ../include#. ${libdir}/${BPN}#g" ${script} # Remove hardcoded relative paths sed -i -e 's#..\/utils\/##' ${script}
Signature · 1 line
2.25.1
PATCH 4/10 gst-shark: Define SRCREV_FORMAT
In reply to a message not in the archiveFrom: Khem Raj <[email protected]>
Since it uses multiple fetch URIs make it explicit to define SRCREV_FORMAT
--- .../recipes-multimedia/gstreamer-1.0/gst-shark_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-multimedia/recipes-multimedia/gstreamer-1.0/gst-shark_git.bb +1 -1
@@ -14,7 +14,7 @@ PV = "0.6.1" SRCREV_base = "c41a05cc9e2310c2f73eda4b4f0b4477bf4479c5" SRCREV_common = "88e512ca7197a45c4114f7fa993108f23245bf50" - +SRCREV_FORMAT = "base_common" SRC_URI = " \ git://github.com/RidgeRun/gst-shark.git;protocol=https;branch=${SRCBRANCH};name=base \ git://gitlab.freedesktop.org/gstreamer/common.git;protocol=https;destsuffix=git/common;name=common; \
Signature · 1 line
2.25.1
PATCH 5/10 android-tools: Define SRCREV_FORMAT
In reply to a message not in the archiveFrom: Khem Raj <[email protected]>
Since it uses multiple fetch URIs make it explicit to define SRCREV_FORMAT
--- .../recipes-devtools/android-tools/android-tools_5.1.1.r37.bb | 1 + 1 file changed, 1 insertion(+)
meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb +1 -0
@@ -19,6 +19,7 @@ SRCREV_libhardware = "be55eb1f4d840c82ffaf7c47460df17ff5bc4d9b" SRCREV_libselinux = "07e9e1339ad1ba608acfba9dce2d0f474b252feb" SRCREV_build = "16e987def3d7d8f7d30805eb95cef69e52a87dbc" +SRCREV_FORMAT = "core_extras_libhardware_libselinux_build" SRC_URI = " \ git://${ANDROID_MIRROR}/platform/system/core;name=core;protocol=https;nobranch=1;destsuffix=git/system/core \ git://${ANDROID_MIRROR}/platform/system/extras;name=extras;protocol=https;nobranch=1;destsuffix=git/system/extras \
Signature · 1 line
2.25.1
PATCH 6/10 spirv-tools: Define SRCREV_FORMAT
In reply to a message not in the archiveFrom: Andreas Weger <[email protected]>
Since it uses multiple fetch URIs make it explicit to define SRCREV_FORMAT
--- meta-oe/recipes-graphics/spir/spirv-tools_git.bb | 1 + 1 file changed, 1 insertion(+)
meta-oe/recipes-graphics/spir/spirv-tools_git.bb +1 -0
@@ -21,6 +21,7 @@ SRCREV_spirv-headers = "af64a9e826bf5bb5fcd2434dd71be1e41e922563" SRCREV_effcee = "cd25ec17e9382f99a895b9ef53ff3c277464d07d" SRCREV_re2 = "5bd613749fd530b576b890283bfb6bc6ea6246cb" SRCREV_googletest = "f2fb48c3b3d79a75a88a99fba6576b25d42ec528" +SRCREV_FORMAT = "spirv-ttols_spirv-headers_effcee_re2_googletest" inherit cmake python3native
Signature · 1 line
2.25.1
PATCH 7/10 grpc: Define SRCREV_FORMAT
In reply to a message not in the archiveFrom: Andreas Weger <[email protected]>
Since it uses multiple fetch URIs make it explicit to define SRCREV_FORMAT
--- meta-oe/recipes-devtools/grpc/grpc_1.24.3.bb | 1 + 1 file changed, 1 insertion(+)
meta-oe/recipes-devtools/grpc/grpc_1.24.3.bb +1 -0
@@ -18,6 +18,7 @@ SRC_URI = "git://github.com/grpc/grpc.git;protocol=https;name=grpc;branch=${BRAN git://github.com/protocolbuffers/upb;name=upb;destsuffix=git/third_party/upb \ file://0001-CMakeLists.txt-Fix-libraries-installation-for-Linux.patch \ " +SRCREV_FORMAT = "grpc_upb" SRC_URI_append_class-target = " file://0001-CMakeLists.txt-Fix-grpc_cpp_plugin-path-during-cross.patch \ " SRC_URI_append_class-nativesdk = " file://0001-CMakeLists.txt-Fix-grpc_cpp_plugin-path-during-cross.patch"
Signature · 1 line
2.25.1
PATCH 8/10 drdb-utils: Define SRCREV_FORMAT
In reply to a message not in the archiveFrom: Andreas Weger <[email protected]>
Since it uses multiple fetch URIs make it explicit to define SRCREV_FORMAT
--- meta-networking/recipes-support/drbd/drbd-utils_9.12.0.bb | 1 + 1 file changed, 1 insertion(+)
meta-networking/recipes-support/drbd/drbd-utils_9.12.0.bb +1 -0
@@ -15,6 +15,7 @@ SRC_URI = "git://github.com/LINBIT/drbd-utils;name=drbd-utils \ # v9.12.0 SRCREV_drbd-utils = "91629a4cce49ca0d4f917fe0bffa25cfe8db3052" SRCREV_drbd-headers = "233006b4d26cf319638be0ef6d16ec7dee287b66" +SRCREV_FORMAT = "drbd-utils_drbd-headers" S = "${WORKDIR}/git"
Signature · 1 line
2.25.1