Skip to contentSkip to conversation

db: update CVE_PRODUCT

PATCH In review Chen Qi 3 participants 3 messages Apr 20, 2021 – May 6, 2021

lore
Share & tools
lore

Chen Qi

author
#0 lore raw

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
index 9cb57e6a53..b2ae98f05c 100644
@@ -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
Acked-by on v1 1/1
#1 lore raw

Hi,

Quoted 2 lines · Chen Qi

Update CVE_PRODUCT to 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
---
 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
index 9cb57e6a53..b2ae98f05c 100644
@@ -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
#2 lore raw
In reply to Chen Qi

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: 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 +0 -0
index 9cb57e6a53..b2ae98f05c 100644
@@ -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