Skip to content

Instantly share code, notes, and snippets.

@scovetta
Created May 20, 2021 20:19
Show Gist options
  • Save scovetta/ec57a2392388b2bbe5b54e56ce2a69d2 to your computer and use it in GitHub Desktop.
Save scovetta/ec57a2392388b2bbe5b54e56ce2a69d2 to your computer and use it in GitHub Desktop.
# Download JSON files for CVEs from https://nvd.nist.gov/vuln/data-feeds
# Extract JSON
# Fire up WSL or a Linux terminal. Make sure you have jq installed.
# Run this, send to a CSV file and then open/sort/whatever in Excel.
cat nvdcve-1.1-2021.json | jq '.CVE_Items[].cve | .CVE_data_meta.ID + ", " + .problemtype.problemtype_data[].description[].value' | cut -d\" -f2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment