Skip to content

jakewarren/cvrf-review

Repository files navigation

cvrf-review

MIT License PRs Welcome Hosted on GitHub Pages

A command line utility for parsing vendor bulletins in CVRF format.

Currently there is only a Fortinet module that processes Fortinet's RSS feed for new advisories and allows the user to filter by CVSS score and/or product types to display vulnerabilities of interest or check whether specific product versions are affected.

Install

go install github.com/jakewarren/cvrf-review@latest

Usage

❯ cvrf-review -h
Review CVRF formmated vulnerability data

Usage:
  cvrf-review [flags]
  cvrf-review [command]

Available Commands:
  completion  Generate the autocompletion script for the specified shell
  fortinet    Get Fortinet vulnerabilities
  help        Help about any command

Flags:
      --disable-border         Disable the table border
  -h, --help                   Print usage
      --json                   Print output in JSON format
      --max-cvss-score float   Filter vulnerabilities by a maximum CVSS score (default 10)
      --min-cvss-score float   Filter vulnerabilities by a minimum CVSS score
  -s, --severity string        Filter vulnerabilities by severity (critical, high, medium, low)

Use "cvrf-review [command] --help" for more information about a command.

Examples:

Get critical Fortinet vulnerabilities:

screenshot

List vulnerabilities for a specific product version

cvrf-review fortinet affected --product FortiOS --version 6.4.10

Web Interface

A WebAssembly-based front end is available for running the CLI in a browser. The GitHub Pages workflow builds the WASM binary automatically. For local testing, copy the runtime stub and build the module, then open index.html from a static file server.

cp "$(go env GOROOT)/lib/wasm/wasm_exec.js" .
GOOS=js GOARCH=wasm go build -o main.wasm .
# Serve from the repo root so index.html can fetch main.wasm
python3 -m http.server 8000
# Open http://localhost:8000/

A hosted version is available here: https://jakewarren.github.io/cvrf-review/

Acknowledgments

Inspired by MaineK00n/vuls-data-update.

About

Parses vendor advisories in CVRF format to produce human readable summaries.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors