Skip to contentSkip to conversation

acpid.inc: set CVE_PRODUCT to acpid2

PATCH In review Ruslan Ruslichenko 2 participants 8 messages Dec 18, 2017 – Jan 7, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/7 acpid.inc: set CVE_PRODUCT to acpid2

From: Mikko Rapeli <[email protected]>

It is used in NVD database for CVE's like:

https://nvd.nist.gov/vuln/detail/CVE-2011-4578

(cherry picked from commit 966052df79df0f68565ebc40887170322d3f85b8)
---
 meta/recipes-bsp/acpid/acpid.inc | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-bsp/acpid/acpid.inc +2 -0
index 12ec19b..766ed4f 100644
@@ -9,6 +9,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/acpid2/acpid-${PV}.tar.xz \
            file://acpid.service \
           "
 
+CVE_PRODUCT = "acpid2"
+
 inherit autotools update-rc.d systemd
 
 INITSCRIPT_NAME = "acpid"
Signature · 1 line
1.9.1
#1 lore raw

PATCH 2/7 bluez5.inc: set CVE_PRODUCT to bluez

From: Mikko Rapeli <[email protected]>

bluez is the product name in NVD database for CVE's like:

https://nvd.nist.gov/vuln/detail/CVE-2016-7837

(cherry picked from commit aade84aa54bb2f958572623ed6464184efd19862)
---
 meta/recipes-connectivity/bluez5/bluez5.inc | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-connectivity/bluez5/bluez5.inc +2 -0
index 3421c38..a61d6f6 100644
@@ -27,6 +27,8 @@ SRC_URI = "\
 "
 S = "${WORKDIR}/bluez-${PV}"
 
+CVE_PRODUCT = "bluez"
+
 inherit autotools pkgconfig systemd update-rc.d distro_features_check ptest
 
 EXTRA_OECONF = "\
Signature · 1 line
1.9.1
#3 lore raw

PATCH 4/7 python.inc: set CVE_PRODUCT to python

In reply to Ruslan Ruslichenko

From: Mikko Rapeli <[email protected]>

All python versions are just python in NVD like this CVE for python 3.4.4:

https://nvd.nist.gov/vuln/detail/CVE-2016-5699

(cherry picked from commit 848e1be494e8ea10c729f95f02acb366e1843d75)
---
 meta/recipes-devtools/python/python.inc | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-devtools/python/python.inc +2 -0
index 79a431c..a8c48e8 100644
@@ -16,6 +16,8 @@ SRC_URI[sha256sum] = "d7837121dd5652a05fef807c361909d255d173280c4e1a4ded94d73d80
 # also, exclude pre-releases for both python 2.x and 3.x
 UPSTREAM_CHECK_REGEX = "[Pp]ython-(?P<pver>2(\.\d+)+).tar"
 
+CVE_PRODUCT = "python"
+
 PYTHON_MAJMIN = "2.7"
 
 inherit autotools
Signature · 1 line
1.9.1
#2 lore raw

PATCH 3/7 icu.inc: set CVE_PRODUCT to international_components_for_unicode

In reply to Ruslan Ruslichenko

From: Mikko Rapeli <[email protected]>

NVD uses it for CVE's like:

https://nvd.nist.gov/vuln/detail/CVE-2014-8146

(cherry picked from commit eaac39100cadc81c89e6eb5ab389cd684699aa90)
---
 meta/recipes-support/icu/icu.inc | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-support/icu/icu.inc +2 -0
index cc6f222..e5da292 100644
@@ -9,6 +9,8 @@ LICENSE = "ICU"
 DEPENDS = "icu-native"
 DEPENDS_class-native = ""
 
+CVE_PRODUCT = "international_components_for_unicode"
+
 S = "${WORKDIR}/icu/source"
 SPDX_S = "${WORKDIR}/icu"
 STAGING_ICU_DIR_NATIVE = "${STAGING_DATADIR_NATIVE}/${BPN}/${PV}"
