diff options
| author | Andrej Valek <andrej.valek@siemens.com> | 2023-07-26 11:50:09 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-07-27 08:54:40 -0700 |
| commit | 8af2f17a6fa8bf282c4c27054adbea1bf0873069 (patch) | |
| tree | 22b6484379a0f3d3e2b89f958dda0fd45f2a1880 /meta-oe/recipes-extended | |
| parent | 4c201ede939610946847ccd4221320ed776224aa (diff) | |
| download | meta-openembedded-8af2f17a6fa8bf282c4c27054adbea1bf0873069.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
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended')
5 files changed, 8 insertions, 11 deletions
diff --git a/meta-oe/recipes-extended/libimobiledevice/libplist_2.3.0.bb b/meta-oe/recipes-extended/libimobiledevice/libplist_2.3.0.bb index 1a74dc88f1..f636990f89 100644 --- a/meta-oe/recipes-extended/libimobiledevice/libplist_2.3.0.bb +++ b/meta-oe/recipes-extended/libimobiledevice/libplist_2.3.0.bb | |||
| @@ -14,7 +14,9 @@ SRC_URI = "git://github.com/libimobiledevice/libplist;protocol=https;branch=mast | |||
| 14 | S = "${WORKDIR}/git" | 14 | S = "${WORKDIR}/git" |
| 15 | PR = "r1" | 15 | PR = "r1" |
| 16 | 16 | ||
| 17 | CVE_CHECK_IGNORE += "\ | 17 | CVE_STATUS_GROUPS += "CVE_STATUS_LIBLIST" |
| 18 | CVE_STATUS_LIBLIST[status] = "fixed-version: The CPE in the NVD database doesn't reflect correctly the vulnerable versions." | ||
| 19 | CVE_STATUS_LIBLIST = " \ | ||
| 18 | CVE-2017-5834 \ | 20 | CVE-2017-5834 \ |
| 19 | CVE-2017-5835 \ | 21 | CVE-2017-5835 \ |
| 20 | CVE-2017-5836 \ | 22 | CVE-2017-5836 \ |
diff --git a/meta-oe/recipes-extended/libimobiledevice/libplist_git.bb b/meta-oe/recipes-extended/libimobiledevice/libplist_git.bb index db092600bc..3a10b40f1f 100644 --- a/meta-oe/recipes-extended/libimobiledevice/libplist_git.bb +++ b/meta-oe/recipes-extended/libimobiledevice/libplist_git.bb | |||
| @@ -15,7 +15,9 @@ SRC_URI = "git://github.com/libimobiledevice/libplist;protocol=https;branch=mast | |||
| 15 | 15 | ||
| 16 | S = "${WORKDIR}/git" | 16 | S = "${WORKDIR}/git" |
| 17 | 17 | ||
| 18 | CVE_CHECK_IGNORE += "\ | 18 | CVE_STATUS_GROUPS += "CVE_STATUS_LIBLIST" |
| 19 | CVE_STATUS_LIBLIST[status] = "fixed-version: The CPE in the NVD database doesn't reflect correctly the vulnerable versions." | ||
| 20 | CVE_STATUS_LIBLIST = " \ | ||
| 19 | CVE-2017-5834 \ | 21 | CVE-2017-5834 \ |
| 20 | CVE-2017-5835 \ | 22 | CVE-2017-5835 \ |
| 21 | CVE-2017-5836 \ | 23 | CVE-2017-5836 \ |
diff --git a/meta-oe/recipes-extended/libzip/libzip_1.10.0.bb b/meta-oe/recipes-extended/libzip/libzip_1.10.0.bb index e8aa7fdc07..b500f26e25 100644 --- a/meta-oe/recipes-extended/libzip/libzip_1.10.0.bb +++ b/meta-oe/recipes-extended/libzip/libzip_1.10.0.bb | |||
| @@ -23,7 +23,4 @@ SRC_URI = "https://libzip.org/download/libzip-${PV}.tar.xz" | |||
| 23 | 23 | ||
| 24 | SRC_URI[sha256sum] = "cd2a7ac9f1fb5bfa6218272d9929955dc7237515bba6e14b5ad0e1d1e2212b43" | 24 | SRC_URI[sha256sum] = "cd2a7ac9f1fb5bfa6218272d9929955dc7237515bba6e14b5ad0e1d1e2212b43" |
| 25 | 25 | ||
| 26 | # Patch for CVE-2017-12858 is applied in version 1.2.0. | ||
| 27 | CVE_CHECK_IGNORE += "CVE-2017-12858" | ||
| 28 | |||
| 29 | BBCLASSEXTEND += "native" | 26 | BBCLASSEXTEND += "native" |
diff --git a/meta-oe/recipes-extended/sanlock/sanlock_3.8.5.bb b/meta-oe/recipes-extended/sanlock/sanlock_3.8.5.bb index c2a17d06b9..962d19574c 100644 --- a/meta-oe/recipes-extended/sanlock/sanlock_3.8.5.bb +++ b/meta-oe/recipes-extended/sanlock/sanlock_3.8.5.bb | |||
| @@ -21,9 +21,7 @@ SRCREV = "b820c63093c4ae85d7da4f719cf3026d7fca5d09" | |||
| 21 | 21 | ||
| 22 | S = "${WORKDIR}/git" | 22 | S = "${WORKDIR}/git" |
| 23 | 23 | ||
| 24 | CVE_CHECK_IGNORE += "\ | 24 | CVE_STATUS[CVE-2012-5638] = "fixed-version: The CPE in the NVD database doesn't reflect correctly the vulnerable versions." |
| 25 | CVE-2012-5638 \ | ||
| 26 | " | ||
| 27 | 25 | ||
| 28 | DEPENDS = "libaio util-linux" | 26 | DEPENDS = "libaio util-linux" |
| 29 | 27 | ||
diff --git a/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb_1.4.9.bb b/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb_1.4.9.bb index a52f3641dd..2a7cf2285e 100644 --- a/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb_1.4.9.bb +++ b/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb_1.4.9.bb | |||
| @@ -34,9 +34,7 @@ SRC_URI = "http://downloads.sourceforge.net/sblim/${BP}.tar.bz2 \ | |||
| 34 | SRC_URI[md5sum] = "28021cdabc73690a94f4f9d57254ce30" | 34 | SRC_URI[md5sum] = "28021cdabc73690a94f4f9d57254ce30" |
| 35 | SRC_URI[sha256sum] = "634a67b2f7ac3b386a79160eb44413d618e33e4e7fc74ae68b0240484af149dd" | 35 | SRC_URI[sha256sum] = "634a67b2f7ac3b386a79160eb44413d618e33e4e7fc74ae68b0240484af149dd" |
| 36 | 36 | ||
| 37 | CVE_CHECK_IGNORE += "\ | 37 | CVE_STATUS[CVE-2012-3381] = "fixed-version: The CPE in the NVD database doesn't reflect correctly the vulnerable versions." |
| 38 | CVE-2012-3381 \ | ||
| 39 | " | ||
| 40 | 38 | ||
| 41 | inherit autotools | 39 | inherit autotools |
| 42 | inherit systemd | 40 | inherit systemd |
