Skip to contentSkip to conversation

Revert "db: update CVE_PRODUCT"

PATCH In review Steve Sakoman 2 participants 4 messages Sep 14, 2021 – Sep 15, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Revert "db: update CVE_PRODUCT"

The CVE database correctly reports CVEs for oracle_berkley_db and berkley_db. We use the oracle_berkley_db source tree and therefore should only check for oracle_berkely_db CVEs. Otherwise the scanner falsely reports CVEs that are fixed in oracle_berkley_db

This reverts commit ad799b109716ccd2f44dcf7a6a4cfcbd622ea661.

---
 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 d5b788a3d7..5e9305ab06 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 berkeley_db"
+CVE_PRODUCT = "oracle_berkeley_db"
 CVE_VERSION = "11.2.${PV}"
 
 PR = "r1"
Signature · 1 line
2.25.1
#1 lore raw
Quoted 4 lines · Steve Sakoman

The CVE database correctly reports CVEs for oracle_berkley_db and berkley_db.  We use the oracle_berkley_db source tree and therefore should only check for oracle_berkely_db CVEs. Otherwise the scanner falsely reports CVEs that are fixed in oracle_berkley_db

Aren't both the same thing? I think this revert is incorrect and the CVEs being flagged are correct.

https://nvd.nist.gov/vuln/detail/CVE-2015-2583

The CPE data shows oracle as the vendor and berkeley_db as product.

Thanks,

Anuj

Quoted 26 lines

This reverts commit ad799b109716ccd2f44dcf7a6a4cfcbd622ea661.

---
 meta/recipes-support/db/db_5.3.28.bb | 2 +-

 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes- renamed from meta/recipes-support/db/db_5.3.28.bb +0 -0

support/db/db_5.3.28.bb
index d5b788a3d7..5e9305ab06 100644

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 -1
-CVE_PRODUCT = "oracle_berkeley_db berkeley_db"
+CVE_PRODUCT = "oracle_berkeley_db"

 CVE_VERSION = "11.2.${PV}"

 PR = "r1"

#2 lore raw
Quoted 6 lines · Anuj
Quoted 4 lines · Steve Sakoman

The CVE database correctly reports CVEs for oracle_berkley_db and berkley_db. We use the oracle_berkley_db source tree and therefore should only check for oracle_berkely_db CVEs. Otherwise the scanner falsely reports CVEs that are fixed in oracle_berkley_db

Quoted 7 lines

Aren't both the same thing? I think this revert is incorrect and the CVEs being flagged are correct.

https://nvd.nist.gov/vuln/detail/CVE-2015-2583

The CPE data shows oracle as the vendor and berkeley_db as product.

Yes, I agree. See my reply from earlier today where I withdrew this patch!

Steve

Quoted 35 lines

Thanks,

Anuj

Quoted 26 lines

This reverts commit ad799b109716ccd2f44dcf7a6a4cfcbd622ea661.

---
 meta/recipes-support/db/db_5.3.28.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes- renamed from meta/recipes-support/db/db_5.3.28.bb +0 -0

support/db/db_5.3.28.bb
index d5b788a3d7..5e9305ab06 100644

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 -1
-CVE_PRODUCT = "oracle_berkeley_db berkeley_db"
+CVE_PRODUCT = "oracle_berkeley_db"
 CVE_VERSION = "11.2.${PV}"
 
 PR = "r1"
#3 lore raw
Quoted 16 lines · Steve Sakoman
Quoted 12 lines · Anuj
Quoted 6 lines · Steve Sakoman

The CVE database correctly reports CVEs for oracle_berkley_db and berkley_db.  We use the oracle_berkley_db source tree and therefore
should only check for oracle_berkely_db CVEs. Otherwise the scanner
falsely reports CVEs that are fixed in oracle_berkley_db

Aren't both the same thing? I think this revert is incorrect and the
CVEs being flagged are correct.

Quoted 6 lines
Quoted 3 lines

https://nvd.nist.gov/vuln/detail/CVE-2015-2583

The CPE data shows oracle as the vendor and berkeley_db as product.

Yes, I agree.  See my reply from earlier today where I withdrew this patch!

Oh, this isn't showing up as threaded so I missed the reply. Thanks.

Thanks,

Anuj