# cve-checker VyOS security vulnerability checker is a utility for obtaining information about possible vulnerabilities # Modules that require an API key: vulners - (To get the API key, you need to register on the website https://vulners.com/ and generate new key here https://vulners.com/userinfo) # Install and dependencies: - Python 3.7+ - MongoDB 4.2+ # Usage:
[command][option1][option2]
--help
--init-db - The command is required when you first run the utility
--update-vulners-db - [date1, date2] - get updates of vulnerabilities database from date1 to date2 (only for trial, professional, etc. Vulners.com accounts)
--update-db - get updates of vulnerabilities database (Upgrade based on free databases)
--update-info - get information about the number of new CVEs, missing in the database. Checking is carried out on the basis of MitreCVE db.
--start [name of file with packages information, (This is the output of the command: apt list --installed) Code name of Debian version on which VyOS is based (for example: Stretch, Buster)]
For example:
cve.checker.py --help
cve.checker.py --init-db
cve.checker.py --update-vulners-db 01.01.2020 30.09.2020
cve.checker.py --update-db
cve.checker.py --update-info
cve.checker.py --start /tmp/packages.txt Buster