slackbuilds_ponce/system/cve-check-tool
Heinz Wiesinger 63daf9f79a All: Support $PRINT_PACKAGE_NAME env var
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
2021-07-17 21:55:09 +02:00
..
cve-check-tool.info
cve-check-tool.SlackBuild All: Support $PRINT_PACKAGE_NAME env var 2021-07-17 21:55:09 +02:00
README
slack-desc
update-fmt.diff

cve-check-tool is a tool for checking known (public) CVEs. The tool will
identify potentially vunlnerable software packages within Linux
distributions through version matching.

CVEs are only ever potential - due to the various policies of various
distributions, and indeed semantics in versioning within various
projects, it is expected that the tool may generate false positives.

The tool is designed to integrate with a locally cached copy of the
National Vulnerability Database. cve-check-tool downloads the NVD in its
entirety, from 2002 until the current moment. The decompressed XML
database is in excess of 550MB, so this should be taken into account
before running the tool.

Make package list from package database:
    ( cd /var/log/packages/ ; ls | rev | cut -d- -f3- | \
    sed -e s/-/,/ -e s/^/,,/ | rev > /var/log/pkgs.csv )

Check packages via CVEs database:
    cve-check-tool -uNc /var/log/pkgs.csv