zeus review request
cover zeus review request
Last set of changes before last zeus dot release. Please review.
Thanks,
Anuj
The following changes since commit 74e22d0d2b61d0014f408972725469bb7a024622:
gstreamer1.0: fix builds with make 4.3 (2020-07-28 16:16:52 +0800)
are available in the Git repository at:
git://push.openembedded.org/openembedded-core-contrib anujm/zeus
Konrad Weihmann (1):
pypi.bbclass: mind package suffix on version check
Li Zhou (1):
go: Security Advisory - go - CVE-2020-15586
Rahul Taya (1):
libpcre: Add fix for CVE-2020-14155
Tim Orling (1):
pypi.bbclass: use new pypi UPSTREAM_CHECK_URI
meta/classes/pypi.bbclass | 4 +- meta/recipes-devtools/go/go-1.12.inc | 1 + .../go/go-1.12/CVE-2020-15586.patch | 131 ++++++++++++++++++ .../libpcre/libpcre/CVE-2020-14155.patch | 41 ++++++ meta/recipes-support/libpcre/libpcre_8.43.bb | 1 + 5 files changed, 176 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-devtools/go/go-1.12/CVE-2020-15586.patch create mode 100644 meta/recipes-support/libpcre/libpcre/CVE-2020-14155.patch
Signature · 1 line
2.26.2
PATCH 1/4 pypi.bbclass: mind package suffix on version check
From: Konrad Weihmann <[email protected]>
Some pypi packages do have suffixes like dev, or a0 or b1. When doing a version check on these, the version will get falsely identified as major release versions.
Add a terminating slash to rule out those false positives
--- meta/classes/pypi.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/pypi.bbclass +1 -1
@@ -23,4 +23,4 @@ SRC_URI += "${PYPI_SRC_URI}" S = "${WORKDIR}/${PYPI_PACKAGE}-${PV}" UPSTREAM_CHECK_URI ?= "https://pypi.python.org/pypi/${PYPI_PACKAGE}/" -UPSTREAM_CHECK_REGEX ?= "/${PYPI_PACKAGE}/(?P<pver>(\d+[\.\-_]*)+)" +UPSTREAM_CHECK_REGEX ?= "/${PYPI_PACKAGE}/(?P<pver>(\d+[\.\-_]*)+)/"
Signature · 1 line
2.26.2
PATCH 2/4 pypi.bbclass: use new pypi UPSTREAM_CHECK_URI
In reply to Anuj MittalFrom: Tim Orling <[email protected]>
Upstream https://pypi.python.org/pypi/${PYPI_PACKAGE}/
redirects to https://pypi.org/project/${PYPI_PACKAGE}/
--- meta/classes/pypi.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/pypi.bbclass +1 -1
@@ -22,5 +22,5 @@ SECTION = "devel/python" SRC_URI += "${PYPI_SRC_URI}" S = "${WORKDIR}/${PYPI_PACKAGE}-${PV}" -UPSTREAM_CHECK_URI ?= "https://pypi.python.org/pypi/${PYPI_PACKAGE}/" +UPSTREAM_CHECK_URI ?= "https://pypi.org/project/${PYPI_PACKAGE}/" UPSTREAM_CHECK_REGEX ?= "/${PYPI_PACKAGE}/(?P<pver>(\d+[\.\-_]*)+)/"
Signature · 1 line
2.26.2
PATCH 3/4 go: Security Advisory - go - CVE-2020-15586
In reply to Anuj MittalFrom: Li Zhou <[email protected]>
Backport patch from <https://github.com/golang/go/commit/fa98f46741f818913a8c11b877520a548715131f> to solve CVE-2020-15586.
--- meta/recipes-devtools/go/go-1.12.inc | 1 + .../go/go-1.12/CVE-2020-15586.patch | 131 ++++++++++++++++++ 2 files changed, 132 insertions(+) create mode 100644 meta/recipes-devtools/go/go-1.12/CVE-2020-15586.patch
meta/recipes-devtools/go/go-1.12.inc +1 -0
@@ -18,6 +18,7 @@ SRC_URI += "\ file://0008-use-GOBUILDMODE-to-set-buildmode.patch \ file://0001-release-branch.go1.12-security-net-textproto-don-t-n.patch \ file://0010-fix-CVE-2019-17596.patch \ + file://CVE-2020-15586.patch \ " SRC_URI_append_libc-musl = " file://0009-ld-replace-glibc-dynamic-linker-with-musl.patch"
meta/recipes-devtools/go/go-1.12/CVE-2020-15586.patch new file +131 -0
131 lines not on this page · raw message
Signature · 1 line
2.26.2
PATCH 4/4 libpcre: Add fix for CVE-2020-14155
In reply to Anuj MittalFrom: Rahul Taya <[email protected]>
Added below patch in libpcre
CVE-2020-14155.patch
This patch fixes below error:
PCRE could allow a remote attacker to execute arbitrary code on the system, caused by an integer overflow in libpcre via a large number after (?C substring. By sending a request with a large number, an attacker can execute arbitrary code on the system or cause the application to crash.
--- .../libpcre/libpcre/CVE-2020-14155.patch | 41 +++++++++++++++++++ meta/recipes-support/libpcre/libpcre_8.43.bb | 1 + 2 files changed, 42 insertions(+) create mode 100644 meta/recipes-support/libpcre/libpcre/CVE-2020-14155.patch
meta/recipes-support/libpcre/libpcre/CVE-2020-14155.patch new file +41 -0
@@ -0,0 +1,41 @@ +--- pcre-8.43/pcre_compile.c 2020-07-05 22:26:25.310501521 +0530 ++++ pcre-8.43/pcre_compile1.c 2020-07-05 22:30:22.254489562 +0530 + +CVE: CVE-2020-14155 +Upstream-Status: Backport [https://vcs.pcre.org/pcre/code/trunk/pcre_compile.c?view=patch&r1=1761&r2=1760&pathrev=1761] +Signed-off-by: Rahul Taya<[email protected]> + +@@ -6,7 +6,7 @@ + and semantics are as close as possible to those of the Perl 5 language. + + Written by Philip Hazel +- Copyright (c) 1997-2018 University of Cambridge ++ Copyright (c) 1997-2020 University of Cambridge + + ----------------------------------------------------------------------------- + Redistribution and use in source and binary forms, with or without +@@ -7130,17 +7130,19 @@ + int n = 0; + ptr++; + while(IS_DIGIT(*ptr)) ++ { + n = n * 10 + *ptr++ - CHAR_0; ++ if (n > 255) ++ { ++ *errorcodeptr = ERR38; ++ goto FAILED; ++ } ++ } + if (*ptr != CHAR_RIGHT_PARENTHESIS) + { + *errorcodeptr = ERR39; + goto FAILED; + } +- if (n > 255) +- { +- *errorcodeptr = ERR38; +- goto FAILED; +- } + *code++ = n; + PUT(code, 0, (int)(ptr - cd->start_pattern + 1)); /* Pattern offset */ + PUT(code, LINK_SIZE, 0); /* Default length */
meta/recipes-support/libpcre/libpcre_8.43.bb +1 -0
@@ -12,6 +12,7 @@ SRC_URI = "https://ftp.pcre.org/pub/pcre/pcre-${PV}.tar.bz2 \ file://out-of-tree.patch \ file://run-ptest \ file://Makefile \ + file://CVE-2020-14155.patch \ " SRC_URI[md5sum] = "636222e79e392c3d95dcc545f24f98c4"
Signature · 1 line
2.26.2