From 6b2d0b466cf79e25d95a06213b803c1554aec2aa Mon Sep 17 00:00:00 2001 From: Arnout Vandecappelle Date: Wed, 7 Feb 2024 16:35:19 +0100 Subject: [PATCH] support/scripts/cve.py: start in 1999 When the CVE lookup was added in commit 4a157be9efac8ba8888e4972f42eda213077152c, the starting year of the JSON files was set to 2002. However, there are also CVEs from 1999, 2000 and 2001. It is not clear why these were skipped back then. Set the start year to 1999 to capture these old CVEs too. Signed-off-by: Arnout Vandecappelle Signed-off-by: Thomas Petazzoni --- support/scripts/cve.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support/scripts/cve.py b/support/scripts/cve.py index 46c384955c..f12a8048cd 100755 --- a/support/scripts/cve.py +++ b/support/scripts/cve.py @@ -40,7 +40,7 @@ except ImportError: sys.path.append('utils/') -NVD_START_YEAR = 2002 +NVD_START_YEAR = 1999 NVD_BASE_URL = "https://github.com/fkie-cad/nvd-json-data-feeds/releases/latest/download" ops = {