Signature · 1 line
1.9.1
#4 lore raw

PATCH 5/7 sqlite3.inc: set CVE_PRODUCT to sqlite

In reply to Ruslan Ruslichenko

From: Mikko Rapeli <[email protected]>

It is used in NVD for CVE's like:

https://nvd.nist.gov/vuln/detail/CVE-2016-6153

(cherry picked from commit cec6f26f4d2f16c9a58fac5a6344e3d43b36ed09)
---
 meta/recipes-support/sqlite/sqlite3.inc | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-support/sqlite/sqlite3.inc +2 -0
index 5bff33b..b875fae 100644
@@ -17,6 +17,8 @@ S = "${WORKDIR}/sqlite-autoconf-${SQLITE_PV}"
 UPSTREAM_CHECK_URI = "http://www.sqlite.org/"
 UPSTREAM_CHECK_REGEX = "releaselog/(?P<pver>(\d+[\.\-_]*)+)\.html"
 
+CVE_PRODUCT = "sqlite"
+
 inherit autotools pkgconfig
 
 PACKAGECONFIG ?= ""
Signature · 1 line
1.9.1
#5 lore raw

PATCH 6/7 glibc-common.inc: set CVE_PRODUCT to glibc

In reply to Ruslan Ruslichenko

From: Mikko Rapeli <[email protected]>

All recipes which include this .inc map to glibc NVD component.

(cherry picked from commit 613a13725db4e05539974cc7c66584a287d7b4bd)
---
 meta/recipes-core/glibc/glibc-common.inc | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-core/glibc/glibc-common.inc +1 -0
index bba1568..b05e162 100644
@@ -7,3 +7,4 @@ LIC_FILES_CHKSUM ?= "file://LICENSES;md5=07a394b26e0902b9ffdec03765209770 \
       file://COPYING;md5=393a5ca445f6965873eca0259a17f833 \
       file://posix/rxspencer/COPYRIGHT;md5=dc5485bb394a13b2332ec1c785f5d83a \
       file://COPYING.LIB;md5=bbb461211a33b134d42ed5ee802b37ff "
+CVE_PRODUCT = "glibc"
Signature · 1 line
1.9.1
#6 lore raw

PATCH 7/7 glib.inc: set CVE_PRODUCT to glib

In reply to Ruslan Ruslichenko

From: Mikko Rapeli <[email protected]>

NVD uses product glib and vendor gnome for CVE's like:

https://nvd.nist.gov/vuln/detail/CVE-2016-6855

(cherry picked from commit 69d6342d45316389afb4b062088919689db0a6dd)
---
 meta/recipes-core/glib-2.0/glib.inc | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-core/glib-2.0/glib.inc +2 -0
index 906e0d4..fc1406f 100644
@@ -15,6 +15,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \
 BUGTRACKER = "http://bugzilla.gnome.org"
 SECTION = "libs"
 
+CVE_PRODUCT = "glib"
+
 BBCLASSEXTEND = "native nativesdk"
 
 DEPENDS = "virtual/libiconv libffi zlib glib-2.0-native"
Signature · 1 line
1.9.1
#7 lore raw
In reply to Ruslan Ruslichenko

This set is now in morty.

Thanks,

Armin

Quoted 27 lines · Ruslan Ruslichenko

From: Mikko Rapeli <[email protected]>

It is used in NVD database for CVE's like:

https://nvd.nist.gov/vuln/detail/CVE-2011-4578

(cherry picked from commit 966052df79df0f68565ebc40887170322d3f85b8)
---
 meta/recipes-bsp/acpid/acpid.inc | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-bsp/acpid/acpid.inc +2 -0
index 12ec19b..766ed4f 100644
@@ -9,6 +9,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/acpid2/acpid-${PV}.tar.xz \
            file://acpid.service \
           "
 
+CVE_PRODUCT = "acpid2"
+
 inherit autotools update-rc.d systemd
 
 INITSCRIPT_NAME = "acpid"