[Buildroot] [RFC v9 07/10] support/scripts/cpedb.py: new CPE XML helper

Thomas Petazzoni thomas.petazzoni at bootlin.com
Thu Jun 25 11:14:24 UTC 2020


On Tue, 16 Jun 2020 12:03:38 -0500
Matt Weber <matthew.weber at rockwellcollins.com> wrote:

> Python class which consumes a NIST CPE XML and provides helper
> functions to access and search the db's data.
>  - Defines the CPE as a object with operations / formats
>  - Processing of CPE dictionary
> Signed-off-by: Matthew Weber <matthew.weber at rockwellcollins.com>

The pkg-stats script now has some logic to use the NVD database in JSON
format. I guess it doesn't make much sense to duplicate this logic and
use the XML variant of the same database. I believe Grégory has already
worked on moving this pkg-stats NVD/CVE logic into a separate library
so that it can be used elsewhere.

Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering

More information about the buildroot mailing list