kumquat-buildroot/support
Gregory CLEMENT a206bbc5fe support/scripts/pkg-stats: account for unsure CVEs
The .affects() method of the CVE class in support/scripts/cve.py can
return 3 values: CVE_AFFECTS, CVE_DOESNT_AFFECT and CVE_UNKNOWN.

We of course properly account for CVEs where .affects() return
CVE_AFFECTS, but the ones for which CVE_UNKNOWN is returned are
currently ignored, and therefore treated as if they did not affect the
package.

However CVE_UNKNOWN in fact indicates that the v_start/v_end fields of
the CPE entry could not be parsed by
distutils.version.LooseVersion(). Instead of ignoring such cases, this
commit adds support for the concept of "unsure CVEs", which will be
listed next to CVEs known to affect the package, so that we are aware
of them and can investigate the version issue.

Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2022-01-09 17:31:55 +01:00
..
config-fragments support/config-fragments/autobuild: fix bootlin-riscv64 configs 2022-01-04 18:08:57 +01:00
dependencies support/dependencies: avoid spurious warning on print-vars 2021-12-04 20:09:04 +01:00
docker support/docker: Add openssh-server 2022-01-06 09:34:05 +01:00
download support/download/cargo-post-process: make manifest path configurable 2022-01-09 12:13:48 +01:00
gnuconfig support/gnuconfig: fix previous version bump 2020-09-27 18:30:05 +02:00
kconfig support/kconfig: fix compiler warnings 2021-10-06 21:11:09 +02:00
legal-info core/legal-info: update list of saved material in README 2020-01-18 18:38:42 +01:00
libtool support/libtool: add patch for newer versions 2014-12-21 13:21:56 +01:00
misc support/misc/relocate-sdk.sh: allow relocating to any directory 2022-01-06 22:27:56 +01:00
scripts support/scripts/pkg-stats: account for unsure CVEs 2022-01-09 17:31:55 +01:00
testing support/testing/tests: switch python-cryptography related tests to glibc 2022-01-09 12:13:49 +01:00