- Clone the repository and set up the CVE database from instructions: https://github.com/cve-search/cve-search
- Move the files from this repository to the cve-search folder
- Run the script
get_cve_ids.py
- python 3.8.5
- CSV file with two columns - Package name, Version
python3 get_cve_ids.py --initial rpm_devs.csv --output result.csv --versions
python3 get_cve_ids.py --initial rpm_devs.csv --output result.csv
To filter the found CVE IDs from the results.csv file to the matching versions in the CVE ID run the script filter_cve_ids_versions.py
.
python3 filter_cve_ids_versions.py --file results.csv --initial rpm_devs.csv --output filtered_cve.csv