diff options
author | Andrej Valek <andrej.valek@siemens.com> | 2023-07-20 09:19:50 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-07-21 11:52:26 +0100 |
commit | c15e506a4674e558922c5a75512ca2b5c296cd44 (patch) | |
tree | a0cc1ebf9daca61304185ed901596e31f4029658 /meta/recipes-connectivity | |
parent | 7e18a90d35a62cd6894385a9dab549a594d5f11e (diff) | |
download | poky-c15e506a4674e558922c5a75512ca2b5c296cd44.tar.gz |
cve_check: convert CVE_CHECK_IGNORE to CVE_STATUS
- Try to add convert and apply statuses for old CVEs
- Drop some obsolete ignores, while they are not relevant for current
version
(From OE-Core rev: 1634ed4048cf56788cd5c2c1bdc979b70afcdcd7)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Reviewed-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity')
5 files changed, 9 insertions, 12 deletions
diff --git a/meta/recipes-connectivity/avahi/avahi_0.8.bb b/meta/recipes-connectivity/avahi/avahi_0.8.bb index 1764997c41..d1c6f7f54a 100644 --- a/meta/recipes-connectivity/avahi/avahi_0.8.bb +++ b/meta/recipes-connectivity/avahi/avahi_0.8.bb | |||
@@ -32,8 +32,7 @@ GITHUB_BASE_URI = "https://github.com/lathiat/avahi/releases/" | |||
32 | SRC_URI[md5sum] = "229c6aa30674fc43c202b22c5f8c2be7" | 32 | SRC_URI[md5sum] = "229c6aa30674fc43c202b22c5f8c2be7" |
33 | SRC_URI[sha256sum] = "060309d7a333d38d951bc27598c677af1796934dbd98e1024e7ad8de798fedda" | 33 | SRC_URI[sha256sum] = "060309d7a333d38d951bc27598c677af1796934dbd98e1024e7ad8de798fedda" |
34 | 34 | ||
35 | # Issue only affects Debian/SUSE, not us | 35 | CVE_STATUS[CVE-2021-26720] = "not-applicable-platform: Issue only affects Debian/SUSE" |
36 | CVE_CHECK_IGNORE += "CVE-2021-26720" | ||
37 | 36 | ||
38 | DEPENDS = "expat libcap libdaemon glib-2.0 glib-2.0-native" | 37 | DEPENDS = "expat libcap libdaemon glib-2.0 glib-2.0-native" |
39 | 38 | ||
diff --git a/meta/recipes-connectivity/bind/bind_9.18.16.bb b/meta/recipes-connectivity/bind/bind_9.18.16.bb index 1b1649566a..d9b62bb8b0 100644 --- a/meta/recipes-connectivity/bind/bind_9.18.16.bb +++ b/meta/recipes-connectivity/bind/bind_9.18.16.bb | |||
@@ -28,7 +28,7 @@ UPSTREAM_CHECK_REGEX = "(?P<pver>9.(\d*[02468])+(\.\d+)+(-P\d+)*)/" | |||
28 | 28 | ||
29 | # Issue only affects dhcpd with recent bind versions. We don't ship dhcpd anymore | 29 | # Issue only affects dhcpd with recent bind versions. We don't ship dhcpd anymore |
30 | # so the issue doesn't affect us. | 30 | # so the issue doesn't affect us. |
31 | CVE_CHECK_IGNORE += "CVE-2019-6470" | 31 | CVE_STATUS[CVE-2019-6470] = "not-applicable-config: Issue only affects dhcpd with recent bind versions and we don't ship dhcpd anymore." |
32 | 32 | ||
33 | inherit autotools update-rc.d systemd useradd pkgconfig multilib_header update-alternatives | 33 | inherit autotools update-rc.d systemd useradd pkgconfig multilib_header update-alternatives |
34 | 34 | ||
diff --git a/meta/recipes-connectivity/bluez5/bluez5_5.68.bb b/meta/recipes-connectivity/bluez5/bluez5_5.68.bb index 921f739fb8..f8405ed091 100644 --- a/meta/recipes-connectivity/bluez5/bluez5_5.68.bb +++ b/meta/recipes-connectivity/bluez5/bluez5_5.68.bb | |||
@@ -2,8 +2,8 @@ require bluez5.inc | |||
2 | 2 | ||
3 | SRC_URI[sha256sum] = "fc505e6445cb579a55cacee6821fe70d633921522043d322b696de0a175ff933" | 3 | SRC_URI[sha256sum] = "fc505e6445cb579a55cacee6821fe70d633921522043d322b696de0a175ff933" |
4 | 4 | ||
5 | # These issues have kernel fixes rather than bluez fixes so exclude here | 5 | CVE_STATUS[CVE-2022-3563] = "cpe-incorrect: This issues have kernel fixes rather than bluez fixes" |
6 | CVE_CHECK_IGNORE += "CVE-2020-12352 CVE-2020-24490" | 6 | CVE_STATUS[CVE-2022-3637] = "cpe-incorrect: This issues have kernel fixes rather than bluez fixes" |
7 | 7 | ||
8 | # noinst programs in Makefile.tools that are conditional on READLINE | 8 | # noinst programs in Makefile.tools that are conditional on READLINE |
9 | # support | 9 | # support |
diff --git a/meta/recipes-connectivity/openssh/openssh_9.3p1.bb b/meta/recipes-connectivity/openssh/openssh_9.3p1.bb index 42ce814523..3edc123b9a 100644 --- a/meta/recipes-connectivity/openssh/openssh_9.3p1.bb +++ b/meta/recipes-connectivity/openssh/openssh_9.3p1.bb | |||
@@ -28,15 +28,14 @@ SRC_URI = "http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${PV}.tar | |||
28 | " | 28 | " |
29 | SRC_URI[sha256sum] = "e9baba7701a76a51f3d85a62c383a3c9dcd97fa900b859bc7db114c1868af8a8" | 29 | SRC_URI[sha256sum] = "e9baba7701a76a51f3d85a62c383a3c9dcd97fa900b859bc7db114c1868af8a8" |
30 | 30 | ||
31 | # This CVE is specific to OpenSSH with the pam opie which we don't build/use here | 31 | CVE_STATUS[CVE-2007-2768] = "not-applicable-config: This CVE is specific to OpenSSH with the pam opie which we don't build/use here." |
32 | CVE_CHECK_IGNORE += "CVE-2007-2768" | ||
33 | 32 | ||
34 | # This CVE is specific to OpenSSH server, as used in Fedora and Red Hat Enterprise Linux 7 | 33 | # This CVE is specific to OpenSSH server, as used in Fedora and Red Hat Enterprise Linux 7 |
35 | # and when running in a Kerberos environment. As such it is not relevant to OpenEmbedded | 34 | # and when running in a Kerberos environment. As such it is not relevant to OpenEmbedded |
36 | CVE_CHECK_IGNORE += "CVE-2014-9278" | 35 | CVE_STATUS[CVE-2014-9278] = "not-applicable-platform: This CVE is specific to OpenSSH server, as used in Fedora and \ |
36 | Red Hat Enterprise Linux 7 and when running in a Kerberos environment" | ||
37 | 37 | ||
38 | # CVE only applies to some distributed RHEL binaries | 38 | CVE_STATUS[CVE-2008-3844] = "not-applicable-platform: Only applies to some distributed RHEL binaries." |
39 | CVE_CHECK_IGNORE += "CVE-2008-3844" | ||
40 | 39 | ||
41 | PAM_SRC_URI = "file://sshd" | 40 | PAM_SRC_URI = "file://sshd" |
42 | 41 | ||
diff --git a/meta/recipes-connectivity/openssl/openssl_3.1.1.bb b/meta/recipes-connectivity/openssl/openssl_3.1.1.bb index 432ab4032b..c2a7173c84 100644 --- a/meta/recipes-connectivity/openssl/openssl_3.1.1.bb +++ b/meta/recipes-connectivity/openssl/openssl_3.1.1.bb | |||
@@ -255,6 +255,5 @@ CVE_PRODUCT = "openssl:openssl" | |||
255 | 255 | ||
256 | CVE_VERSION_SUFFIX = "alphabetical" | 256 | CVE_VERSION_SUFFIX = "alphabetical" |
257 | 257 | ||
258 | # Only affects OpenSSL >= 1.1.1 in combination with Apache < 2.4.37 | ||
259 | # Apache in meta-webserver is already recent enough | 258 | # Apache in meta-webserver is already recent enough |
260 | CVE_CHECK_IGNORE += "CVE-2019-0190" | 259 | CVE_STATUS[CVE-2019-0190] = "not-applicable-config: Only affects OpenSSL >= 1.1.1 in combination with Apache < 2.4.37" |