diff mbox series

[3/3] support/scripts/cve.py: start in 1999

Message ID 20240207153519.657048-3-arnout@mind.be
State Accepted
Headers show
Series [1/3] support/scripts/pkg-stats: remove checking the CPE database | expand

Commit Message

Arnout Vandecappelle Feb. 7, 2024, 3:35 p.m. UTC
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 <arnout@mind.be>
---
 support/scripts/cve.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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 = {