Skip to contentSkip to conversation

lzo: add CVE_PRODUCT

PATCH Superseded Marta Rybczynska 2 participants 3 messages Aug 19, 2021

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lzo: add CVE_PRODUCT

lzo was missing CVE_PRODUCT and related CVEs (at least CVE-2014-4607) were not reported.

---
 meta/recipes-support/lzo/lzo_2.10.bb | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-support/lzo/lzo_2.10.bb +2 -0
index 85b14b3c5c..31a229c7f5 100644
@@ -18,6 +18,8 @@ SRC_URI[sha256sum] = "c0f892943208266f9b6543b3ae308fab6284c5c90e627931446fb49b42
 
 inherit autotools ptest
 
+CVE_PRODUCT = "oberhumer:lzo2"
+
 EXTRA_OECONF = "--enable-shared"
 
 do_install_ptest() {
Signature · 1 line
2.30.2
#1 lore raw

This replaces the default value of 'lzo', it might be safer to use += so both this name and just lzo are searched for.

The CVE database isn't very reliable for consistent naming, so I prefer to cover all bases.

Ross

Quoted 28 lines · Marta Rybczynska

lzo was missing CVE_PRODUCT and related CVEs (at least CVE-2014-4607) were not reported.

---
 meta/recipes-support/lzo/lzo_2.10.bb | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-support/lzo/lzo_2.10.bb +2 -1
index 85b14b3c5c..31a229c7f5 100644
@@ -18,6 +18,8 @@ SRC_URI[sha256sum] = "c0f892943208266f9b6543b3ae308fab6284c5c90e627931446fb49b42
 
 inherit autotools ptest
 
+CVE_PRODUCT = "oberhumer:lzo2"
+
 EXTRA_OECONF = "--enable-shared"
 
 do_install_ptest() {
--

2.30.2

#2 lore raw

Thanks for looking into this. I've used the cve_check pass from
https://lists.openembedded.org/g/openembedded-core/message/154677
and just with 'lzo' there are no results. I can add both if that seems safer, fine for me. Will submit a new version.

Regards,
Marta

Quoted 42 lines · Ross Burton

This replaces the default value of 'lzo', it might be safer to use += so both this name and just lzo are searched for.

The CVE database isn't very reliable for consistent naming, so I prefer to cover all bases.

Ross

Quoted 2 lines · Marta Rybczynska

lzo was missing CVE_PRODUCT and related CVEs (at least CVE-2014-4607)

were

Review

Quoted 8 lines

not reported.

---
 meta/recipes-support/lzo/lzo_2.10.bb | 2 ++
 1 file changed, 2 insertions(+)
(quoted diff) +0 -0

b/meta/recipes-support/lzo/lzo_2.10.bb

meta/recipes-support/lzo/lzo_2.10.bb SRC_URI[sha256sum] =

Quoted 4 lines

index 85b14b3c5c..31a229c7f5 100644

meta/recipes-support/lzo/lzo_2.10.bb +0 -0
@@ -18,6 +18,8 @@ SRC_URI[sha256sum] =

"c0f892943208266f9b6543b3ae308fab6284c5c90e627931446fb49b42

Quoted 14 lines
meta/recipes-support/lzo/lzo_2.10.bb +2 -1
 inherit autotools ptest
 
+CVE_PRODUCT = "oberhumer:lzo2"
+
 EXTRA_OECONF = "--enable-shared"
 
 do_install_ptest() {
--

2.30.2