Skip to contentSkip to conversation

package/lightning: add LIGHTNING_CPE_ID_VENDOR

PATCH Applied Matthew Weber via buildroot 4 participants 9 messages Oct 18, 2021 – Oct 26, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 package/lightning: add LIGHTNING_CPE_ID_VENDOR

cpe:2.3:a:gnu:lightning:*:*:*:*:*:*:*:* is a valid CPE for this pkg

https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Agnu%3Alightning

---
 package/lightning/lightning.mk | 1 +
 1 file changed, 1 insertion(+)
package/lightning/lightning.mk +1 -0
index 38b132e082..c0036e5cd1 100644
@@ -9,6 +9,7 @@ LIGHTNING_SITE = $(BR2_GNU_MIRROR)/lightning
 LIGHTNING_LICENSE = LGPL-3.0+
 LIGHTNING_LICENSE_FILES = COPYING.LESSER
 LIGHTNING_INSTALL_STAGING = YES
+LIGHTNING_CPE_ID_VENDOR = gnu
 # We're patching include/Makefile.am
 LIGHTNING_AUTORECONF = YES
 
Signature · 6 lines
2.17.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

PATCH 2/2 package/lightning: [revert]ignore not applicable CVE-2020-7747

This reverts commit 613953f8217bf5b27489e0a939147ef7c74c3f7a.

A new CPE ID was assigned by NIST and this whitelist can be dropped as the package is setup to use the correct CPE (Not to be confused with the other lightning-* packages which show up when a free txt search is used to find the CVE.)

Cc Paul Cercueil <[email protected]>
Cc Yann E. MORIN <[email protected]>
---
 package/lightning/lightning.mk | 4 ----
 1 file changed, 4 deletions(-)
package/lightning/lightning.mk +0 -4
index c0036e5cd1..da8c07e61f 100644
@@ -13,10 +13,6 @@ LIGHTNING_CPE_ID_VENDOR = gnu
 # We're patching include/Makefile.am
 LIGHTNING_AUTORECONF = YES
 
-# CVE-2020-7747 is for the Javascript lightning-server project, and not for
-# GNU Lightning.
-LIGHTNING_IGNORE_CVES = CVE-2020-7747
-
 ifeq ($(BR2_PACKAGE_LIGHTNING_DISASSEMBLER),y)
 LIGHTNING_DEPENDENCIES += binutils zlib
 LIGHTNING_CONF_OPTS += --enable-disassembler
Signature · 6 lines
2.17.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw

Re: [Buildroot] [PATCH 2/2] package/lightning: [revert]ignore not applicable CVE-2020-7747

Matthew, All,

On 2021-10-18 16:40 -0500, Matthew Weber via buildroot spake thusly:

Quoted 10 lines

This reverts commit 613953f8217bf5b27489e0a939147ef7c74c3f7a.

A new CPE ID was assigned by NIST and this whitelist can be dropped as the package is setup to use the correct CPE (Not to be confused with the other lightning-* packages which show up when a free txt search is used to find the CVE.)

Cc Paul Cercueil <[email protected]>
Cc Yann E. MORIN <[email protected]>

With a slight reword in the title, applied to master, thanks.

Regards,
Yann E. MORIN.

Quoted 26 lines
---
 package/lightning/lightning.mk | 4 ----
 1 file changed, 4 deletions(-)
package/lightning/lightning.mk +0 -4
index c0036e5cd1..da8c07e61f 100644
@@ -13,10 +13,6 @@ LIGHTNING_CPE_ID_VENDOR = gnu
 # We're patching include/Makefile.am
 LIGHTNING_AUTORECONF = YES
 
-# CVE-2020-7747 is for the Javascript lightning-server project, and not for
-# GNU Lightning.
-LIGHTNING_IGNORE_CVES = CVE-2020-7747
-
 ifeq ($(BR2_PACKAGE_LIGHTNING_DISASSEMBLER),y)
 LIGHTNING_DEPENDENCIES += binutils zlib
 LIGHTNING_CONF_OPTS += --enable-disassembler
Signature · 6 lines
2.17.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#3 lore raw

Re: [Buildroot] [PATCH 2/2] package/lightning: [revert]ignore not applicable CVE-2020-7747

In reply to Matthew Weber via buildroot

Hi Matthew, all,

