db: update CVE_PRODUCT
PATCH 1/1 db: update CVE_PRODUCT
Update CVE_PRODUCT to also include 'berkeley_db'. For example, CVE-2020-2981 uses 'berkeley_db'.
--- meta/recipes-support/db/db_5.3.28.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-support/db/db_5.3.28.bb +1 -1
@@ -15,7 +15,7 @@ HOMEPAGE = "https://www.oracle.com/database/technologies/related/berkeleydb.html LICENSE = "Sleepycat" RCONFLICTS_${PN} = "db3" -CVE_PRODUCT = "oracle_berkeley_db" +CVE_PRODUCT = "oracle_berkeley_db berkeley_db" CVE_VERSION = "11.2.${PV}" PR = "r1"
Signature · 1 line
2.30.2
Hi,
Quoted 2 lines · Chen Qi
Update
CVE_PRODUCTto also include 'berkeley_db'. For example, CVE-2020-2981 uses 'berkeley_db'.
Yep, this is correct. The situation is rather complex as CVE-2020-2981 is an example of a bug which only affects the newer version with a lot of additional (buggy?) features from Oracle. The db5.3 (Debian source package name) and yocto db recipes are not affected by this.
https://security-tracker.debian.org/tracker/CVE-2020-2981
Hence, the CVE checker data needs to know the version and the vendors and even then there may be false positives for it. It's a good idea to check what Debian and Ubuntu do with the same source package and CVEs...
Cheers,
-Mikko
Quoted 25 lines
Signed-off-by Chen Qi <[email protected]>--- meta/recipes-support/db/db_5.3.28.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta/recipes-support/db/db_5.3.28.bb +1
-1@@ -15,7 +15,7 @@ HOMEPAGE = "https://www.oracle.com/database/technologies/related/berkeleydb.html LICENSE = "Sleepycat" RCONFLICTS_${PN} = "db3" -CVE_PRODUCT = "oracle_berkeley_db" +CVE_PRODUCT = "oracle_berkeley_db berkeley_db" CVE_VERSION = "11.2.${PV}" PR = "r1"Signature · 1 line
2.30.2
Hi,
Why hasn't this patch been merged yet?
Best regards
Lei
Quoted 32 lines
-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Chen Qi
Sent: Tuesday, April 20, 2021 10:33 AM
To: [email protected]
Subject: [OE-core][PATCH] db: updateCVE_PRODUCTUpdate
CVE_PRODUCTto also include 'berkeley_db'. For example, CVE-2020-2981 uses 'berkeley_db'.Signed-off-by Chen Qi <[email protected]>--- meta/recipes-support/db/db_5.3.28.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta/recipes-support/db/db_5.3.28.bb +0
-0@@ -15,7 +15,7 @@ HOMEPAGE ="https://www.oracle.com/database/technologies/related/berkeleydb.html
LICENSE = "Sleepycat"
RCONFLICTS_${PN} = "db3"meta/recipes-support/db/db_5.3.28.bb +1
-2-CVE_PRODUCT = "oracle_berkeley_db" +CVE_PRODUCT = "oracle_berkeley_db berkeley_db" CVE_VERSION = "11.2.${PV}" PR = "r1" --2.30.2