Comprehensive CVE Analysis & Visualization Platform
CVEDB is an automated platform that provides comprehensive analysis and visualization of Common Vulnerabilities and Exposures (CVE) data. Built with Python and deployed via GitHub Actions, it delivers fresh insights into the cybersecurity landscape through interactive web visualizations.
π Live Site: https://cvedb.github.io
- Multi-Year Data - Analyzes CVE data from 1999 to present (~303,000+ CVEs)
- CVSS Scoring - Severity analysis across CVSS v2, v3.0, v3.1, and v4.0
- CWE Classification - Common Weakness Enumeration categorization
- CPE Analysis - Vendor and product vulnerability insights
- CNA Tracking - CVE Numbering Authority statistics and activity
- CVSS Analysis - Severity-based scoring distribution and trends
- EPSS Integration - Exploit Prediction Scoring System (probability of exploitation)
- KEV Dashboard - CISA Known Exploited Vulnerabilities catalog
- Risk Matrix - Interactive CVSS Γ EPSS visualization for risk prioritization
- Yearly Trends - CVE publication patterns over time
- Calendar Heatmaps - Daily and monthly vulnerability disclosure patterns
- Growth Metrics - Year-over-year vulnerability growth analysis
- Vendor Rankings - Top affected vendors and products
- GitHub Actions CI/CD - Automated builds every 6 hours
- Fresh Data - Always up-to-date with latest NVD releases
- GitHub Pages Deployment - Automatic web deployment
- 39 Automated Tests - Comprehensive test coverage
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Data Sources β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β NVD API β CVE V5 Repo β EPSS API β CISA KEV β
ββββββββββ¬ββββββββ΄βββββββββ¬βββββββββ΄ββββββββ¬βββββββ΄βββββββββ¬βββββββββββ
β β β β
βΌ βΌ βΌ βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Download & Cache Layer β
β (download_cve_data.py) β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Analysis Layer β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β yearly β cna β cvss β cwe β cpe β scoring β
β analysis β analysis β analysis β analysis β analysis β analysis β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Build Layer β
β (build.py) β
β Template Rendering β JSON Generation β Data Validation β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Output (web/) β
β HTML Pages β JSON Data β Static Assets β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
- Python 3.11+
- Git
# Clone the repository
git clone https://github.com/cvedb/cvedb.github.io.git
cd cvedb.github.io
# Install dependencies
pip install -r requirements.txt
# Run the build
python build.py# Standard build (verbose output)
python build.py
# Quiet mode for CI/CD
python build.py --quiet
# Validate data consistency after build
python build.py --validate
# Environment variable for quiet mode
CVE_BUILD_QUIET=1 python build.pycd web
python -m http.server 8000
# Open http://localhost:8000cvedb.github.io/
βββ build.py # Main build orchestrator
βββ requirements.txt # Python dependencies
βββ data/
β βββ cache/ # Downloaded data (gitignored)
β β βββ nvd.jsonl # NVD vulnerability data
β β βββ cvelistV5/ # CVE V5 Git repository
β β βββ *.json # EPSS, KEV, CNA data
β βββ *_analysis.py # Analysis modules
β βββ download_cve_data.py # Data downloader
β βββ cve_v5_processor.py # CVE V5 processor
β βββ scripts/ # Utility scripts
βββ docs/
β βββ ARCHITECTURE.md # System architecture
β βββ SCHEMAS.md # JSON output schemas
β βββ COUNTING.md # CVE counting methodology
β βββ ROADMAP.md # Development roadmap
βββ templates/ # Jinja2 HTML templates
βββ tests/ # pytest test suite
βββ web/ # Generated output
βββ *.html # HTML pages
βββ data/ # JSON data files
βββ static/ # CSS, JS, images
| Source | Description | Update Frequency |
|---|---|---|
| NVD | National Vulnerability Database | Daily |
| CVE List V5 | Official CVE records | Real-time |
| EPSS | Exploit Prediction Scoring | Daily |
| CISA KEV | Known Exploited Vulnerabilities | As needed |
# Run all tests
pytest tests/ -v
# Run with coverage
pytest tests/ --cov=data --cov-report=html
# Validate data consistency
python build.py --validate| File | Description |
|---|---|
cve_YYYY.json |
Per-year CVE data |
cve_all.json |
Aggregated CVE summary |
yearly_summary.json |
Year-over-year statistics |
cna_analysis.json |
CNA assignment statistics |
cvss_analysis.json |
CVSS score distributions |
cwe_analysis.json |
CWE classification data |
cpe_analysis.json |
Vendor/product analysis |
calendar_analysis.json |
Publication timing patterns |
growth_analysis.json |
CVE growth trends |
scoring_analysis.json |
EPSS and KEV data |
| Page | Description |
|---|---|
index.html |
Dashboard overview |
years.html |
Year-by-year analysis |
cna.html |
CNA statistics |
cvss.html |
CVSS scoring analysis |
cwe.html |
CWE classification |
cpe.html |
Vendor/product analysis |
calendar.html |
Publication calendar |
growth.html |
Growth trends |
scoring.html |
EPSS/KEV/Risk Matrix |
The project uses GitHub Actions for automation:
- Scheduled Builds: Every 6 hours (0:00, 6:00, 12:00, 18:00 UTC)
- On Push: Builds triggered on commits to main branch
- Deployment: Automatic deployment to GitHub Pages
- Architecture Guide - System design and data flow
- JSON Schemas - Output file format specifications
- Development Roadmap - Project history and future plans
- Counting Methodology - How CVEs are counted
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Run tests (
pytest tests/ -v) - Commit changes (
git commit -m 'Add amazing feature') - Push to branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- NIST NVD for vulnerability data
- CVE Program for CVE identifiers
- FIRST.org for EPSS scoring
- CISA for KEV catalog
- Chart.js for visualizations
Built by KhulnaSoft at CVEDB