Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Latest commit

 

History

History
14 lines (9 loc) · 832 Bytes

README.md

File metadata and controls

14 lines (9 loc) · 832 Bytes

NOTE: This no longer works after MITRE deprecated the CVE dumps. Need to use NVD now which has a different set of feeds.

simple-cve-stats

Shell script to generate some basics stats based on CVE nightly dump.

This uses the 'allitems.csv.gz' updated nightly by MITRE that contains a dump of CVE data. Using simple grep / wc, do yearly stats along with a few numbers for the overall dump. If you run this daily and track the data, you can start to see fun patterns and track CVE growth.

  • The last line is commented out, but where you can mail the results out.
  • Every year you will have to add new lines for the current year, or modify this to use a slick FOR loop based on date output etc.

Reference: http://cve.mitre.org/data/downloads/allitems.csv.gz

Example usage of data generated by script