I still get the emails about CVEs in Lightning though :( I just got one a few hours ago.

-Paul

Quoted 31 lines · Matthew Weber

This reverts commit 613953f8217bf5b27489e0a939147ef7c74c3f7a.

A new CPE ID was assigned by NIST and this whitelist can be dropped as the package is setup to use the correct CPE (Not to be confused with the other lightning-* packages which show up when a free txt search is used to find the CVE.)

Cc Paul Cercueil <[email protected]>
Cc Yann E. MORIN <[email protected]>
---
 package/lightning/lightning.mk | 4 ----
 1 file changed, 4 deletions(-)
package/lightning/lightning.mk +0 -1
index c0036e5cd1..da8c07e61f 100644
@@ -13,10 +13,6 @@ LIGHTNING_CPE_ID_VENDOR = gnu
 # We're patching include/Makefile.am
 LIGHTNING_AUTORECONF = YES
 
-# CVE-2020-7747 is for the Javascript lightning-server project, and 

not for

package/lightning/lightning.mk +0 -4
-# GNU Lightning.
-LIGHTNING_IGNORE_CVES = CVE-2020-7747
-
 ifeq ($(BR2_PACKAGE_LIGHTNING_DISASSEMBLER),y)
 LIGHTNING_DEPENDENCIES += binutils zlib
 LIGHTNING_CONF_OPTS += --enable-disassembler
--
Quoted 2 lines

2.17.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#4 lore raw

Re: [Buildroot] [External] Re: [PATCH 2/2] package/lightning: [revert]ignore not applicable CVE-2020-7747

Paul,

Quoted 10 lines

From: Paul Cercueil <[email protected]>
Sent: Monday, October 25, 2021 4:06 AM
To: Weber, Matthew L Collins <[email protected]>
Cc: [email protected] <[email protected]>; Yann E . MORIN <[email protected]>
Subject: [External] Re: [PATCH 2/2] package/lightning: [revert]ignore not applicable CVE-2020-7747
Hi Matthew, all,

I still get the emails about CVEs in Lightning though :( I just got one a few hours ago.

The changes to resolve that were merged on master last week and I noticed today that Peter applied them to the long term support branch (probably after you received that email). Which branch did the email list CVE against?

Regards,
Matt
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#5 lore raw

Re: [Buildroot] [External] Re: [PATCH 2/2] package/lightning: [revert]ignore not applicable CVE-2020-7747

Hi Matthew,

Quoted 13 lines · Matthew L Collins

Paul,

Quoted 10 lines

From: Paul Cercueil <[email protected]>
Sent: Monday, October 25, 2021 4:06 AM
To: Weber, Matthew L Collins <[email protected]>
Cc: [email protected] <[email protected]>; Yann E .
MORIN <[email protected]>
Subject: [External] Re: [PATCH 2/2] package/lightning:
[revert]ignore not applicable CVE-2020-7747

Hi Matthew, all,

Quoted 7 lines
Quoted 2 lines

I still get the emails about CVEs in Lightning though :( I just got one a few hours ago.

The changes to resolve that were merged on master last week and I noticed today that Peter applied them to the long term support branch (probably after you received that email). Which branch did the email list CVE against?

Regards,
Matt

I get those emails for the 2021.02.x and 2021.08.x branches.

Cheers,
-Paul

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#6 lore raw

Re: [Buildroot] [External] Re: [PATCH 2/2] package/lightning: [revert]ignore not applicable CVE-2020-7747

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Paul" == Paul Cercueil <[email protected]> writes:

Hi,

Quoted 9 lines
Quoted 7 lines
Quoted 2 lines

I still get the emails about CVEs in Lightning though :( I just got one a few hours ago.

The changes to resolve that were merged on master last week and I noticed today that Peter applied them to the long term support branch (probably after you received that email). Which branch did the email list CVE against?

I get those emails for the 2021.02.x and 2021.08.x branches.

You shouldn't get them any more. Please let me know if you do.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#7 lore raw
In reply to Matthew Weber via buildroot

Matthew, All,

On 2021-10-18 16:40 -0500, Matthew Weber via buildroot spake thusly:

Quoted 5 lines

cpe:2.3:a:gnu:lightning:*:*:*:*:*:*:*:* is a valid CPE for this pkg

https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Agnu%3Alightning

Applied to master, thanks.

Regards,
Yann E. MORIN.

Quoted 23 lines
---
 package/lightning/lightning.mk | 1 +
 1 file changed, 1 insertion(+)
package/lightning/lightning.mk +1 -0
index 38b132e082..c0036e5cd1 100644
@@ -9,6 +9,7 @@ LIGHTNING_SITE = $(BR2_GNU_MIRROR)/lightning
 LIGHTNING_LICENSE = LGPL-3.0+
 LIGHTNING_LICENSE_FILES = COPYING.LESSER
 LIGHTNING_INSTALL_STAGING = YES
+LIGHTNING_CPE_ID_VENDOR = gnu
 # We're patching include/Makefile.am
 LIGHTNING_AUTORECONF = YES
 
Signature · 6 lines
2.17.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#8 lore raw
In reply to Matthew Weber via buildroot
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Matthew" == Matthew Weber via buildroot <[email protected]> writes:

cpe:2.3:a:gnu:lightning:*:*:*:*:*:*:*:* is a valid CPE for this pkg
https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Agnu%3Alightning

Committed to 2021.02.x and 2021.08.x, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot