Skip to contentSkip to conversation

rpm: Exclude CVE-2021-20271 from cve-check

PATCH New Richard Purdie 1 participant 3 messages May 12, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 rpm: Exclude CVE-2021-20271 from cve-check

This is included in the release we have, it was the reason for the last rpm point release.

---
 meta/recipes-devtools/rpm/rpm_4.16.1.3.bb | 4 ++++
 1 file changed, 4 insertions(+)
meta/recipes-devtools/rpm/rpm_4.16.1.3.bb +4 -0
index 7c03b41fc82..2857cd730c4 100644
@@ -47,6 +47,10 @@ SRCREV = "3659b8a04f5b8bacf6535e0124e7fe23f15286bd"
 
 S = "${WORKDIR}/git"
 
+# Fix https://github.com/rpm-software-management/rpm/commit/d6a86b5e69e46cc283b1e06c92343319beb42e21
+# included in 4.16.1.3
+CVE_CHECK_WHIETLIST += "CVE-2021-20271"
+
 DEPENDS = "libgcrypt db file popt xz bzip2 elfutils python3"
 DEPENDS_append_class-native = " file-replacement-native bzip2-replacement-native"
 
Signature · 1 line
2.30.2
#1 lore raw

PATCH 2/3 coreutils: Exclude CVE-2016-2781 from cve-check

http://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=v8.27-101-gf5d7c0842

"Given runcon is not really a sandbox command, the advice is to use runcon ... setsid ... to avoid this particular issue.

---
 meta/recipes-core/coreutils/coreutils_8.32.bb | 4 ++++
 1 file changed, 4 insertions(+)
meta/recipes-core/coreutils/coreutils_8.32.bb +4 -0
index c1962ccb909..f3fe31fd3bd 100644
@@ -26,6 +26,10 @@ SRC_URI = "${GNU_MIRROR}/coreutils/${BP}.tar.xz \
 SRC_URI[md5sum] = "022042695b7d5bcf1a93559a9735e668"
 SRC_URI[sha256sum] = "4458d8de7849df44ccab15e16b1548b285224dbba5f08fac070c1c0e0bcc4cfa"
 
+# http://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=v8.27-101-gf5d7c0842
+# runcon is not really a sandbox command, use `runcon ... setsid ...` to avoid this particular issue.
+CVE_CHECK_WHITELIST += "CVE-2016-2781"
+
 EXTRA_OECONF_class-native = "--without-gmp"
 EXTRA_OECONF_class-target = "--enable-install-program=arch,hostname --libexecdir=${libdir}"
 EXTRA_OECONF_class-nativesdk = "--enable-install-program=arch,hostname"
Signature · 1 line
2.30.2
#2 lore raw

PATCH 3/3 librsvg: Exclude CVE-2018-1000041 from cve-check

In reply to Richard Purdie

Issue only affects windows.

---
 meta/recipes-gnome/librsvg/librsvg_2.40.21.bb | 3 +++
 1 file changed, 3 insertions(+)
meta/recipes-gnome/librsvg/librsvg_2.40.21.bb +3 -0
index acdbc1f1b3d..59de80a691d 100644
@@ -25,6 +25,9 @@ SRC_URI += "file://gtk-option.patch \
 
 SRC_URI[archive.sha256sum] = "f7628905f1cada84e87e2b14883ed57d8094dca3281d5bcb24ece4279e9a92ba"
 
+# Issue only on windows
+CVE_CHECK_WHITELIST += "CVE-2018-1000041"
+
 CACHED_CONFIGUREVARS = "ac_cv_path_GDK_PIXBUF_QUERYLOADERS=${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders"
 
 PACKAGECONFIG ??= "gdkpixbuf"
Signature · 1 line
2.30.2