Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Arnout Vandecappelle via buildroot <buildroot@buildroot.org>
Subject: Re: [Buildroot] [PATCH 1/3] support/scripts/pkg-stats: remove checking the CPE database
Date: Wed, 7 Feb 2024 17:41:53 +0100	[thread overview]
Message-ID: <20240207174153.2023e1a6@windsurf> (raw)
In-Reply-To: <20240207153519.657048-1-arnout@mind.be>

On Wed,  7 Feb 2024 16:35:17 +0100
Arnout Vandecappelle via buildroot <buildroot@buildroot.org> wrote:

> We currently check the CPE database to see if the CPE ID we use
> (including the version) is already in the database.
> 
> However, the version part of the CPE ID is not actually used for CVE
> matching. Instead, the CVEs have a range of versions associated with
> them and we match against those ranges.
> 
> In addition, NVD is moving to a new API for accessing the CPE database.
> It will not longer be possible to simply download all the CPE IDs, and
> due to rate limiting, the download will have to be done in several
> queries.
> 
> Since all of this is anyway of limited use, drop the CPE database lookup
> entirely. Instead, as long as a CPE ID is defined in a package, it is
> considered OK, without any checks.
> 
> Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
> ---
>  support/scripts/pkg-stats | 50 ++-------------------------------------
>  1 file changed, 2 insertions(+), 48 deletions(-)

Series applied, thanks! There were only a few flake8 warnings on PATCH
1/3 due to Python imports that were no longer needed.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

      parent reply	other threads:[~2024-02-07 16:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-07 15:35 [Buildroot] [PATCH 1/3] support/scripts/pkg-stats: remove checking the CPE database Arnout Vandecappelle via buildroot
2024-02-07 15:35 ` [Buildroot] [PATCH 2/3] support/scripts/cve.py: switch from NVD to FKIE for the JSON files Arnout Vandecappelle via buildroot
2024-02-07 15:35 ` [Buildroot] [PATCH 3/3] support/scripts/cve.py: start in 1999 Arnout Vandecappelle via buildroot
2024-02-07 16:41 ` Thomas Petazzoni via buildroot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240207174153.2023e1a6@windsurf \
    --to=buildroot@buildroot.org \
    --cc=thomas.petazzoni@bootlin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox