Yocto Project Discussions
 help / color / mirror / Atom feed
* cve-checker name collisions
@ 2020-01-24  9:02 Anders Montonen
  2020-01-24  9:41 ` [yocto] " Mikko Rapeli
  2020-01-24 10:54 ` Ross Burton
  0 siblings, 2 replies; 5+ messages in thread
From: Anders Montonen @ 2020-01-24  9:02 UTC (permalink / raw)
  To: yocto

Hi,

What's the best way for handling name collisions when using the 
cve-checker tool? For example, there's a ton of Adobe Flex vulnerabilities 
that are reported against the Flex lexical analyzer generator tool. 
Whitelisting the individual CVEs would be one option, but the list is 
pretty long.

Regards,
Anders Montonen

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [yocto] cve-checker name collisions
  2020-01-24  9:02 cve-checker name collisions Anders Montonen
@ 2020-01-24  9:41 ` Mikko Rapeli
  2020-01-24 10:54 ` Ross Burton
  1 sibling, 0 replies; 5+ messages in thread
From: Mikko Rapeli @ 2020-01-24  9:41 UTC (permalink / raw)
  To: Anders.Montonen; +Cc: yocto

Hi,

On Fri, Jan 24, 2020 at 11:02:02AM +0200, Anders Montonen wrote:
> Hi,
> 
> What's the best way for handling name collisions when using the cve-checker
> tool? For example, there's a ton of Adobe Flex vulnerabilities that are
> reported against the Flex lexical analyzer generator tool. Whitelisting the
> individual CVEs would be one option, but the list is pretty long.

Set CVE_PRODUCT to match real NVD product name with possibly vendor too.

There are a few examples in poky master.

Cheers,

-Mikko

> Regards,
> Anders Montonen

> 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [yocto] cve-checker name collisions
  2020-01-24  9:02 cve-checker name collisions Anders Montonen
  2020-01-24  9:41 ` [yocto] " Mikko Rapeli
@ 2020-01-24 10:54 ` Ross Burton
  2020-01-27  8:16   ` Anders Montonen
  1 sibling, 1 reply; 5+ messages in thread
From: Ross Burton @ 2020-01-24 10:54 UTC (permalink / raw)
  To: Anders Montonen, yocto

On 24/01/2020 09:02, Anders Montonen wrote:
> Hi,
> 
> What's the best way for handling name collisions when using the 
> cve-checker tool? For example, there's a ton of Adobe Flex 
> vulnerabilities that are reported against the Flex lexical analyzer 
> generator tool. Whitelisting the individual CVEs would be one option, 
> but the list is pretty long.

Set CVE_PRODUCT, if you use a colon then you can set the vendor too.

This specific instance is already fixed in oe-core master:

# Not Apache Flex, or Adobe Flex, or IBM Flex.
CVE_PRODUCT = "flex_project:flex"

Ross

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [yocto] cve-checker name collisions
  2020-01-24 10:54 ` Ross Burton
@ 2020-01-27  8:16   ` Anders Montonen
  2020-01-27  9:04     ` Mikko Rapeli
  0 siblings, 1 reply; 5+ messages in thread
From: Anders Montonen @ 2020-01-27  8:16 UTC (permalink / raw)
  To: yocto

On 24 Jan 2020, at 12:54, Ross Burton <ross.burton@intel.com> wrote:
> 
> On 24/01/2020 09:02, Anders Montonen wrote:
>> Hi,
>> What's the best way for handling name collisions when using the cve-checker tool? For example, there's a ton of Adobe Flex vulnerabilities that are reported against the Flex lexical analyzer generator tool. Whitelisting the individual CVEs would be one option, but the list is pretty long.
> 
> Set CVE_PRODUCT, if you use a colon then you can set the vendor too.
> 
> This specific instance is already fixed in oe-core master:
> 
> # Not Apache Flex, or Adobe Flex, or IBM Flex.
> CVE_PRODUCT = "flex_project:flex”

Thanks (and to Mikko too), that worked, though I’m a bit curious how one would find the proper vendor name, especially for a project like this where there’s no clear company name.

Regards,
Anders


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [yocto] cve-checker name collisions
  2020-01-27  8:16   ` Anders Montonen
@ 2020-01-27  9:04     ` Mikko Rapeli
  0 siblings, 0 replies; 5+ messages in thread
From: Mikko Rapeli @ 2020-01-27  9:04 UTC (permalink / raw)
  To: Anders.Montonen; +Cc: yocto

On Mon, Jan 27, 2020 at 10:16:16AM +0200, Anders Montonen wrote:
> On 24 Jan 2020, at 12:54, Ross Burton <ross.burton@intel.com> wrote:
> > 
> > On 24/01/2020 09:02, Anders Montonen wrote:
> >> Hi,
> >> What's the best way for handling name collisions when using the cve-checker tool? For example, there's a ton of Adobe Flex vulnerabilities that are reported against the Flex lexical analyzer generator tool. Whitelisting the individual CVEs would be one option, but the list is pretty long.
> > 
> > Set CVE_PRODUCT, if you use a colon then you can set the vendor too.
> > 
> > This specific instance is already fixed in oe-core master:
> > 
> > # Not Apache Flex, or Adobe Flex, or IBM Flex.
> > CVE_PRODUCT = "flex_project:flex”
> 
> Thanks (and to Mikko too), that worked, though I’m a bit curious how one would find the proper vendor name, especially for a project like this where there’s no clear company name.

I always search for existing CVEs for the SW component and check what
project and product names were used.

For flex, Internet search shows for example
https://www.suse.com/security/cve/CVE-2019-6293/

which has "flex_project:flex" in NVD:

https://nvd.nist.gov/vuln/detail/CVE-2019-6293

In my projects I also have exported CVE_PRODUCT to buildhistory and
have a check for CVE product name. Any SW components with non-CLOSED
LICENSE must either have a matching CPE in NVD database or be checked
manually and whitelisted.

Cheers,

-Mikko

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-01-27  9:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-24  9:02 cve-checker name collisions Anders Montonen
2020-01-24  9:41 ` [yocto] " Mikko Rapeli
2020-01-24 10:54 ` Ross Burton
2020-01-27  8:16   ` Anders Montonen
2020-01-27  9:04     ` Mikko Rapeli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox